{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"EntityKt.getIcon (cyclomatic 169): EntityKt.getIcon has cyclomatic complexity 169 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt holds 4 of the 39 methods over the threshold \u2014 including the worst \u2014 and 252 of the 709 points over it (36%), 2.1\u00D7 the next-largest file (app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt at 119). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c5ddd0fde673c67bc0f4157e16a77cff49ab72b2dd3d29bf44fc7997bcd5b"}},{"ruleId":"D1","level":"warning","message":{"text":"FriendlyStateKt.stateResource (cyclomatic 104): FriendlyStateKt.stateResource has cyclomatic complexity 104 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/FriendlyState.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b78ba6e3af66f76a69c18b82045afc71c96e33ec24c2f4ccb35d5de7586d099"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingManager.handleMessage (cyclomatic 72): MessagingManager.handleMessage has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314091d22ce766eaa234a7759f9e3115d39b74f09990be021e97b7938170383"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityKt.sensorIcon (cyclomatic 63): EntityKt.sensorIcon has cyclomatic complexity 63 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt holds 4 of the 39 methods over the threshold \u2014 including the worst \u2014 and 252 of the 709 points over it (36%), 2.1\u00D7 the next-largest file (app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt at 119). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff122d47f650ad672e0bb94d3abc8bc27309eb95d58e71c992d1185cecce545"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingManager.handleDeviceCommands (cyclomatic 56): MessagingManager.handleDeviceCommands has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bff9551537f45c7e3143b43ce0e77a4333417e74f7b2351f793a1683b2d19f"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityKt.binarySensorIcon (cyclomatic 51): EntityKt.binarySensorIcon has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt holds 4 of the 39 methods over the threshold \u2014 including the worst \u2014 and 252 of the 709 points over it (36%), 2.1\u00D7 the next-largest file (app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt at 119). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b9c553aa168281cb0be6366d8d89675f22ea07ec3a33013c1c92c269d6a28"}},{"ruleId":"D1","level":"warning","message":{"text":"Migration16to17.migrate (cyclomatic 49): Migration16to17.migrate has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"192f8f16ac36c87576ee866da12e3fa12e6494903a29c43cdbd8933f6331afb3"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorUpdater.syncSensorsWithServer (cyclomatic 42): SensorUpdater.syncSensorsWithServer has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c64ba7c06402bac8f3d4c3103cbb823e1bfe2cb230423d3b815695e1c34f090"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorDetailViewKt.SensorDetailView (cyclomatic 37): SensorDetailViewKt.SensorDetailView has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"831973cc765ba5132a71df6fe3e7aab43e97bca97f614a91d07dbc3a60de948c"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaPlayerControlsWidget.getWidgetRemoteViews (cyclomatic 36): MediaPlayerControlsWidget.getWidgetRemoteViews has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f319140a069d339c0a988d14290212626ad2f321ef66f88e56ce8452a4a5afd"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageShortcutsViewKt.CreateShortcutView (cyclomatic 32): ManageShortcutsViewKt.CreateShortcutView has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c232db27e78e5b95b260ed57dc71395a4d639124c91b219e03556bd657bc613"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingManager.addExtrasToIntent (cyclomatic 30): MessagingManager.addExtrasToIntent has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73758c6c5278e7942962d19660f22089e86724b256b6c982f47d5cb4a2a8c53"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityKt.coverIcon (cyclomatic 29): EntityKt.coverIcon has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt holds 4 of the 39 methods over the threshold \u2014 including the worst \u2014 and 252 of the 709 points over it (36%), 2.1\u00D7 the next-largest file (app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt at 119). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3df1d5145d7df7554c6b5fc608b1d0c26056a96796680367f61bec17a4e97a3"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketCoreImpl.handleEvent (cyclomatic 29): WebSocketCoreImpl.handleEvent has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f361517c06ae973c10e65348504415f9eeb49fd7bd2207f5166eb56f40a97"}},{"ruleId":"D1","level":"warning","message":{"text":"FrontendMessageHandler.handleMessage (cyclomatic 28): FrontendMessageHandler.handleMessage has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/handler/FrontendMessageHandler.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35642c68c98c5e6c2c5e10b2b4bb86ca761e9ae17ab5d7f0cdc2699f7b26334"}},{"ruleId":"D1","level":"warning","message":{"text":"HealthConnectSensorManager.requestSensorUpdate (cyclomatic 27): HealthConnectSensorManager.requestSensorUpdate has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acc6593bb833c17ef9ca62b2067802da78f9ffe541adf2122f1b321fdf6d7b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadManagerImpl.fullSyncPreferredDataset (cyclomatic 26): ThreadManagerImpl.fullSyncPreferredDataset has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a981d899b8ca68b1b75d74ffda68b69718fa008e93b65a184db1d5eeb5a7bdb"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationSensorManager.shouldEnableHighAccuracyMode (cyclomatic 24): LocationSensorManager.shouldEnableHighAccuracyMode has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044ba810ed034db4c6f63e456287ed5ca4f7602bab5491dc57afd769519d84d"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceCommandsKt.commandBleTransmitter (cyclomatic 23): DeviceCommandsKt.commandBleTransmitter has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"228e4a95d6b2a073081f1b7b0fc5e7ca75a177586ffcbbaa59f3eefa2d27d42a"}},{"ruleId":"D1","level":"warning","message":{"text":"MainViewKt.MainView (cyclomatic 23): MainViewKt.MainView has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d125131968a129f146d9bece07baa6c89cb109974900b094cb550edafcb8d"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsFragment.onCreatePreferences (cyclomatic 22): SettingsFragment.onCreatePreferences has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbac96d859df875e7757f27da0612fbaa676ee700399b4ff22d1243535b64064"}},{"ruleId":"D1","level":"warning","message":{"text":"WearToggleChip.entityToggleChipBackgroundColors (cyclomatic 21): WearToggleChip.entityToggleChipBackgroundColors has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b2b85a3e5c3adf1c8aeb635ba59541f7ddaaf045fb764a32d3ea09233c1b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"IntegrationRepositoryImpl.registerSensor (cyclomatic 20): IntegrationRepositoryImpl.registerSensor has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc14b8fb749fe13a74bc2566f019eaf2f436a98a258bec144c411302b6a8da4f"}},{"ruleId":"D1","level":"warning","message":{"text":"WearToggleChipColors.equals (cyclomatic 20): WearToggleChipColors.equals has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8309f17e9e9318b1b628418193d41847f12930d5a97647db2d6e55a9b68dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"OnSwipeListener.onTouch (cyclomatic 19): OnSwipeListener.onTouch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/OnSwipeListener.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eedcfe141a89228ffece27c1b464a849b9d27798a02bc384b7090686d011d3"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorManager.onSensorUpdated (cyclomatic 19): SensorManager.onSensorUpdated has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbceb0f464a9d70ddd60a5528c54003de8272279fa7410bdadb08fc524605a9"}},{"ruleId":"D1","level":"warning","message":{"text":"HealthServicesSensorManager.updateHealthServices (cyclomatic 19): HealthServicesSensorManager.updateHealthServices has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: HealthServicesSensorManager.getActivityIcon (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2d9be06acb44b105a6a4fff757f3d524bb958103af1cb92b45c936e6a32735"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingManager.createOpenUriPendingIntent (cyclomatic 18): MessagingManager.createOpenUriPendingIntent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb187a49e8abf52fe62e1b2625b794b0b6ebdc93e7d76ac11c94674d0854c161"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingManager.notifyMissingPermission (cyclomatic 18): MessagingManager.notifyMissingPermission has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e26eda1f8b93921a1b5a276d19b6f9af2cbce09c654c019adaa1d02408603f"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsActivity.onCreate (cyclomatic 18): SettingsActivity.onCreate has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"663639b6e455cc61b20e5cdb8df15b4d8ff92fd535abf9ff7c1cb5257b3b1dac"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationTrackingViewKt.LocationTrackingHistoryRow (cyclomatic 18): LocationTrackingViewKt.LocationTrackingHistoryRow has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a5e2ccb8728d6bf901bcf7e1a512c07abbeb50fade20af504fb58267ef883d"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetDynamicFieldAdapter.onBindViewHolder (cyclomatic 18): WidgetDynamicFieldAdapter.onBindViewHolder has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c298f4ce118803dc6cde531c9e6f7358463c5e43bcec11a8d930663096cdbf"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationSensorManager.refreshLocationTrackingSetup (cyclomatic 17): LocationSensorManager.refreshLocationTrackingSetup has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af15506626c08117b881ddf3d013c7af49b1706f95b4755cf7fbc8619b80184"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationSensorManager.handleGeoUpdate (cyclomatic 17): LocationSensorManager.handleGeoUpdate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc054e0dfe151e654c5743d38e789e3fdb7dc20c70d805660685ef81a137ea4b"}},{"ruleId":"D1","level":"warning","message":{"text":"LocationSensorManager.sendLocationUpdate (cyclomatic 16): LocationSensorManager.sendLocationUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"477e4a6462db7fb82d280f384307c11fb1d232f3e04ea7d981e143ae8d3db82d"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistViewModel.runAssistPipeline (cyclomatic 16): AssistViewModel.runAssistPipeline has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bae5e0622a10dbf9f1e4402f5973630e748fe612c14bdcfd7d6d147afd6856"}},{"ruleId":"D1","level":"warning","message":{"text":"CarSensorManager.setListener (cyclomatic 16): CarSensorManager.setListener has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5742a091b8164c78d68f96ff0989dcba045d7f6560d223c8f1a4421d434df0"}},{"ruleId":"D1","level":"warning","message":{"text":"SensorDetailFragment.onViewCreated (cyclomatic 16): SensorDetailFragment.onViewCreated has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailFragment.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89c65e0afae5c5c9419b3b8bc1a579f5dc57ab008ca8623ccb9ebed9c59e1ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ThermostatTile.onTileRequest (cyclomatic 16): ThermostatTile.onTileRequest has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26f5894e0debdcbf10e56c4f382a31f8f1862dd9d3d255d6918ed3e4f2b424"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityKt.getIcon (cognitive 116): EntityKt.getIcon has cognitive complexity 116 (threshold 15). Drivers by points: if/else 43 (76 pts), match/switch 12 (40 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cdc43fda753fabcfc766c0d55194c59d7647725afd7247648c7c8ccd5451b1"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.handleMessage (cognitive 101): MessagingManager.handleMessage has cognitive complexity 101 (threshold 15). Drivers by points: if/else 38 (71 pts), boolean chains 21, match/switch 3 (6 pts), error handling 1 (3 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec99fa93473ac03239183d3ea636b09ef4e0801437b28d3b9e336abf06dd5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendlyStateKt.stateResource (cognitive 84): FriendlyStateKt.stateResource has cognitive complexity 84 (threshold 15). Drivers by points: if/else 41 (79 pts), match/switch 3 (5 pts) (nesting depth added 40). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/FriendlyState.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fa58a82d7de6a60767646b5e70be2f87a310f0519b4f1de506e3bed3fe1f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.handleDeviceCommands (cognitive 73): MessagingManager.handleDeviceCommands has cognitive complexity 73 (threshold 15). Drivers by points: if/else 35 (54 pts), match/switch 6 (14 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"772a15da3e8a04ebb3b544f413b0c0225a1735789e2a559bc775041be42fa1a2"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPlayerControlsWidget.getWidgetRemoteViews (cognitive 73): MediaPlayerControlsWidget.getWidgetRemoteViews has cognitive complexity 73 (threshold 15). Drivers by points: if/else 30 (49 pts), boolean chains 11, error handling 4 (10 pts), match/switch 1 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4c00c0f05a67cd971eeb8bd9a14ac47316d5e6bee607bf7553c8abf664bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadManagerImpl.fullSyncPreferredDataset (cognitive 71): ThreadManagerImpl.fullSyncPreferredDataset has cognitive complexity 71 (threshold 15). Drivers by points: error handling 10 (36 pts), if/else 17 (30 pts), boolean chains 5 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08cb9c43f0236574634016cf5bb9c1ce8d921ed919b849f7ebb5d0c56c99f3"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityKt.binarySensorIcon (cognitive 71): EntityKt.binarySensorIcon has cognitive complexity 71 (threshold 15). Drivers by points: if/else 47 (70 pts), match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4247da2e6111965bc6515c4be2a9e7cd9b0f1f1ffbffb3eced8e8e57610a9293"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorUpdater.syncSensorsWithServer (cognitive 64): SensorUpdater.syncSensorsWithServer has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 18, error handling 10 (18 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f2bde51d9d7a7f1d402cb2d64a8f251dc33bde7150544d0c270cc47e7a2161"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageShortcutsViewKt.CreateShortcutView (cognitive 61): ManageShortcutsViewKt.CreateShortcutView has cognitive complexity 61 (threshold 15). Drivers by points: if/else 31 (41 pts), loops 3 (8 pts), boolean chains 7, match/switch 1 (5 pts) (nesting depth added 19). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a08ae018d2df290974df42964bf8206efde7043bfa37a4de7348a5cba360154"}},{"ruleId":"D2","level":"warning","message":{"text":"MainViewKt.MainView (cognitive 53): MainViewKt.MainView has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 2 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f7411661b2e5afa2e2fa24c8d59a98b65db853c48ac63500c59cc4f6600077"}},{"ruleId":"D2","level":"warning","message":{"text":"Migration16to17.migrate (cognitive 48): Migration16to17.migrate has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 23, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"640392e4acdb3bf66d61eb2fb7e79ca7b0fa7e02d2349b95658193e9d6c0e3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailViewKt.SensorDetailView (cognitive 42): SensorDetailViewKt.SensorDetailView has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 4 (11 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15df48008d5bda1a09ed2cce3be859f74d9d5511b80bc382003f97ecbfe5dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketCoreImpl.handleEvent (cognitive 37): WebSocketCoreImpl.handleEvent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (29 pts), match/switch 2 (5 pts), error handling 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d36cf4c078bd3470290dd00152e5bd66518fd747b9302cbdfecdffd2a5ed5d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ThermostatTile.onTileRequest (cognitive 37): ThermostatTile.onTileRequest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (27 pts), error handling 2 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf57eb7dd7c4a3b9604d096ecdd0dcace2ad30dd75eb644bd019cd79477cf99"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationManagerExtensionsKt.cancelNotificationGroupIfNeeded (cognitive 36): NotificationManagerExtensionsKt.cancelNotificationGroupIfNeeded has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/util/NotificationManagerExtensions.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c06d490901b0c79807f208f04ba385d5528b6c32e3c61dbbd64426dda2864a"}},{"ruleId":"D2","level":"warning","message":{"text":"WearToggleChip.entityToggleChipBackgroundColors (cognitive 35): WearToggleChip.entityToggleChipBackgroundColors has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (24 pts), match/switch 4 (8 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacc21ff10c9f10880c7cf8e1acc24b9bd30db14e7953b828c35727567dde1bc"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationSensorManager.shouldEnableHighAccuracyMode (cognitive 34): LocationSensorManager.shouldEnableHighAccuracyMode has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 10, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8aef05fac0b66472d91889ce9945cdfc8f0bdcf9a006c2849ab43e405f79b"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsFragment.onCreatePreferences (cognitive 33): SettingsFragment.onCreatePreferences has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, error handling 1 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514c1d2f0f4e2c7653cc989a13c68c9a27ece3cd7471753153fcd01710e0bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationSensorManager.setupBackgroundLocation (cognitive 32): LocationSensorManager.setupBackgroundLocation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 5 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bdcef7a1ea35bbab6817e5fdc30078a05a11595ca597a39489b7437d61eb07"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationSensorManager.handleGeoUpdate (cognitive 31): LocationSensorManager.handleGeoUpdate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (23 pts), error handling 1 (3 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6dbdfcaf0b3d302cbaf83bd5abc99bc0536cfe56b46744b3b6ab1b493da790"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationRepositoryImpl.registerSensor (cognitive 31): IntegrationRepositoryImpl.registerSensor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c321dddade301dcee88696baf7188ad0cc9f9f800e76fae780d356d6dc7833c"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetDynamicFieldAdapter.onBindViewHolder (cognitive 30): WidgetDynamicFieldAdapter.onBindViewHolder has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"77912404b0f41f5e9a0bd2497b095391c97a52416d211f63b010b3507a5530b9"}},{"ruleId":"D2","level":"warning","message":{"text":"TileExtensions.setTileData (cognitive 29): TileExtensions.setTileData has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 2 (4 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dfbbb9d70af91f6d86916636b4b019623b659711abd4ac7297e6b3bfeb4088"}},{"ruleId":"D2","level":"warning","message":{"text":"OnSwipeListener.onTouch (cognitive 29): OnSwipeListener.onTouch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/OnSwipeListener.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab79486bbd86a279fdc5a7e1bf287c0a46a9b5aad61c175760ab5f41dbb5609"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorReceiverBase.onReceive (cognitive 28): SensorReceiverBase.onReceive has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9770b097f16ef5483d32ba71dc15991aa7743dfe31c5a7f263be694ad4dd1fcb"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationSensorManager.sendLocationUpdate (cognitive 27): LocationSensorManager.sendLocationUpdate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42bcb5309207053eee158d2f33543e277790d721654496ae2170914e51e7e6"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityGridVehicleScreen.createEntityGrid (cognitive 27): EntityGridVehicleScreen.createEntityGrid has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 2 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcf9329384409aa76c286802a8993786bf7fd7e88eec70fdbd1532f69fb6538"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationViewModel.onCreate (cognitive 27): ConversationViewModel.onCreate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 4 (12 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac9672536d18e0c60791d9ae55e5b17fdd5a7b9da439446ab7be9d1ab1020d0"}},{"ruleId":"D2","level":"warning","message":{"text":"HealthConnectSensorManager.requestSensorUpdate (cognitive 26): HealthConnectSensorManager.requestSensorUpdate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 26. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aacf8812a5aab86e94b2188d011c6a4505d2c128120469634cd09838053e89"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageControlsViewKt.ManageControlsView (cognitive 26): ManageControlsViewKt.ManageControlsView has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/controls/views/ManageControlsView.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"191088b0927795c5c8d0127cd77bc3edd76f0ed65de823338cda1da8e6c6b3a9"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailViewKt.SensorDetailTopPanel (cognitive 26): SensorDetailViewKt.SensorDetailTopPanel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f70d551d47d4c5949ee0cd38860b1dc2ae4c6449d5a181c32773f2de34c45a9"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraWidget.getWidgetRemoteViews (cognitive 26): CameraWidget.getWidgetRemoteViews has cognitive complexity 26 (threshold 15). Drivers by points: error handling 4 (12 pts), if/else 9 (12 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"496901e050297276000a0fa74c963d3552bb6b23db30e8b9473e2a2ba0f747a3"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityKt.coverIcon (cognitive 26): EntityKt.coverIcon has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 7 (13 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f73ec0c3953b30a9f84f7ca4c86690f37405754d5ac06d79b5c68704b84c0"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.createOpenUriPendingIntent (cognitive 25): MessagingManager.createOpenUriPendingIntent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, error handling 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a2da4cee3541aa649ea518b3435f6bcb61e61a86ee30100b36f989db04ac29"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationTrackingViewKt.LocationTrackingHistoryRow (cognitive 24): LocationTrackingViewKt.LocationTrackingHistoryRow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, boolean chains 4, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb7b7a94ffe2b3d391f3796d3c5d1a20e89a128178c6a67ca1d4c06e9ec0e17"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityKt.sensorIcon (cognitive 23): EntityKt.sensorIcon has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3 (10 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6fa58fff707797db088a5033ca19d6f46c7bb2bd612b57ace852af2888b0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TileExtensions.tileClicked (cognitive 22): TileExtensions.tileClicked has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1931e870bddd8e4d9876c57a29a9a4e988cc5febae2e1b0ab0989e021e972f"}},{"ruleId":"D2","level":"warning","message":{"text":"CarSensorManager.setListener (cognitive 22): CarSensorManager.setListener has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d1f2e69565688a48890647e230bb7dc39d8f9d81f13a239e52d1d08600c3e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ButtonWidget.callConfiguredAction (cognitive 22): ButtonWidget.callConfiguredAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39d933e5061d0403e641caf2c8256ef650d73b6b295c8f6697df7f824e24f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationViewModel.setPipeline (cognitive 22): ConversationViewModel.setPipeline has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (8 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072bc83d3e7d3ce9b8c47b21f2c93a7646be0359acb2f2a3bd44b6a727598e5"}},{"ruleId":"D2","level":"warning","message":{"text":"WebsocketManager.collectNotifications (cognitive 21): WebsocketManager.collectNotifications has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/websocket/WebsocketManager.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7682b0825db5171d71da6c3d279a5085a1e4d49c0c9907274c32573bd855c642"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.handleActions (cognitive 20): MessagingManager.handleActions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a9db921a8301a11dc6641cc647045ec6be8e48d129ff2eb74a901d8ed61f71"}},{"ruleId":"D2","level":"warning","message":{"text":"CarSensorManager.requestSensorUpdate (cognitive 20): CarSensorManager.requestSensorUpdate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7703b769938dbe8276ef9c42ce71e54f922e73bbbe63e0e325f79ee736f6f6"}},{"ruleId":"D2","level":"warning","message":{"text":"ButtonWidgetConfigureActivity.onCreate (cognitive 20): ButtonWidgetConfigureActivity.onCreate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fac2201969cb269c2e18fa922fbda483af6e1ca43129e8c8ff5128f846ba4ca"}},{"ruleId":"D2","level":"warning","message":{"text":"IBeaconMonitor.setBeacons (cognitive 20): IBeaconMonitor.setBeacons has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/ble/IBeaconMonitor.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18d80d0dfa0e3eef98421351865b9b3a18e8cda1527a49fad313d467b105be5"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailViewModel.setEnabled (cognitive 19): SensorDetailViewModel.setEnabled has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailViewModel.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed63554f715056355d51f821e5d98a9d9037d24277aedc6678c1811c23e7b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraWidgetConfigureActivity.onCreate (cognitive 19): CameraWidgetConfigureActivity.onCreate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a894e85da8814462f27819b6734cb0589c4dba789c2dbefb66be219193bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"WearToggleChipColors.equals (cognitive 19): WearToggleChipColors.equals has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dec14a433aeeeb82f0861f02b523df5206a6a13005d2b20d4f9c6b4f646085"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistActivity.onCreate (cognitive 18): AssistActivity.onCreate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistActivity.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb4283bd4869ab48b26ed11360a68f4cc6a9a7f8de824b78c35f97ad80c9213"}},{"ruleId":"D2","level":"warning","message":{"text":"NfcSetupActivity.onNewIntent (cognitive 18): NfcSetupActivity.onNewIntent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/nfc/NfcSetupActivity.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"07333b3171e59faa67612094ea208559a8746fa80c9c57766a0bf2dcc337ea3a"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailFragment.onViewCreated (cognitive 18): SensorDetailFragment.onViewCreated has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailFragment.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"399570f50df2f274341cf5123b927dd38fb653d479ec2cb4a30dba96ef0366b6"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceCommandsKt.commandBleTransmitter (cognitive 18): DeviceCommandsKt.commandBleTransmitter has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 8 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"029954c205733414123494a17d04788fb5d24e45d71137c82801443561d1cbf4"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorUiKt.SensorUi (cognitive 18): SensorUiKt.SensorUi has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SensorUi.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"92181cbb280c1a8e626885ab6d0a95a8cd620e03780c144c6e29afc65515f741"}},{"ruleId":"D2","level":"warning","message":{"text":"HealthServicesSensorManager.updateHealthServices (cognitive 18): HealthServicesSensorManager.updateHealthServices has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed834f30f7399a6b2885406f0ed012fe5933e3f17b704e08c311fcf06f408aab"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivitySensorManager.requestSensorUpdate (cognitive 17): ActivitySensorManager.requestSensorUpdate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, error handling 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20bef9276d1478db6226232560ef577472d02e493d55432ec2f23fa93a4ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"HaMediaSession.buildMediaButtonPreferences (cognitive 17): HaMediaSession.buildMediaButtonPreferences has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 3 (6 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/mediacontrols/HaMediaSession.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b06c0a2e2a34e51a6907c9bae14fa5718c032edebfb878be1864b8239e8e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityWidget.resolveTextToShow (cognitive 17): EntityWidget.resolveTextToShow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, error handling 5 (7 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd7a8a7a4d995d3b6ebba3b4567cb6f7226fd3c8967c461c104e974f1f77b9"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoneStateSensorManager.updateSimSensor (cognitive 17): PhoneStateSensorManager.updateSimSensor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (3 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a415987bc2855ecf2161ae8148e07e0871308edb82c3ba16fd54ea229bac4d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebRtcSessionImpl.runReconnectLoop (cognitive 17): WebRtcSessionImpl.runReconnectLoop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webrtc/src/main/kotlin/io/homeassistant/companion/android/webrtc/core/session/WebRtcSessionImpl.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"038cdbaf0e818b4881ba5b9e413f82bc2a8c4d569f229376b82594e33166147a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationSensorManager.refreshLocationTrackingSetup (cognitive 16): LocationSensorManager.refreshLocationTrackingSetup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ce8ad75b5f20f6be788a0b6e6ac06d747abc9a3e01bfc988f0ce9c500e3e6"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeAssistantApplication.onCreate (cognitive 16): HomeAssistantApplication.onCreate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64301a2e7791845b5d37328a95b67621398dc94865f49f742e960bb0aa0cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistSheetKt.SpeechBubble (cognitive 16): AssistSheetKt.SpeechBubble has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheet.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b70c9f0afaa7651e9a60b5bb6a05163b547cd43c612e157374ac8d17c23efb"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.handleImage (cognitive 16): MessagingManager.handleImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29863b28c76904b6ffd7edaaf1b52b6a948c2b71315dae20fd2f285440bc72"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingManager.notifyMissingPermission (cognitive 16): MessagingManager.notifyMissingPermission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 1 (5 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa52edd624e122ab68125b9614098a3785a51d28da834810619dd8178f67a9ef"}},{"ruleId":"D2","level":"warning","message":{"text":"DeveloperSettingsPresenterImpl.runThreadDebug (cognitive 16): DeveloperSettingsPresenterImpl.runThreadDebug has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/DeveloperSettingsPresenterImpl.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4c1d8617c47f7a1c5f90216e991cd4027e5e7751a131a935e10565e38006cc"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailViewModel.getSettingEntries (cognitive 16): SensorDetailViewModel.getSettingEntries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailViewModel.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96f59188df9bb78ccd9f39b6006f5e2b3cc7e0024704a959e94d8cb95a213d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SensorDetailViewKt.SensorDetailRow (cognitive 16): SensorDetailViewKt.SensorDetailRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5eca3189379fd353af31141a5af0ebb2e18015b0eb8e6b7a887d175f61a0ad"}},{"ruleId":"D2","level":"warning","message":{"text":"SsidViewKt.SsidView (cognitive 16): SsidViewKt.SsidView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee14db2ae580f64080c615719a6a50998f1f9a22604e227a3c23f01990aed779"}},{"ruleId":"D2","level":"warning","message":{"text":"BluetoothSensorManager.updateBLESensor (cognitive 16): BluetoothSensorManager.updateBLESensor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/BluetoothSensorManager.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65e0b72ebdba7dab5209ec99889710197238b6a9594f74a0810c38c408d727d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FakePlayer: TooManyMethods \u2014 123 methods. The bar is 30 methods; this is 93 over it, 4.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/compose/media/player/FakePlayer.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa0bb94fb8abbeb08e4af3a1e1474263eb51629290061c9ee44096b06a8ad93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/MessagingManager.kt: FileTooLong \u2014 1560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1060 over it, 3.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a23a9063c46b22af115c8f956f1dd773fcbd9784aa970bb9da0cc5c8a049c4f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HealthConnectSensorManager: ClassTooLong \u2014 1062 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 662 over it, 2.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b597927448ea12e712184313602d88d3c8c57affc5cabed955a5d15e40ad0276"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaPlayerControlsWidget.getWidgetRemoteViews: MethodTooLong \u2014 getWidgetRemoteViews runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac3a1a366e80d1c2b953a5f726a6352611d7138b836f514d9bf8624c3df300b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PrefsRepositoryImpl: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. Most of these members implement prefs.PrefsRepository (71 of 72 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/prefs/PrefsRepositoryImpl.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca5dac2195cc3c4a6721d3f0c4c67097295eeecee80e5e3634f212f72322174"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integration/Entity.kt: FileTooLong \u2014 1189 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 689 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e92dd8bfba06bc99079f47955bd88bd1eaebc1a15c0047a26f4515bd311c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sensors/HealthConnectSensorManager.kt: FileTooLong \u2014 1144 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: HealthConnectSensorManager (85-1457). The bar is 500 significant lines; this is 644 over it, 2.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d23fd5d4e7a6fd5f5cf7fa62ef311096390fd33769d9e741a534c2261284672"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainViewKt.MainView: MethodTooLong \u2014 MainView runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"540a57f947064dab92634ba0be68f082d3fbfcd92cdf921b1e99e542b84862ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntityKt.getIcon: MethodTooLong \u2014 getIcon runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb738491b5577804946d6b7cb2c2a9022e912ae6a4514950cd613d352fb5bcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sensors/LocationSensorManager.kt: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 501 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9294cc5001a4c29508f6c59968541efa42dabe650d440d246ce9e13504e16d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManageShortcutsViewKt.CreateShortcutView: MethodTooLong \u2014 CreateShortcutView runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c625a4071502419fd4d5eaa11b645a8dded7ce313822b8c0d347467d3f45c71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessagingManager: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7428e0027770c8a2c5370e824bb0d454ca8d8d5502e149de238b7976f7b763fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntegrationRepositoryImpl: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. Most of these members implement integration.IntegrationRepository (37 of 54 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe640d828bcc52f7fec2bb37a4e117d2575b3570eb98fbec49972a3ca6edc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeAssistantApplication.onCreate: MethodTooLong \u2014 onCreate runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf8e9b60b3e06a69c3ddefc7b82c40b844a0738d4b0b04c27054a0a9891208a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FrontendViewModel: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"983ef880343a0657cb453869708e1943a1a26baca86cf2afe6c966f7abbb088d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HealthConnectSensorManager: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7cd7c7d4be9fd114e3dd48d8e91ec32d7d0864d24f697e102fad7b610c69ab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebSocketCoreImpl: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 241 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8ee3a1a3b6c16d109b5fecfacc00f7f983cb551cc22ea53b11621b075f1aa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/WebSocketCoreImpl.kt: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: WebSocketCoreImpl (146-1319). The bar is 500 significant lines; this is 294 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39aee6e6a462e4e5612d80b9e15f655fc724de244e60081a3bf3ad0377eab27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebSocketRepositoryImpl: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. Most of these members implement websocket.WebSocketRepository (38 of 44 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketRepositoryImpl.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3cb6abb39fb663ea9aaaa8c9021031b472508b0be23bdbda74d99955f51a19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsViewKt.SettingsView: MethodTooLong \u2014 SettingsView runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SettingsView.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad3167cf25997317f64c438d93e189d7ec6a5c251b0b82e2fbce9bf90a0a74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainViewModel: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f58cc26df129705e526dcc0c22debd88b187e2f00434b597243794e09327e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frontend/FrontendScreen.kt: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 246 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"229693b46b6835848c34ece3ec867bd980f3d710bf140ee15503e2449b99de4d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FrontendViewModel: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 196 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9c70f126385f72890e073cd7e9c345c74f1c6f7e4270afe4b79119169126f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SensorUpdater.syncSensorsWithServer: MethodTooLong \u2014 syncSensorsWithServer runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"de52d17ce1516fd694439f0b2cd5c1cd3f01d4bf3da2ab53b36cc28226f65a1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebSocketCoreImpl: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"947e988e13a74e89928010d2c773df8b9d7dcba0e0fe8b7477d307a7dfba6b27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frontend/FrontendViewModel.kt: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: FrontendViewModel (115-1370). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d2196780ca4c1f40489a231abcce8b4f26c1b4c006ec6159c71bb8296294b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaPlayerControlsWidget: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 148 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ab49935f5d3aa020171b78f345a87784bd345f05eb762e7f2d2727f73925f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SsidViewKt.SsidView: MethodTooLong \u2014 SsidView runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e22a8cf85708132e4ea94f263621df7867b397d2e8242ca3d7b146b24bfe0a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocationSensorManager: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ef68f0c42d75ea6552b3b413291a4381262ee7d4b38443f05025a4000cc6be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mediaplayer/MediaPlayerControlsWidget.kt: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: MediaPlayerControlsWidget (74-829). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ad45332c006e9103c5811f15214d8198a9266ec9b59546164fcfaf812319f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration37to38.onPostMigrate: MethodTooLong \u2014 onPostMigrate runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6265ea99a2890136be2d5554f0fdf920db4c81114881911d4ed43e4f97337c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migration/DatabaseMigration.kt: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1924fe5a081f7eff054ab9f8af01c3ba61555311a0df96d36de58d5c06121278"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/SensorDetailView.kt: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3ec1080750421b8545a4b0f845c1352bdaaafac1a6fa439a332ca1f4ca35f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SensorRepositoryImpl: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorRepositoryImpl.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f54cd43cedd38c57351b072e3d52d4c32744504b0af55f2183938082fba6b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetworkSensorManager: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 40 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1274daf44f6e3aced681b2230152a2c4942022871201be1e1e0a05d9a3d446"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IntegrationRepositoryImpl: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45816933aa59e92e5ce1f8437145a6a4f6bf0f863d506433b7c71265884e17c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ButtonWidgetConfigureActivity.onCreate: MethodTooLong \u2014 onCreate runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"52912b8aef12e83ebd43f79074c26d6d6d791bf9c6738a1135e0f966c5c133dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CarSensorManager: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c03f4db39199ab023ea6b4cfbea845002c63eecaa2cd72e19b52be183e350e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration16to17.migrate: MethodTooLong \u2014 migrate runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e737fadf8c2b9f4eb6f0f4bb245515509de8487513d65352b79433b705776d44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AssistSheet.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbed8414b49836978d6158fcf302aeea95b64e598770342b4fb645f4b42b6e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrontendMessageHandler.handleMessage: MethodTooLong \u2014 handleMessage runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/handler/FrontendMessageHandler.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3b57a9dfd96ae6e95892bd8ef93dd58232308ac6f4a3b98064afcb17647592"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/IntegrationRepositoryImpl.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: IntegrationRepositoryImpl (72-751). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"844ede56ffbad1ca98d1eca3169327d11f98e86cb06443995ee7268f3850af1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:87-375 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:50-208 \u2014 These two members are variants of one another: 74 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88a97663c95c5f6092a381a3b915cd488643656589970a42843c1db397e8590"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:474-541 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:286-337 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b45fbaba9a7e2741ee7df2ce41aab8d4b795395f2f09fc51c8f9ba87848a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:961-983 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:988-1015 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:1020-1043 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:1048-1069 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b2bc2ea9a31f65cfe0c1ff9b53c68d54e01550a7d01a2c5f7a0969004c0153"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:508-539 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:718-751 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:753-786 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:788-821 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcab11b9668aa8b8c81319cf14da3d77e026234916354febd2d55a77203dd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:541-600 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:655-716 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c22041d4241b4298080cae1a6ddd1a6c8de3ba8ea51aa6675d52d23cac5da4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/entities/RegisterDeviceRequest.kt:74-119 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/entities/SensorRequest.kt:106-153 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/entities/RegisterDeviceRequest.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceacfaec45043ca69048ae1994df6bfb263b8bd57ce53be937cd6de76747cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:348-400 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:198-248 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d0246d0af482d73e5d5aee2c1f575a0e3a778fec285ac968679c3b06f3502d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:181-229 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:237-283 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:291-351 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a142166ea6e2d06af048d3794de0438e204bb7a2e9889f205a1aa6c8396c3c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:152-192 | app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:195-231 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4701a055d37f7737a14aec4cc8c58c7effe97b2a72ad830006397ea05723acec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt:336-374 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidgetConfigureScreen.kt:291-326 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4aa7eac36feca5070f8ad42b247af44443b8ec132b65476eaf174ce23bbe5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:437-478 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:528-562 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111ab7a98a2764df3ed2ab34c1effe562aba20fe722221e0c0822d0c659fd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/localfirst/LocalFirstScreen.kt:45-85 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt:112-151 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/nameyourdevice/NameYourDeviceScreen.kt:105-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/localfirst/LocalFirstScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e170a0269bc168bd4394a252a626347bb1ab35c7c19a854f9a3d4eb5cae7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:120-160 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt:214-253 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:92-124 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d0239fb7d819ce2274a7f0bb27dc72d093d5838c0a3dc0438e0906463b852b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:78-103 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt:86-106 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d506cf0495819f5835868e58fd43e3342b82ba31c3e0c7864c128a468291270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:437-472 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:256-284 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a40fcd6db7c9b3b853c22b5999f70e9921728f0691fdece8266697e1d9bfd63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/frontend/matterthread/FrontendMatterThreadHandler.kt:85-113 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/matterthread/FrontendMatterThreadHandler.kt:120-152 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/matterthread/FrontendMatterThreadHandler.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9d9e26c2f04b4c53ae9eb05a2bca378c03c3fd5e1decaf9fc5587920ff33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:111-147 | common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:163-195 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de9e8160db39358f45cb361d6870c3d5a12db5a5c584210b9240511e12cd077"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseGlanceEntityWidgetReceiver.kt:121-163 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:72-102 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseGlanceEntityWidgetReceiver.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d60258b73083727d47166ae70da8d3746f757b281488c156adfd769e2d77ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/settings/notification/NotificationDetailFragment.kt:86-111 | app/src/main/kotlin/io/homeassistant/companion/android/settings/notification/NotificationHistoryFragment.kt:142-167 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/notification/NotificationDetailFragment.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb8faa366cc4e0f4be0a130cf58673bbdfe752ed95efbb64ed023f1af11d636"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:719-738 | app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:801-819 | app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:1216-1233 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd34aea50b5ace6773ee6f7dcc1b6bd7ac274951b3412f6d20e89a32ab46465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt:75-99 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PressureSensorManager.kt:76-101 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/ProximitySensorManager.kt:75-101 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/StepsSensorManager.kt:82-108 | wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HeartRateSensorManager.kt:99-123 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"915b35e228593663bd47319e1b3df91e57823cb8f6d590de88c1fc82bd6b33ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/controls/CoverControl.kt:75-103 | app/src/main/kotlin/io/homeassistant/companion/android/controls/FanControl.kt:67-89 | app/src/main/kotlin/io/homeassistant/companion/android/controls/LightControl.kt:65-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/controls/CoverControl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b082a46986c3883bfa5994f3d7dcfa43a18214e8345ebeaca9d96b745f76e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:42-62 | wear/src/main/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:42-65 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddd45fde27451add8de439c5e450478ecac46a7eb635b6cc98e6e0033ce8e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:148-165 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:167-183 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1f8a329caa659cc79a2055324aa5cfcd182841fadbb1e1399f9199c0eca541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:109-139 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidgetConfigureScreen.kt:108-135 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6676693a5160c2eca610cf0455ddcfdfd358ea4ff88d0b52126d2fd05e841e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt:549-564 | app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt:567-589 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4f48c40471b5a1feeb309d82b715cbb95351cf120c13f6a7308c7f41f5f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/configure/WidgetAppearance.kt:97-114 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:283-302 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/configure/WidgetAppearance.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b13931bf47ec4b7a2d59c414496778ce150b5e4e3687d3d4efdd94fa720a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt:327-345 | wear/src/main/kotlin/io/homeassistant/companion/android/phone/PhoneSettingsListener.kt:141-163 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5427874ac3e23bd6e59071df1a33d97c35ec454c8316ba38ab8a375702808d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/sethomenetwork/SetHomeNetworkScreen.kt:181-198 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/wearmtls/WearMTLSScreen.kt:181-197 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/sethomenetwork/SetHomeNetworkScreen.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bcebc23ee813a413ff13937890d8cbb7410f6950ac11eb21815b976d7afc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/controls/CameraControl.kt:74-91 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:214-235 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/controls/CameraControl.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab9b638d838f6d283cddd6dcfe001db120ae076d93d8be6c12bad1da6a24055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/controls/FanControl.kt:26-56 | app/src/main/kotlin/io/homeassistant/companion/android/controls/LightControl.kt:26-54 | app/src/main/kotlin/io/homeassistant/companion/android/controls/MediaPlayerControl.kt:28-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/controls/FanControl.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99e0f76173787a611fd32e3f7924105e18bb0232e2e7b7af9f40af1d8943b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/frontend/insecure/BlockInsecureScreen.kt:204-225 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/welcome/WelcomeTemplate.kt:119-139 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/insecure/BlockInsecureScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b80245063832c8604cac646a8f66c7ede1e1ef767c64d59f4ac93e9ae10e05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:605-628 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:632-650 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:699-721 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:919-939 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf3bdeb00cc8f40bef28b972fce951cfce5a78a64635df6d09f6e4015dbcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/frontend/dialog/InformationDialog.kt:14-23 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/dialog/SimpleConfirmDialog.kt:14-26 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/matterthread/ui/MatterThreadDialogs.kt:48-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/dialog/InformationDialog.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"162e3830a9ca2b574f3c9f9ed106a669bab5f06fefe03b391027c41a3a5452b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/TrafficStatsManager.kt:155-173 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/TrafficStatsManager.kt:175-193 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/TrafficStatsManager.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72881263ceffa3c351fdc8f7b8bd4b3c314a4f667c8a6ffef6dbdc73504a275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationPresenterImpl.kt:63-74 | wear/src/main/kotlin/io/homeassistant/companion/android/phone/PhoneSettingsListener.kt:280-292 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationPresenterImpl.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ade269d9a6e8aecf258346fe615a9d94e92436d768760b90260dd39c67ffe65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/controls/HaControlsPanelActivity.kt:99-117 | app/src/main/kotlin/io/homeassistant/companion/android/nfc/views/NfcReadView.kt:25-46 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/controls/HaControlsPanelActivity.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d90d92d1ebd464bfebd33eb91a430b07414e4aec0c7a9812e358c0131ae01ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AppSensorManagerBase.kt:181-199 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AppSensorManagerBase.kt:201-219 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/TrafficStatsManager.kt:116-134 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/TrafficStatsManager.kt:136-154 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AppSensorManagerBase.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e56d9ba1b3d21aa13c4c6372e4b69f7f0749dd7874d5bf639ff27b11abf1a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/settings/assist/AssistSettingsScreen.kt:448-469 | app/src/main/kotlin/io/homeassistant/companion/android/settings/assist/AssistSettingsScreen.kt:473-492 | app/src/main/kotlin/io/homeassistant/companion/android/settings/assist/AssistSettingsScreen.kt:496-515 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/assist/AssistSettingsScreen.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2f4225ffcdbe8b92cb308a0d8817e983b6b18ebee083bf3b8e27c020f0c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt:397-414 | app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt:418-435 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"882b53071329e96358e9b0f688ad2c51f953857526009b23c8e8a68d6ec4aaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:672-693 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:723-736 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"925f017e4cd2ee0377d8d642aa57a74b4d9a5b6253384544ea5763214c3ae2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/home/views/EntityListView.kt:92-105 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/EntityListView.kt:109-126 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/EntityListView.kt:130-142 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/EntityListView.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"861258f6e8d70021a923dd87eac1df9daa61a0082533c1e7cc15dbafc257349b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidgetConfigureScreen.kt:58-73 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetConfigureScreen.kt:56-71 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidgetConfigureScreen.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"869c0f5d3def7c6b9210a78044ce21ab03a78db112ec81f399786b3be2a7b216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt:541-552 | wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt:554-565 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e54b25095ed4398d7da7a2d1f5498d72ec3ec9a0e844cd36dc7db2eb78cdb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/util/vehicle/NativeMode.kt:29-54 | app/src/main/kotlin/io/homeassistant/companion/android/util/vehicle/SettingsAction.kt:34-51 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/vehicle/NativeMode.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df9149d27f385b110bfd518dc7ccb17ade2f94cb5506e1bade0f8c9dad07606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt:105-119 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/StepsSensorManager.kt:114-128 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f9ce8454a8a0fddfd46be985a1800f4150e3842489660df096115ac240219a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationActivity.kt:78-90 | wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupActivity.kt:56-68 | wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupActivity.kt:70-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationActivity.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c7fc3fa9aae6e4d32d414dc94be2990936ccb0beade90ceb89980e86ae52e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ConversationTile.kt:119-135 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ConversationTile.kt:137-150 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ConversationTile.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381eb686dd652f8b659016b38ba28dbe613af2c0ef30dd4e4bfdcf6df50de65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/welcome/WelcomeInvitationScreen.kt:47-60 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/welcome/WelcomeScreen.kt:17-29 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/welcome/WelcomeInvitationScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"686e47797bee08d2a260fd68578cc0e16d70378eb2972f1198e2b86ac6c35ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TemplateTile.kt:85-98 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:175-188 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TemplateTile.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74b3b1b4d5d3ae4feea49fbaf2dc027f3b762fdc971a07d85f8c70f1260361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/locationforsecureconnection/LocationForSecureConnectionScreen.kt:107-122 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt:88-103 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/nameyourdevice/NameYourDeviceScreen.kt:80-95 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/serverdiscovery/ServerDiscoveryScreen.kt:169-188 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/sethomenetwork/SetHomeNetworkScreen.kt:103-122 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/locationforsecureconnection/LocationForSecureConnectionScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f1d25da156ff7e05974707497dba16a34fbcbac8ed187c0d37d3b13b852ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/common/data/servers/ServerConnectionStateProviderImpl.kt:189-209 | app/src/main/kotlin/io/homeassistant/companion/android/assist/service/AssistVoiceInteractionService.kt:404-421 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/servers/ServerConnectionStateProviderImpl.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb8978207dec96cc8a468aef07843b07d0145d14f0222b30d3a36f0d61f508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidgetConfigureScreen.kt:208-223 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetConfigureScreen.kt:177-192 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidgetConfigureScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b905da26f19d515eba104c925c801e55a7602ce9f722b8dad9206d2177009d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearRepository.kt:107-121 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt:249-260 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearRepository.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc700cfa5d678cea82e2c1476cf46b5c18566db3eee4917f1f1021e879f15dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/BaseActivity.kt:58-71 | app/src/main/kotlin/io/homeassistant/companion/android/vehicle/BaseVehicleScreen.kt:44-57 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/BaseActivity.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"79de1d76d64e23c6ac28a15772f5583771c2633a6836eecaf1ca87bcaaf14de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/controls/DefaultSwitchControl.kt:60-67 | app/src/main/kotlin/io/homeassistant/companion/android/controls/LockControl.kt:45-52 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/controls/DefaultSwitchControl.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c03a885cc3329a155968b945373cd9272c5aa7df82acbf166302a721778e41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/mediacontrols/HaMediaSessionService.kt:260-271 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorWorker.kt:125-134 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/mediacontrols/HaMediaSessionService.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"800dff976e7276bab91d4e3e524a8f0dcc902a769fd7112662bd626a4d07ecf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/navigation/ManualServerNavigation.kt:25-34 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/serverdiscovery/navigation/ServerDiscoveryNavigation.kt:46-57 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/navigation/ManualServerNavigation.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd487b323bd9965a8ad29f7490a0dccba23e88619767d81dcba5586a04d4fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/kotlin/io/homeassistant/companion/android/util/icondialog/IconDialog.kt:58-69 | app/src/main/kotlin/io/homeassistant/companion/android/util/icondialog/IconDialogGrid.kt:90-104 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/icondialog/IconDialog.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9717a7fbf41c4f4a512a508955bfe445a8cf0e219b32770d53654f203b940708"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:57-64 | common/src/main/kotlin/io/homeassistant/companion/android/database/server/ServerConnectionInfo.kt:186-196 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a4d27f4fac4c032e2d34515f65e1b88d690a7b5cc6f1605449de949d7a3f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt:235-243 | app/src/main/kotlin/io/homeassistant/companion/android/sensors/GeocodeSensorManager.kt:94-103 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47940885c1802663f267102c5c6d09aaa7e2ac395c763fcd6226ede17c6d92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetCameraTileView.kt:42-90 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetThermostatTileView.kt:47-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetCameraTileView.kt:42\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060DEFAULT_REFRESH_INTERVAL\u0060 names \u0060io.homeassistant.companion.android.tiles.CameraTile.Companion.DEFAULT_REFRESH_INTERVAL\u0060 in one and \u0060io.homeassistant.companion.android.tiles.ThermostatTile.Companion.DEFAULT_REFRESH_INTERVAL\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetCameraTileView.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b4d79f8e04084e4e674877f5c00335c7b653f1ce3f5fffb7b0ded23a85f3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt:44-88 | wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupPresenterImpl.kt:36-80 \u2014 before extracting anything, compare \u0060wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupPresenterImpl.kt\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupPresenterImpl.kt:36\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aea218a8192a3021af4d33bf18356e9591e01f732f84d4f0a056b40b931805f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:229-268 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:112-151 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:229\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cd0df4cd3444e568627838b2d891514e37eb71bd2c739f69f4aa42b5fa76a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:557-587 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:673-703 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:557\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c945ea1802bce2223512805bce99a5ef74d3023ca3d420c784deac03f404c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1064-1088 | wear/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:113-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c075d6a2ea91d223cf4d7cf71a25c97b446fca952e9f0e81de690c1ccb9daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:144-164 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:80-100 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:167\u0060 calls \u0060addAction\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:103\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c656405fcfdf6ccad42b9ba70f8d246c34e0ed2a0170141b64d14cc15d4ebfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:161-181 | app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:200-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3d97b8a7ca2b8d15e3875af5d50b13efcab6f11a294d13a425ee36d2a77fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:209-229 | wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:230-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f639938c438237e20b19d694e2332c0fb4c85149d23d79a425a42c6674311c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt:124-143 | wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupPresenterImpl.kt:83-101 \u2014 before extracting anything, compare \u0060wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupPresenterImpl.kt\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ffff823993c2940ab97b36155b8d8884fb3df131d20fc06e8a2d9c7326da51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:491-509 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:299-317 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:491\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:510\u0060 calls \u0060restartInactivityTimer\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:318\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e39e7f8df8d2f17edef4fc1d593f7c0dc9e5db3efecc13e00317a516ea99c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:967-983 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:999-1015 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:1027-1043 | app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:1053-1069 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:967\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"8254bf4438012784b91d10369a6135269b0c997da7fe19d67a80e2cc337fa064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:521-536 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:733-748 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:768-783 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:803-818 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:521\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1258c6efc2b06a6eb65c475df70dcc49e8d06e6572bab12af37bb3744d9c667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HAUserInputScreen.kt:110-125 | app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HAUserInputScreen.kt:158-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HAUserInputScreen.kt:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HAUserInputScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf201e0ddb9d701e0642c4ceb3c9fa8e6181de5229d1290fcbc7e43917c51356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:454-469 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:538-553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fba842e1ebbf15dfefcde266d5e0b707645b12368145b95efbe7e363536853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt:277-292 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt:320-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65d4bb9ca308df5fb28379a3f1e425a3d32bc7460b7c867a73b0d9ad32b83dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt:73-87 | app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearLandingView.kt:54-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt:73\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt:72\u0060 calls \u0060dismiss\u0060 and \u0060app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearLandingView.kt:53\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f24ff4a42533700377bf9c53f5bd265c7dbd263cba2ea9eba991c9a681f8473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:135-148 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt:227-241 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:135\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39cdd598e975b4173dd0502988e837f1775a6281cbf08bc3187f0b56b7657b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:89-102 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:52-64 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f400c481ef38ad4c3ef0b1bd73f32657116ddbe5c85bd633c18d367713589313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt:101-115 | app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:522-535 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb83b8845cc35d75836e09276761ff356004a250ecb533d09119db4d18ff86ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:513-524 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:319-330 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:510\u0060 calls \u0060restartInactivityTimer\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:317\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e0b967f5d04d2a774ee0ac95a8264efe87d634416d3d64472458b91219e0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:83-94 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt:91-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa2d3c17c0a9cb991340c8a0a5d3286b60a2da3e4431ea21ce164451bf26091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt:77-86 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PressureSensorManager.kt:78-88 | common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/ProximitySensorManager.kt:77-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea871c2e77f179ffbc8ec0b43323209f2daa694651a4ec6880c488148f92d31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:43-52 | wear/src/main/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:43-53 \u2014 before extracting anything, compare \u0060app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d39a35c745c4be0b31fb36c5cae85bd66d90c12da16dbf14b57a7345fdbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt:113-123 | app/src/main/kotlin/io/homeassistant/companion/android/onboarding/nameyourdevice/NameYourDeviceScreen.kt:106-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"80129ea592a6fbb1c7851f5b71d63ca1bf30933541dc978b1cbcec12ae1fbed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:220-229 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:274-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:220\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"459153261cf4febb2bddd2cb0f9b5e51b8590d19f7fc292b096b892bd19df444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TileViews.kt:82-90 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TileViews.kt:170-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TileViews.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b5d9d99bce888931cdb54cadb78705ef81389462a63c3bb2d0a474826ed02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:2227-2234 | app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:2273-2280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:2227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01a2c145ff25438f465dc59fe26efe0b4caa2b29c3e990018ac1f7d137421da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:81-88 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:101-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c290e5dda93a27cd423d9dc000e27c8502d1fdb207467542da0c523ff7c8454a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt:79-86 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:232-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a04465074cccaba6ac9d4e16f0e375904e84e5f1925978085ccf62a6c95f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:475-482 | wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:287-294 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AssistMessage\u0060 names \u0060io.homeassistant.companion.android.assist.ui.AssistMessage\u0060 in one and \u0060io.homeassistant.companion.android.conversation.views.AssistMessage\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b4b80d0e64b1927b8dbb5a73765564a18682dcd3653c1829dba0f380d3508b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:82-88 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:74-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"29876345f3b2d54e049d04d14614af188608730554ede61599e7fa2776d920ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:437-444 | app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorListView.kt:85-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:437\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab2f1c7363d64e5dca0c253714e1a7863f0a569747a8095f9dc5016e4123717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectCameraTileView.kt:21-51 | wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectThermostatTileView.kt:21-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tiles\u0060 to \u0060List\u003CCameraTile\u003E\u0060 in one and \u0060List\u003CThermostatTile\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectCameraTileView.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9db9b8568ca1d89cff95666f951ddfa8f96d5fd32e0fa5b2702fc9263e429e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/full/kotlin/io/homeassistant/companion/android/FullApplicationModule.kt:25-36 | wear/src/main/kotlin/io/homeassistant/companion/android/ApplicationModule.kt:43-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wear/src/main/kotlin/io/homeassistant/companion/android/ApplicationModule.kt:56\u0060 calls \u0060OptIn\u0060 and \u0060app/src/full/kotlin/io/homeassistant/companion/android/FullApplicationModule.kt:38\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/FullApplicationModule.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6c77e86516d06e2d0eb699ddf13549429eafe3d7ab6d6b0af70baeb1fbe403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:388-394 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:211-217 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:387\u0060 calls \u0060OptIn\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:209\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"592351ade339ee148b123bde074d0dd3e9be814a51a0f587fe3194eb02de670c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:396-401 | wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:219-224 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbce104263a193664ff4159e72c33065e53f4b62218cd3b773ebe05005a65db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:68-76 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:70-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1dfa0e108632f56b9a6eac35e2903304c8d8e91b90d5588cbc36607d63ee87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt:230-237 | app/src/main/kotlin/io/homeassistant/companion/android/settings/vehicle/ManageAndroidAutoViewModel.kt:70-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"861668408c553afc31200df53384e5277c1bbd1c41bb3ec85463c9b090d1c5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:138-146 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt:157-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"edec44891dad36e56b75a57f6626fe5495ef2788530fcb3f10acb6c18dfa5493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:154-160 | wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:190-196 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b5524dc6ba9e7ca15821b5747c6796cbc88c97463603304db0f4cac53cf42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:125-142 | common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:177-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:144\u0060 calls \u0060execSQL\u0060 and \u0060common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:195\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea718561a10684922b40e965a2484d6f52eb28ccb0f4398bb0cac45226cc0cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:365-382 | wear/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:70-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:365\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d73888d339a4b5f7614d6fbe3bff6b4a5ceb44118a14c8a06c1978c4f2bad66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:543-555 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:657-669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:543\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a6257b5e461d566c68d03664db89cd4fe2c623818559cccce801078b7b1435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:542-553 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:603-614 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:656-667 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:719-730 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:754-765 | app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:789-800 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace1cd895050e6c586a23cae4a1f7e79696ad656ebd2ac104476975b0639e4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:615-624 | common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:637-646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:615\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac09f39f3ec6e0ff2dddd0200b93651fa5837df2936db0395485a6f3da18454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1363-1368 | app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1544-1549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"853fe4565b7ee50cc25339289dd711e3b35a6b999dfafe515d03385d126919e5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainViewModel (LCOM4 6): MainViewModel\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00fc48408a345247ffb6c0841e756fbd8b570ccb5344d8cd9bf90cbd067d6d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeveloperSettingsFragment (LCOM4 4): DeveloperSettingsFragment\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/DeveloperSettingsFragment.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c4cd8cab7fdb651353ba5eec338e0a013e65b89ed175f7035988ed236cdaa8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt: app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in MessagingManager.handleMessage at line 322. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"621416df1ed675b806c512531e7a5657824e351e951443b1ad484ea29eaae5f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt: app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in SensorDetailViewKt.SensorDetailView at line 101. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2715c179a956e82cd15df2c646b2f1428b48ea54bc51d750717721f104ba9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt: common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in WebSocketCoreImpl.handleEvent at line 943. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4925d3a479a7e436df733488f73ba2e648dbad901b6681a86d7a0e50d457a2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt: app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in LocationSensorManager.sendLocationUpdate at line 890. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2805cc1427c99b244fe1a50dde6b316d5dc0050e5ab74737da6821dd2e3e05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt: app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in MediaPlayerControlsWidget.getWidgetRemoteViews at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bbb0052010d4f67517d4fd2cd77daf6bfcc8edcd7a2892cf52bc509a3d71a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SettingsActivity.onCreate at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b9b85bd58bd8831c9cedaa6fe806b9ba2278c24b437633f2bb89a3ba704b04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SettingsFragment.onCreatePreferences at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:11:36 \u002B00:00\u0027 --until=\u00272026-11-13 21:11:36 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb37f01393be56eaff4583b4482edbc86d04c6cb6b14eb8647018a2d6b9022"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 106 significant file(s) lose their only recent owner: common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/display/EntitiesForDisplayManager.kt, app/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingNavigation.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt, app/src/main/kotlin/io/homeassistant/companion/android/onboarding/serverdiscovery/ServerDiscoveryScreen.kt, app/src/main/kotlin/io/homeassistant/companion/android/controls/HaControlsProviderService.kt, wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/compose/theme/HAColors.kt (\u002B98 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"67f863e1182e1c0a7f732581533932c3b89ea0ce21232057646673db49539763"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (108 single-owned of 517 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 517 of the 990 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: common/src/main/kotlin/io/homeassistant/companion/android/common/data/servers/ConnectionAvailabilityMonitor.kt."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is bad, do this instead: https://stackoverflow.com/questions/46283981/android-viewmodel-additional-arguments"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1487b9db45f846df55ef1111e1950b734ac05dec72e9e4c7a3201dbf31149f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO any reason to use mainScope here and not iO? https://github.com/home-assistant/android/issues/5585"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b25c2db64df3753537c0fa97d6b3e5adcdcd645a9e8736efe294b20eeef2f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO https://github.com/home-assistant/android/issues/5271"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b59321462f4aa3d20acd1b1a28f892bbca68c44a00ae0fead83766ade980e11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Send default locale of device with request. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketRepositoryImpl.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecbb81083d72d1a88a16499f2d604bcda2ccb30b554bfbf28605b4dde8ddb8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO replace the map https://github.com/home-assistant/android/issues/5341"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/entities/AssistPipelineEvent.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38153bc27d371cbc93bd02d1090ce0b2e88f72597ae24118759b9c329ac4eab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Replace the map https://github.com/home-assistant/android/issues/5341"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/entities/AssistPipelineEvent.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621a01147fece08162a1891cdf60d0de0263f768721c196b589a74fa1546d02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this could be cache too, the idea would be to have better logging experience regarding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/servers/ServerConnectionStateProviderImpl.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f7c270626babde0809a0a78292a22e457c073b9c03b717763ca7f96118feea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Introduce back ZoneAttribute class https://github.com/home-assistant/android/issues/5340"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/ZoneAttributes.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefac5f99990efe1187bf162383ac235cb5b834002847ed948c3bbcc1e874cf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO validate with design team if this color are immutable or not (not changeable by the users and also stay the same \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/theme/HAColors.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b9a96f419c5ac7ce89acc4006da660e2c7250119ba37dd451dc545def50fab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove once https://issuetracker.google.com/issues/582414066 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/theme/HATheme.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"855fb1df899269e5f4efbb494dc064700167a9cfe9727ca9a07406894ebff53a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO probably replace the text composable by strings to control the applied style \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ef42f24dbef8c76de45a9cf8eab83b3c9a6d60a223017fd71d29de501bf79e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Change colors with design team (current value are picked approximatively) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d508d44c1854a1df025685dee450b913beb00972371572a8bc8931204dae8c03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Verify colors with design team \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1a844bc7086c89b98dd9a8297046604c6a70a6b13f78caac4564530443298"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Verify colors with design team \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c95167a8c68b8f53a69b6f0b0c53ec3ab092e04ed57556fed2e1fb8aa26789e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Verify colors with design team \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b533bc67044d17580033459f4e1feca86a76fffe6daf86af61fc35cfcc441"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Verify colors with design team \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b5b207d69447c5934823964b09aec335e8d167a8b8f133f7c33f69d50cb634"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO I don\u0027t know how to assert the imageProvider or event if it possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/test/kotlin/io/homeassistant/companion/android/widgets/todo/TodoGlanceAppWidgetTest.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d93f87233572632ff4925b6ee09678b5f0fd66181bc8cb841ddb2bf1db078a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could modify the entry in DB to add the error message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetActions.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c73d1d2192177a2e30b4e1fcadcf93d0de92f1f91abf4499b227f13e0eeb2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO send error to the widget??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetStateUpdater.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ea4ca3f9ad37ee47891506ce8602748b4c68b5dcd49dae867c5ee779ccccf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Migrate to compose https://github.com/home-assistant/android/issues/6306"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"374de3b4502eb2c9cc6d7069ef6724fabf3459f99c88af84cbd43b8b0bceb49a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Migrate to compose https://github.com/home-assistant/android/issues/6305"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7602c7cf845597ad3a293da29a440c9588de7f5c70417809a9a8d1d8d371328b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO most probably this is always false since the launch will update the boolean after we actually test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/vehicle/TemplateComponents.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5db752f309ef8b0fae92c4c2d98a19f6ce79878c5d69931d24fb3931e6912b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drop this requirement https://github.com/home-assistant/android/issues/5931"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/compose/LocationPermissionState.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f2c1fc5cc57280c181eb78ac0880f4975990085410a584cf146862a387d2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drop this requirement https://github.com/home-assistant/android/issues/5931"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c4c70fe72c435a7b54332f1f71f28a7c05be4e1a9ed8083a2d8dcbd8932059"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drop this requirement https://github.com/home-assistant/android/issues/5931"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c9435718c761c0f8b039bdebb673c9e3f5c615cfa0ae9684599b4604b0e2f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drop this requirement https://github.com/home-assistant/android/issues/5931"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd64912cc337448147cda87945df2f87cc4556cce44caa456e53900dec11f14e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if we make a multi entity picker we should share part of the remember that prepare the entitiesWithFields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c0f55523bdf723c043cefbc989c73cec8e1195b32ae5f8660807f0808bdde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use new theme for Material3 components https://github.com/home-assistant/android/issues/6302"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/vehicle/views/AndroidAutoFavoritesView.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad126173bdb96968ae08646eeca35d6ab59e476ef8fe6be6928f6374221f5d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use new theme for Material3 components https://github.com/home-assistant/android/issues/6258"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce0d19a689fd571f12ea8b0978fb9b2df85885e10064b635d945a66e959a43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Drop the explicit HATheme once SensorDetailView is migrated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d432a4f6e644013b9934df1b902678c5ff5a8c0da014b8f30fc3e46b8b1b63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Migrate IconDialog to Material 3 https://github.com/home-assistant/android/issues/7156"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/qs/ui/ManageTilesScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a69d02f10326e86f1927c5472abd885789f8ae5d108c69c46f9facf973169"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use new theme for Material3 components https://github.com/home-assistant/android/issues/6300"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ab5b181a705d6fd6c497ef2660c746b95c0949ad6971c9ae7a8ebf119f7c69"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060wear/build.gradle.kts\u0060 makes this repository a deployable product (line 2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/build.gradle.kts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"281c74192b03110ebff3772ad8261b57a5c763fd41d3abd3cd7a8b90bbfe4b09"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ImprovUIState\u0060 spells \u0060UI\u0060 where 16 names in the project spell it \u0060Ui\u0060: 16 of 17 names in project app spell the token \u0060Ui\u0060 (16 of 17; unit: names in project app containing \u0060Ui\u0060). Peers: io.homeassistant.companion.android.settings.wear.SettingsWearViewModel.SettingsWearOnboardingViewUiState (app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt:50); SettingsWearViewModel.settingsWearOnboardingViewUiState (app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearViewModel.kt:75); io.homeassistant.companion.android.assist.AssistTrigger.ScreenUi (app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:43); io.homeassistant.companion.android.assist.ui.AssistUiPipeline (app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistUiPipeline.kt:3); io.homeassistant.companion.android.changelog.ChangelogUiState (app/src/main/kotlin/io/homeassistant/companion/android/changelog/ChangelogViewModel.kt:24). Rename to \u0060ImprovUiState\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/improv/ImprovUIState.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e13dde1dfa346e0d1c1c2c942b20a2bbcaa1c0ef7eb4d1bb95981e1cc9511d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060toWebSocketURL\u0060 spells \u0060URL\u0060 where 43 names in the project spell it \u0060Url\u0060: 43 of 44 names in project common spell the token \u0060Url\u0060 (43 of 44; unit: names in project common containing \u0060Url\u0060). Peers: AssistViewModelBase.audioUrlPlayer (common/src/main/kotlin/io/homeassistant/companion/android/common/assist/AssistViewModelBase.kt:74); io.homeassistant.companion.android.common.data.MalformedHttpUrlException (common/src/main/kotlin/io/homeassistant/companion/android/common/data/MalformedHttpUrlException.kt:5); AuthenticationRepositoryImpl.refreshSessionWithToken(baseUrl) (common/src/main/kotlin/io/homeassistant/companion/android/common/data/authentication/impl/AuthenticationRepositoryImpl.kt:122); io.homeassistant.companion.android.common.data.connectivity.ConnectionUrl (common/src/main/kotlin/io/homeassistant/companion/android/common/data/connectivity/ConnectivityCheckRepositoryImpl.kt:15); ConnectivityCheckRepositoryImpl.parseUrlOrEmitInvalid (common/src/main/kotlin/io/homeassistant/companion/android/common/data/connectivity/ConnectivityCheckRepositoryImpl.kt:71). Rename to \u0060toWebSocketUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecbb3ef55568c8bcc5e91bcf97c7b2f8ae7e26152e86fc9cc75132bfd57576d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060createChannelID\u0060 spells \u0060ID\u0060 where 321 names in the project spell it \u0060Id\u0060: 321 of 322 names in project common spell the token \u0060Id\u0060 (321 of 322; unit: names in project common containing \u0060Id\u0060). Peers: AssistViewModelBase.selectedServerId (common/src/main/kotlin/io/homeassistant/companion/android/common/assist/AssistViewModelBase.kt:94); AssistViewModelBase.binaryHandlerId (common/src/main/kotlin/io/homeassistant/companion/android/common/assist/AssistViewModelBase.kt:122); AssistViewModelBase.conversationId (common/src/main/kotlin/io/homeassistant/companion/android/common/assist/AssistViewModelBase.kt:123); AssistViewModelBase.finalizeRecording(handlerId) (common/src/main/kotlin/io/homeassistant/companion/android/common/assist/AssistViewModelBase.kt:436); AuthenticationRepositoryFactory.installIdProvider (common/src/main/kotlin/io/homeassistant/companion/android/common/data/authentication/AuthenticationRepository.kt:46). Rename to \u0060createChannelId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff2029623044de117e4d3509c32d49dfcbce1e08c9e0276a6f9c3a0c6409226"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 10 project(s) overshoot their size bounds, lowering Project Cohesion to 4.0/10. The most over is \u0060app\u0060 (67133 LoC, 1222 module-visible types across 150 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cffe7ea0c3fbdb2f3fcc5e85601847817140710eb3c11f06dba49be07749097"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4f92ec0c941dfe5c75dfcedcdeaef756984273596af791c6b97e6174b7b4c26"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dff98d5a7095cc144016a81e43f3c62a3c31e3f8f7e233bbc4898bcd4a673ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a8c4fb16a4524ddee2b419b6cd3a579c8b042cb10fa3b428aa936e22849898e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfd45518a1ffc53d270b00e7f15bff6b7007f4b0d94bda70e366ffec1fbbb268"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d045b99df9c53e0fd7e5ee7c35e13b386833450740d688d4ca368c07a0ea992"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf265196c8aab12cf5fc8a60b810eab7c8354ff80c006900ecb2cb624cb114a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11c6ef34f12ecf0d7903f46f08e77b28f9f1f8d5a16914d7a67733391bafe41e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"268d0ff1ce54591b74b2133856bec418ef4733535b6becb503c12ce08fc75a67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32fd0c540fc4d5f4d84ba6365245f8dcac595775933d87ba72492e55b596c086"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f660fcf1c4f1253977a725883c28eb161dea2c3ff3f4b572f6e5f2e057c22e47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba759e836ca8e521219a20e741a12d4e82ec4a712bb10f84b1819ab907761034"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90895f00c8fb54be8b7d01aedac2d1161bf9bc7d33dd62494e59069fa29b4d24"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3492abbd318280184137843e49e6140aea66152883048c9a355b12b56e48512d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9219ce1af5be6f9d7afcb693f3c1953b351b55524f4962579a71c6549da03ad9"},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b55c9107ae93cd42a1f6d6ddb178e77bb150713620af881909b8feb4e39bcd0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c90707414c4258fb90ddfee94c91ab34e4fa1a9f0aa97f0cf49f31d1e7c80657"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ff74de76df1d0bfcff5cb26ff0f9b17fbd2ba22d1b83cfa01d6b616f1357011"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b730e725dc08c601b0159da95807324bb688b490accc92a3f10bb468d6aa4381"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"079f8b36c0529125e300ba3d3187243d937796e1936e4e938c52deed96c03099"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b19257b1d286335805a5f7523d103552fb3122574fd85d1befdb22efa63f3ea8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdaad087fb0adc3db0d32d1de04f1068fdf413b3f04b39cd20dcc51ca46bbbe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1410fdd46cf37880678690faa6b655e837296aebb56c54b5a8ac3a7d285f8a25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16eaa532729928d28ef6d3b5e06a6331d44f92c11ad06d90f8d7a6dba1548f91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff757122da783b0d0a8fef4aaa9df5c10880d899eaebb3b1fc8f54861d0525fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a00b89a9880ccde004e76e8b1b78ab52b28911724c0b895181d42c1ef0803ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"266c720cb0c3c51bbdecb7e700d2c477abb4b48ab3fef2a3373c7f22b3104b59"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e508e69fe168df171c954b7874a812d5ab2de38b6cd8776a1b7662ba1ed77bd4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89931da5dfe3934abf98583e57aedfd1e75ff7e3012bc97d2bf928ef622faf13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b333a36e65167ce971c7bff35bf5f341031f310eeb5725d30994f42b8ca3472f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbaa406c241447fdfd1b814059512d8d1c275f4f3a1a2522e55fe9cd8ed96969"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce4b6b82a40e48ea5eb8b7e849ead005964549d5aa6a76c3e5f7ffa8c2e4df69"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86f704e7a37c2ba9d061382942cbc98077023b112c564b96d758513b3af3afac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcd5ceb68da7c993776719d8d0e4cc916a1e9c23291ef53e53b98fc9aeffe1ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62bc3b128d52707036064d97ff84c2bece72e72295f343f717ef44ddc185e0c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"144d6077965ca1628282d5f6eefc6ada3a5a9818392977025a02b47741e5e4ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7931550051fd10f118b09d83b1c264be418f59b50ff8507512eb09ad265502d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c417903de1c63cb4ed1459c5268cab7880d5cc12d9dc4a95b270d7aa299bb91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ef2f316ca631b692d03c475bed7e473e93f3db6fa35d9ef86248c50808e234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"141fe3fddcbf12d4c16e91527fbc3d3836d8cf31ef748d688167b1e1e8a120ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"342045e611a84e287fd3b26c0ba5637107f254f1e2b8296faeebb4985c07281f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8c17f021490a41cf0dfaf123d53d2c0abb8465c07a7c89d686c79a5c28a365a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d55bc9f1dd2674ea4c86203436844a9599d4f6c0bf54a4440f0088157bbd108"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4825794ca11878356128370646bbbe456a7ff9c3e09e2a6a58686c7644de80fb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"354603028daa5ac84e28895a4f1503ff2b0ac8465c7a640a634a8f791c05bcac"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecc863ca0c47cde4282fb1521e7e73dccd33dbf301684bed769ac3b88c50ebea"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a7248383053b2149da8b8ebf8f9606d1970f2963d1b74a2d01ee564e78027d0"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16ce7b2cd6734135528db2e03a76335677f93a60a6c6aeaf12616f2120163638"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b8d1891af4ba5280e233dbef1fe3e236a3ef62c0da38b090f3c631bbce47408"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f17a8b09850a886ecb66f952eb118f5e484085afd77f48a231316e277d611ed"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c57f1feac5266dc7971aea026d093689df50ba65aef067d712f6267d2e9818e4"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d61d2a3516fc07c146459ed4f49abc80da9a13d4d800fdff95ad215f0163cbb8"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"072feead24d4cef21a5dbb2d26557e70b82acba21c4834b6b38040766903f6a7"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b5caaa13cbe61339243d5aff5a0e04ab21720bfa24dae1ec0c6f78db3a75fa6"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa12d8dea2a08ad7f59040b09f8bdd3198eeaeeb5afe6864713b67d2beb3b0f6"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b441e5ca47d6a3e9c653492619434bd9502ed4817a925b7a273dfc131bc9dbc1"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f81bf2ef29602f8a02746e92de871043aebdd3ec9e6f6b0e42a8187cbdbb007f"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d82e3b0b68156e62ebd3dfc24e519f11512c2f73b8631e71a9ed89b55379cedf"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3df2db9a23fb519a787fef7e1ec1a7e3b5b2f0a7af9001925710884484aec372"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"056b5ded99e826d45f7dd8f68584d55bf191686c24d71f29e54bfaeaf5a09596"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54f9e076f75213d7cef8f6f16fa4862f060f317c7cfa52757b5a26c648b51f34"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01828faadfd0a666a25d37c99b9a0f0f8e8457b3c3f7227aec7795adabb0287a"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6568d2ed00dc1c4209d550fd1ff56df72ab4b30ae8db2cc507dc81a67bead0c"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccfe38445d484c0e07f741221a3db2eb50d2f240326a5d19cdd50e58a0b20c12"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c29f4aa4920a771b62d50c2f54f640f35e6c5d52522aa0d9a82ed79850dc5f4"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c3b29c8dd746b48cbe60bb09f8d8d5c069d91dcf175e844a287fec7403c7fd7"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1203ae94b241f4ede7fbd8f9adf7125bae6ec187a341b8e27bf24e4b9b18ca62"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0274e8ec3b46a652a59c8ecdfbc5483639c93bbb331cb976d6bc5e452fec54c1"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c461605f1735eda617a593718ba64e30dd163f939fb30ad51505b0f22065076e"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1dcfc26ccc391d9f82a75e952fd3fb61cd32237ddce9883cdf4d1a6c75afe3d0"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcee02da5fa7aba6513f30b39b16ab8bbd63979f0d4a0970255649df04afa683"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d13ca087d0c8e68ab667ad7ff121905a5d78a335be286b4b9225cb197d3dec9a"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"344188ced58a95f4b90ffb28604bd3c140c22407ad2d3999456e9f3a842ad8aa"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2609dbafcc008ffaf80c2232364622dc436fa3d56e39022aae5b637ff6b4926"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea1378df9a4df89dd43e75247db9a132d9bc85e70d5ae65615b2715096bd0df1"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58ff285a54d76f8ab69373608d501def08e35bf00e2542ce259bd02d787e2aff"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6c3b01fd190fb7789335aeeeb6939b7ebd7ecef26350db589c1e661504a8297"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c990a9ecb729387559ff9348d9b40775420f089153890abde015ad83133a64d"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9deeccfbcb2b403b48fd48f59aa89fd5d28446ade1a545f6aa11ec90b1c55844"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"575d9f7827fdaa7fc48721ed38587ce16fd8b297e30790db2475e6f33a9a063a"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d73c4fd114f5f533012d868bbfea5f796037cf910474013c8e987baaed11536d"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01e34e39ad9cee50ca9d717e5c8f4468128e831f86b430733af9a3d125ae8865"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78b77e24a042275c98f118bb10a12ac8e915265f0fe657575779335e9bffd74c"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d96cb127d726c5f0cf4474a10ff492aadb0baec765a1d605500390a8071fed2"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0365190c2b718bc5396a634d48ce17d1e335fa71a2410ea894d7f78423af0765"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbc2a5d3ddd391da9af09d5f6ff57c3da02eafcc58cd579bddeb9c0efaf32098"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d177e1b35a999dcfceea8dc0306fd95acfce3a9e0fa4b2c1a0562ad4dca1bda"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0638c9b15688a70243a578ee179a447b642e5785f66677825bb25b4331b5e857"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422afd2c354d7371e1e2ba7ef495309998aff1b64b476139003ff8f6e863bdfe"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f4585bc892f03e97731d6d398678eb28d26579ed0942c9a76ae31cd7f9efd92"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d12293fdbab2ffdc4ead37328157886481c77a8585b3a6143429a4384e0ac9d"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"456b818df707ec1e0ad6493d5e13a7c3c82a65905ce0d34a16cad5c3f7785548"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42e9b8920ee5f995eb3ee6c775adad9c125098cbb559b49966acc5d0637d0d28"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f98ea70229bede0953156c7329dad9a1c3417e8f0cb34b41db3e6ee9c049a69"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b41ca6f3a0447e69ff0e6a500dd7f0223fae45c1db7e94d3bacb1dc479c813a8"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68a3c6263bbd2e50f579f6d7bd454831146f40789b16d02eac17f8e38871b099"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a807512aa7cc828d26e2d5487ca8243a60335ef57331ae873375f2ca1c84fc3b"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fdd3cfe81a84b97d68e782455afa6dc6386c62452b7ab398f20610007c20ddd"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa35e0626f87f439a2beb03f701f540735b8216e1a9b8e1065c6d0f23684e405"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d183ba79bdb413f70269b63d184861394f24ff413baa3791a19c1b81e04dc426"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2385daa39ce98061d4ae8f5e384e5a43a4df51a9380f8f34c32b265dae9934d"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b5dee501298b815d37f1d6d37901bfc29ec816842c460fc74822283d44d253b"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae11155d713f42e415d6b31917cbf19e3e8a24f850bcd579c49cb0e7ff2d4195"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"968fc44cfe18f0a637fa0ce35505c7dc57c7fc40d5ccfbb62efc39e59b11af50"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0786eaafffe80f936c1986413cd0953da483a1767923a3ae30cceb2c33573992"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fa54ce37b1db865db62db8d9e237a0631a1d4557b70c194da64dcca019af59a"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e034e4bebb412df46bf7f03edc1f7d27cacb526a6a6954280afc1770929b3af8"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f70782af19bcc3cb764d9c16dd0aa9e007bf7c2f5cd64ec02e5a82d59f7af83f"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6569f31eb9e84bbf24edf952969919237650bf91a8cba0c313322ab483e2c5df"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abb9ae1704c9f9ca36a2bbcf85c93446e8e366655990f760143ccd6f8b0159c7"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc370ddd8f6d52ba353218b2719acbefa3aa2fa6d1d24a2ffc359a4802a74deb"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b3ab2ad4860c793456055e3da52a0b950c72ce20316ee46c5f067e742a383fb"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2710591da63c3ee5426c849dabb1906ae3e5569d2a2a13d8a99493bc6c13c5dd"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538afff9f66241886d097307eaa19b6637662575094b8dd9b3cf9d4870487e49"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e9948d89a5f9d6f2155ced981d8b0cdc8f85383935a9eae972073d2a60bb938"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee9496fe18e31b991e1d17dc66071dd842c58bc68dbb923176395a3ef266f5cd"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaa590209b59aceaa0a8f7800def39a8a523ba095d37fa25cdf6799543c40c40"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fea4f5dd56e06f029e3bf75516312c3362647fcd96e5bb36974f85688bf898c"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44d9a7d00e2660e6185aadb2a8c843d77d695fc27df8bb621532f5e75ab52e5a"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2926d8256b41f3edeb70699175209aa8973bda7c6285dba2afffdb0b49695f9f"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8aab1e03a9f5d86af1175c4c461531d4beb9b3d5573793a52e433442463d9b27"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6a66de817abff6d75a1a10fd2f588fcfc1ae7dac53b2c0bb466b2a1a901e1c1"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9972c63c07c143b0ff7a6f00bb77da0e101f3c3a53c12fd6a2b8a591be88c23"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c77457e4d556e36307dabeb835e28730394d0ba6c9d21e370373fd092c162c36"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 24 of 517 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 517 of the 990 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SettingsView.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt, app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearActivity.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/ble/TransmitterManager.kt, app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HATextAndBannersScreen.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/util/tts/TextToSpeechClient.kt, app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearLandingView.kt, app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearTemplateTile.kt (and 16 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SettingsView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7173ff33e665f395abd54f4b8b1aaba3c61bbaf586b7891c3611bd93bdbc0d41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a903487042b7a8df695340acd2dc4ea01e5efb18482db874ac8115f04e52c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/SettingsWearActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc0d66bcf1ff7d23b1ed73dc876a555f410568c2ad4f2d055cdcf1dfcfa303b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/ble/TransmitterManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78be2d63b8ac3430b991963cc6063f2cc492fc35847cae0cdbbc605076fcd40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HATextAndBannersScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f59d7aaa06a67c341aaa672d3dffc454cb14ab8aea44b5b83c6476d917f61b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/util/tts/TextToSpeechClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa10aba34c625bc8f82ab39c06cad057831e6c58675354bfbda689285f53ed90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearLandingView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"747d1ee7e20be38599295fb1745706b14e0b903a2a6fae3e269a11d0cdfb0016"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearTemplateTile.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1057fc206f63dd1ca88ce47c7891249d03a8215a98a9041bb345359b851d2d57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/util/ForegroundServiceLauncher.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"195a7705d405b5f194c02a982c9d43682c8854344406c1bc24b1e872f249614e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearOnboardingView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2911043f0668bcabea3299346d6e612ba05e0571e183c3e706e9a624f7758fe6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearTemplateTileList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f65f55292332f3172df5c365739cab4f62cf96426727c42a6298aaf25b7f0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectShortcutsTileView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7d2d30ecd79ac6a3a162addd0bd00d7b42349d7a14cee08e98b73be0f4acea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/util/tts/AndroidTextToSpeechEngine.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8216517da623dffe35ad2e0de4ad120b842fad6042177f50066da75b5fc18934"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/ble/IBeaconMonitor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdf0de40c56f1df3c3059cb951d06125e4f765726bc95309fa2e24dec339abb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/manual/ManualSetupActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77be829c01f3623be41110943ac19f96571fb67938c3aacc52e364acbd990473"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/integration/MobileAppIntegrationActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d2c91afca2e39b6bae1750836bf21b4920348e20b7fde232f401ffa751b2e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/theme/Color.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3170fb788b2ba05af824a60bdbfd0c184eece7fc1dbe7cd52cffded3c3df1b0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/ServerListAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd94ffb702081af77f4a6be497c5fecefe8998e49598997974ffdc3d2ef30b78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/SingleItemArrayAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee1253cf19e97c630bed2c6f402727825c40c93abe123a58cc067ae0610499"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/BluetoothUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a74062b0d8ea5cd2b93cd8e5a3fe3090c9698683e012dbc1b3668e53654f4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/util/tts/TextToSpeech.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed79f493e459acb66e018c404ecdeb2204110a1fa6d45254ee99bc4e357d6077"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/views/ExpandableListHeader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c324ae033b9a81f92fca2326faea1d70c782c27c590faf820bda57d122bff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectThermostatTileView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f506a4e55506f8741cde901201c54742bdfe4c7cc593c03473a1b53fb529954"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectTemplateTileView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d2edcec1bf30b80035d725c1649c13140abfbba8909d5f1d892e87388667ca"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MessagingManager.kt \u2194 NotificationFunctions.kt: \u0060app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060 (context main) and \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt\u0060 (context common) sit in DIFFERENT parts of the tree yet change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006025eb107c\u0060 Move Emoji.parseToUnicode to Dispatcher.IO (#7108); \u0060d21e938c\u0060 Allow assistant volume control (#7068); \u00606b56bc57\u0060 mobile_app_notification_cleared for wearos (#4035) (at that commit the files were still \u0060app/src/main/java/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060 and \u0060common/src/main/java/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce57b1f4e8630a79cd2f8ad5f879584997c42fe272d07fb0a5f9e26f3168030"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: NotificationFunctions.kt \u2194 MessagingManager.kt: \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt\u0060 (context common) and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060 (context wear) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006025eb107c\u0060 Move Emoji.parseToUnicode to Dispatcher.IO (#7108); \u00606b56bc57\u0060 mobile_app_notification_cleared for wearos (#4035) (at that commit the files were still \u0060common/src/main/java/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060); \u0060cda25479\u0060 Add clear_notification support to Wear OS (#3956) (at that commit the files were still \u0060common/src/main/java/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/notifications/MessagingManager.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce2205d26d1f20c5b777a9d22f7432288ddf46e53f2596ee6a2453660ba0e6a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EntityGridVehicleScreen.kt \u2194 MapVehicleScreen.kt: \u0060app/src/main/kotlin/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt\u0060 and \u0060app/src/main/kotlin/io/homeassistant/companion/android/vehicle/MapVehicleScreen.kt\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00602bdcbfd6\u0060 Mutualize Android Auto navigation_started event firing (#7468); \u006062b81a18\u0060 Remove runBlocking from ServerManager.activeServerId (#5722); \u006090bf7369\u0060 Clean up some left over code after update to getIcon (#3827) (at that commit the files were still \u0060app/src/main/java/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt\u0060 and \u0060app/src/main/java/io/homeassistant/companion/android/vehicle/MapVehicleScreen.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e8009095adc6c9833831264f37d68132cd9b45741c8b5ddfeb8876d68dfb45"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EntityWidget.kt \u2194 TemplateWidget.kt: \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt\u0060 and \u0060app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt\u0060 change together 59% of the time (13 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060514d6c10\u0060 Move away from Main in Widgets (#6415); \u0060e838330d\u0060 Code quality: use compat functions for Android 13 type extras (#4501) (at that commit the files were still \u0060app/src/main/java/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt\u0060 and \u0060app/src/main/java/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt\u0060); \u00607953f81b\u0060 Fix websocket stays subscribed after widget edit due to multiple inst\u2026 (at that commit the files were still \u0060app/src/main/java/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt\u0060 and \u0060app/src/main/java/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48145a31ef7ccd352fe0e7f2b904c421853c16ac8c24b06120f217104ee36a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeView.kt \u2194 SetFavoriteView.kt: \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006064a425ac\u0060 Use ViewState in some views of the watch to avoid concurrent issues (\u2026; \u0060dbb1e8bf\u0060 Use suspend and transactions for Favorites dao (#2398) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060); \u006047962841\u0060 Add areas to entity list on Wear (#2118) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23985675cfef16dbe9dd3965985e8d9c7d3394d16b09dde793f3306d50e84e31"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ServerSettingsFragment.kt \u2194 WebViewActivity.kt: \u0060app/src/main/kotlin/io/homeassistant/companion/android/settings/server/ServerSettingsFragment.kt\u0060 and \u0060app/src/main/kotlin/io/homeassistant/companion/android/webview/WebViewActivity.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602717a340\u0060 Introduce FrontendTarget and use it instead of WebViewActivity (#7087); \u006017e03ca3\u0060 Add app lock feature to FrontendScreen (#6756); \u0060793bf01d\u0060 Add set security level when not set while opening a server (#6097) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/server/ServerSettingsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"866763aaf8d957594a67fc2c01c0afc686471ad36ac059931ba35f606a52315e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LaunchActivity.kt \u2194 HANavHost.kt: \u0060app/src/main/kotlin/io/homeassistant/companion/android/launch/LaunchActivity.kt\u0060 and \u0060app/src/main/kotlin/io/homeassistant/companion/android/util/compose/HANavHost.kt\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006026154d92\u0060 Add dedicated screen for invitation flow instead of WelcomeScreen (#6\u2026; \u006099655c59\u0060 Add support for PiP for FrontendScreen (#6812); \u0060c84d7f44\u0060 Add ExoPlayer support for FrontendScreen from frontend request (#6771) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/launch/LaunchActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08221041e3dbbf2b73bc79f6112da4888d7858fbc8d026d4cb4f4597da7ea735"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ConversationActivity.kt \u2194 ConversationView.kt: \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationActivity.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/conversation/views/ConversationView.kt\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f3071e79\u0060 Wear Assist: show login when logged out, scroll first item into view \u2026 (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/ConversationActivity.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt\u0060); \u0060edf6ba5b\u0060 Use Assist pipeline STT/TTS on Wear OS (#3611) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/ConversationActivity.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt\u0060); \u00603c706bb7\u0060 Update Wear Assist with continued conversations, pipelines (#3604) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/ConversationActivity.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a33fbb21e68c11dc1bdc74e4617373f2ef2c538496923154b10d772166559d5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SensorReceiverBase.kt \u2194 SensorWorker.kt: \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt\u0060 and \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorWorker.kt\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602c3406fe\u0060 Extract SensorReceiverBase update logic into SensorUpdater (#7107); \u00607d93d38b\u0060 Remove DatabaseEntryPoint (#7106) (at that commit the file was still \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorWorkerBase.kt\u0060); \u00602b2ece82\u0060 Remove appdatabase get instance (#6234) (at that commit the file was still \u0060common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorWorkerBase.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0924f7d9fe0bd7b44d5a68d8172edd16f99e332abdea05344e966e72dac68"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeView.kt \u2194 ChooseEntityView.kt: \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/views/ChooseEntityView.kt\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006064a425ac\u0060 Use ViewState in some views of the watch to avoid concurrent issues (\u2026; \u0060d00c8236\u0060 Faster entity selection Wear OS (#2804) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/views/ChooseEntityView.kt\u0060); \u0060131296ad\u0060 Show names on shortcuts tile (#2142) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/HomeView.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/ChooseEntityView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e968477306b1812be38e4c80acffe5a4707763c0c33c22d42737c36ca3b4630"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeActivity.kt \u2194 HomePresenterImpl.kt: \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/HomeActivity.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/HomePresenterImpl.kt\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00606a21a1c2\u0060 Add missing catch when interacting with network (#6264); \u0060a8a73633\u0060 Implement support for multiple Shortcut Tiles on Wear OS (#3697) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/HomeActivity.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/HomePresenterImpl.kt\u0060); \u0060047abe93\u0060 Add new option to only show favorites on home screen (#3276) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/HomeActivity.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/HomePresenterImpl.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/HomeActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbfefead6fd6bc9c8df8fd90c67633ae6904dcb057eb3e79d73be71f36ec3e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainViewModel.kt \u2194 SetFavoriteView.kt: \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt\u0060 and \u0060wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006064a425ac\u0060 Use ViewState in some views of the watch to avoid concurrent issues (\u2026; \u0060dbb1e8bf\u0060 Use suspend and transactions for Favorites dao (#2398) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/MainViewModel.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060); \u006047962841\u0060 Add areas to entity list on Wear (#2118) (at that commit the files were still \u0060wear/src/main/java/io/homeassistant/companion/android/home/MainViewModel.kt\u0060 and \u0060wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc533c87af02570cb6858361ceea2f0bf986c8538012f38be7d455f49f6dedd"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: AndroidAutoSensorManager: \u0060AndroidAutoSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (carConnection; e.g. \u0060carConnection\u0060 in \u0060requestSensorUpdate\u0060 at line 64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/sensors/AndroidAutoSensorManager.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595616b81e86fa8d18e25e977a927a6549303cd60ca8ced75677073e81b7712"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: DevicePolicyManager: \u0060DevicePolicyManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (isManagedProfileAvailable; e.g. \u0060isManagedProfileAvailable\u0060 in \u0060requestSensorUpdate\u0060 at line 55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/sensors/DevicePolicyManager.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"318c58a7ea7a18c22ea6e197f719b64c2c4c1e5a7633cdcab27682da7bd7bdfd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: AudioSensorManager: \u0060AudioSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (sensorIdsWithMatchingAttributes; e.g. \u0060sensorIdsWithMatchingAttributes\u0060 in \u0060areAttributesOfSensorAlreadyForcedAtRuntimeOrMatching\u0060 at line 512)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AudioSensorManager.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2436c1c9490ad816b5747ef3ffbd6848740ad5ccb684c91a2c433bc3320f02e5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LightSensorManager: \u0060LightSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager; e.g. \u0060mySensorManager\u0060 in \u0060updateLightSensor\u0060 at line 75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"550c29d912debfc153662dfd63d2ae6ad43e2f3f54596ba2433123196aa06cf3"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: PressureSensorManager: \u0060PressureSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager; e.g. \u0060mySensorManager\u0060 in \u0060updatePressureSensor\u0060 at line 76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PressureSensorManager.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2abce62e792c5b665415c16e09536f45410b3ab7d5ca0396b399f19cb5f2e32"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ProximitySensorManager: \u0060ProximitySensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager, maxRange; e.g. \u0060mySensorManager\u0060 in \u0060updateProximitySensor\u0060 at line 75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/ProximitySensorManager.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"434824b3e50cb62ec43a004351ce75150b3b4f6d8a7131d1520cc9a30c0bca1c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: StepsSensorManager: \u0060StepsSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager; e.g. \u0060mySensorManager\u0060 in \u0060updateStepsSensor\u0060 at line 82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/StepsSensorManager.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f43a229e5be30ba3ad43d269cff477e161c8eab30d981df072309b4691ebeed"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: HealthServicesSensorManager: \u0060HealthServicesSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (healthClient, passiveMonitoringClient, passiveMonitoringCapabilities, passiveListenerConfig, activityStateRegistered, dataTypesRegistered; e.g. \u0060healthClient\u0060 in \u0060getAvailableSensors\u0060 at line 178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"260a8e8172d8753c681f7e76ea18dcc8025388b574e8348964f6f80530222578"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: HeartRateSensorManager: \u0060HeartRateSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager; e.g. \u0060mySensorManager\u0060 in \u0060updateHeartRate\u0060 at line 99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HeartRateSensorManager.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"726bddf64e84dee4001ca19a5dab906264dd8de6e07934e38244c62604b4e607"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: OnBodySensorManager: \u0060OnBodySensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mySensorManager; e.g. \u0060mySensorManager\u0060 in \u0060hasSensor\u0060 at line 68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/OnBodySensorManager.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7971d1428860ac51b656797682820a0aec9931af2d75612ddbdc6464caa41d15"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: WetModeSensorManager: \u0060WetModeSensorManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (wetModeEnabled; e.g. \u0060wetModeEnabled\u0060 in \u0060requestSensorUpdate\u0060 at line 55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/WetModeSensorManager.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6324784c8dc2a2ff3edeecd1eda78b9a7773919b9275b36e31fb81a1bc6def50"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Authentication: \u0060Authentication\u0060\u0027s public constructor takes \u0060host\u0060, \u0060username\u0060, \u0060password\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Authentication\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b7b1e9a7818badb1bbfde6371fcb3142ba26632eeb71def82bc6e98b32189b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: LocationHistoryItem: \u0060LocationHistoryItem\u0060\u0027s public constructor takes \u0060latitude\u0060, \u0060longitude\u0060, \u0060locationName\u0060, \u0060data\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060LocationHistoryItem\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8b02f1e5192544eb07163af3872567a80f620a53a0ddb7b02b03475ca3b94"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MediaControlsConfig: \u0060MediaControlsConfig\u0060\u0027s public constructor takes \u0060entityId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MediaControlsConfig\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/mediacontrol/MediaControlsConfig.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59b2cc8cdd3a0a4251fb11792a9021c802c3084b1fe821ab5441c154c21d74e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: NotificationItem: \u0060NotificationItem\u0060\u0027s public constructor takes \u0060message\u0060, \u0060data\u0060, \u0060source\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060NotificationItem\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a86e2d2e093b104ba4ec41052d9b35b7c206e570aa321d8c7ceed8d59be5ce2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TileEntity: \u0060TileEntity\u0060\u0027s public constructor takes \u0060tileId\u0060, \u0060iconName\u0060, \u0060entityId\u0060, \u0060label\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TileEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/qs/TileEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd415d4147e8ba05626e0780625dcb21720fa03c5feb3c62fdbba537585991"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Attribute: \u0060Attribute\u0060\u0027s public constructor takes \u0060sensorId\u0060, \u0060name\u0060, \u0060value\u0060, \u0060valueType\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Attribute\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d883c2972b095ad2581689faee8d0a73d6df304f31118d3e75726965767dd1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Sensor: \u0060Sensor\u0060\u0027s public constructor takes \u0060id\u0060, \u0060state\u0060, \u0060lastSentState\u0060, \u0060lastSentIcon\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Sensor\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac286ed8788b1821b4c551df30f2fd0e77ec65404a3eae823eaee1cd6487e9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SensorSetting: \u0060SensorSetting\u0060\u0027s public constructor takes \u0060sensorId\u0060, \u0060name\u0060, \u0060value\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SensorSetting\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6f93d0edb6f6bab54f501a80f324e0a833ff1af8bfc8978e51d0521360c294"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Server: \u0060Server\u0060\u0027s public constructor takes \u0060_name\u0060, \u0060nameOverride\u0060, \u0060_version\u0060, \u0060deviceRegistryId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Server\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"998269431c9086cdec7a5179ccff2168f7f3fe13bf12eaef5a3c8e38d5c21706"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CameraTile: \u0060CameraTile\u0060\u0027s public constructor takes \u0060entityId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CameraTile\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc24078349bce6afe37dadc52d6e7532f7f6af5143b744f759c5749b02b8040a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: EntityStateComplications: \u0060EntityStateComplications\u0060\u0027s public constructor takes \u0060entityId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060EntityStateComplications\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffff80a42547bc3397ea44435a7bb82d51b4da22dad20f6b85a15e0ee0099e2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: FavoriteCaches: \u0060FavoriteCaches\u0060\u0027s public constructor takes \u0060id\u0060, \u0060name\u0060, \u0060icon\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060FavoriteCaches\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0424e61ec4ab387ab781b0f3e371392bc503eadfc6563c7ea4e614045c6ba58c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Favorites: \u0060Favorites\u0060\u0027s public constructor takes \u0060id\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Favorites\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ff5907751cc3d94fb9817aa3960bb19182a4952167ded8d7d5619dbf4330d6"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ThermostatTile: \u0060ThermostatTile\u0060\u0027s public constructor takes \u0060entityId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ThermostatTile\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c256ff6121ccc6d0f01d4396346b455a9a1feaced226f10e964be4148a6e5aea"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ButtonWidgetEntity: \u0060ButtonWidgetEntity\u0060\u0027s public constructor takes \u0060iconName\u0060, \u0060domain\u0060, \u0060service\u0060, \u0060serviceData\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ButtonWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/ButtonWidgetEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e6d7befb0b1e9a8e61182ac7422dfdeb79793f237a59159425b324d32c492d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CameraWidgetEntity: \u0060CameraWidgetEntity\u0060\u0027s public constructor takes \u0060entityId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CameraWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/CameraWidgetEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"127ee803cf941099c474e8c7f26176d6e9a4a3c50ac5ddd949ce1ce3ee3d54a7"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MediaPlayerControlsWidgetEntity: \u0060MediaPlayerControlsWidgetEntity\u0060\u0027s public constructor takes \u0060entityId\u0060, \u0060label\u0060, \u0060textColor\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MediaPlayerControlsWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/MediaPlayerControlsWidgetEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ec11b44f67ec0e6d63f3e5cff8109d2390ff5d2cfea9902892dbe5310b80aa"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: StaticWidgetEntity: \u0060StaticWidgetEntity\u0060\u0027s public constructor takes \u0060entityId\u0060, \u0060attributeIds\u0060, \u0060label\u0060, \u0060stateSeparator\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060StaticWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/StaticWidgetEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19b6e0b228bf48d3d24693272e26ce3c2c0b89f900dd0bc7daa7278cd953f9a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TemplateWidgetEntity: \u0060TemplateWidgetEntity\u0060\u0027s public constructor takes \u0060template\u0060, \u0060lastUpdate\u0060, \u0060textColor\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TemplateWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TemplateWidgetEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c70dfb58ef0dc4655d5abf840eb2520ae6b566ebdc792df6cc3fbeb4921147"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TodoWidgetEntity: \u0060TodoWidgetEntity\u0060\u0027s public constructor takes \u0060entityId\u0060, \u0060textColor\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TodoWidgetEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TodoWidgetEntity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9467dca9cd6da1af0f177364f00858cf7c157d104aa66d76b98ff732da3cd507"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LocationHistoryItem.serverId: \u0060LocationHistoryItem.serverId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f0873113313b15e7721c7b029c2046ca2a5046e7e039a641d3b5f2726d96b8"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: MediaControlsConfig.serverId: \u0060MediaControlsConfig.serverId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/mediacontrol/MediaControlsConfig.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6524ef86afa7edeb83d958e45e47dd98f3ec523d2666e14050693650c797d65c"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: MediaControlsConfig.entityId: \u0060MediaControlsConfig.entityId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/mediacontrol/MediaControlsConfig.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ec41a0af6b62c57dc66978f0487abeba0de68e791aa6b1edf36947b3073da5"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: NotificationItem.serverId: \u0060NotificationItem.serverId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1da2a6ce29321c02eb21e8993fce5ce14a80e30893997d3782001210c35e50"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Attribute.sensorId: \u0060Attribute.sensorId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51621b2f34e9e0019111368fe37cd7a22c006378dc5f69406c7e9dcbfa6d69f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Sensor.serverId: \u0060Sensor.serverId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"74964fbce23bb94a77fec3c06b51795b4956722dc87b9ebd6b6a4689c03fa03e"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SensorSetting.sensorId: \u0060SensorSetting.sensorId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"627c993f3e14a30675de64622ec0efc07ed6c18062d43e8f9c6a932181b1e3fe"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Server.deviceRegistryId: \u0060Server.deviceRegistryId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e023c8851ba5d34873dbd7a5f348ea3a08545d4ee561f9491ad87bbf030500db"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: CameraTile.entityId: \u0060CameraTile.entityId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a80bdc6283c9aa7d8e04b5fa0a26bdd51d800715e90e1119acaa37dbbe03db4"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: EntityStateComplications.entityId: \u0060EntityStateComplications.entityId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3237dbd8b22b71abbf01af37b7d3494a52eb8a907beb4139be14981e50e2f113"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ThermostatTile.entityId: \u0060ThermostatTile.entityId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec660610f0435719c482ed3ebb05d12e80920611e25e5aeccb0aaf24060c007"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Authentication: \u0060Authentication\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ed545c33f82be4c419e0f8288684581b8b38f9f59bfea9d1e9b8e7017a233b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: LocationHistoryItem: \u0060LocationHistoryItem\u0060 is an aggregate/entity with 11 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea47fe921031b5b43c39169a5e2a21e722509b24ea16a453d43ae41da872dcf"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MediaControlsConfig: \u0060MediaControlsConfig\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/mediacontrol/MediaControlsConfig.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9e0f0fa6ceb58e2ab1c7d1ec945a30e97de6919f84f03f32809a3aa4018891"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: NotificationItem: \u0060NotificationItem\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e84ab52af226445d5f170da99fb9bb5a6b643c15e5bd7153426145d7dcdbb6"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Attribute: \u0060Attribute\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83d3959d130a0e84df4ca37e72bc50580c7961aa2197f8072f9dda62d1a51d3"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Sensor: \u0060Sensor\u0060 is an aggregate/entity with 17 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fde73328d73bbaf4decb53c98461323fc15f5fe59e1ebe9bf3f95521e02460"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SensorSetting: \u0060SensorSetting\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0373d7b53c59f99ae5a21fb34d10359f57b444bd4c7bbf6d5b6d78b65a44cb90"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Server: \u0060Server\u0060 is an aggregate/entity with 12 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9beecef51f90c48eabd599ad462e7acaf17d8562c497978628efc7b4c68570d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Setting: \u0060Setting\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/settings/Setting.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"013d237e90861e517172b9e1dff6b275004a6d7751f4c6620e12280ab0301233"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CameraTile: \u0060CameraTile\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f758a5cc9a42555f240fba666c7ca374e340cfebce4cb6dc198eb25b2ed363c8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: EntityStateComplications: \u0060EntityStateComplications\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fc128d0a454e407f5e88056685a9857fa498ac095110c902b8b4d53effdc6e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: FavoriteCaches: \u0060FavoriteCaches\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9f1b714dc0969b61f0b58728b13f443326bd863547d81f4c4901d58ce6cad2"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Favorites: \u0060Favorites\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712af856889f325bb4cfc9ed6ad00fc90b58edafc8c3425ae2a2e9c8db7eeb0"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ThermostatTile: \u0060ThermostatTile\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f56ef96394e52924ebd103131b9f341a5fe3fceb8f99ddc77a25a57dd8bac"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060updateHealthServices\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b88de1f8122fe097e63031be84ab6a0ead60259a8cb533aaaeacce5d058da3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!serverManager.isRegistered() || serverManager.getServer(serverId)?.user?.isAdmin != true\u0060 appears character-identically in 2 files \u2014 app/src/full/kotlin/io/homeassistant/companion/android/matter/MatterManagerImpl.kt, app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/matter/MatterManagerImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d937da2768a7b37499b7ae3041a56afae0456e800ff13dd2c56e429eb09a89b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SdkVersion.isAtLeast(Build.VERSION_CODES.O_MR1) \u0026\u0026 !isAutomotive\u0060 appears character-identically in 2 files \u2014 app/src/full/kotlin/io/homeassistant/companion/android/matter/MatterManagerImpl.kt, app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/full/kotlin/io/homeassistant/companion/android/matter/MatterManagerImpl.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72240dab1d12b12c2e9db17f5869baad6006f83a35140a8af5ce6fd48a47d302"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SdkVersion.isAtLeast(Build.VERSION_CODES.S) \u0026\u0026 BuildConfig.DEBUG \u0026\u0026 !BuildConfig.NO_STRICT_MODE\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt, wear/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3133f8a38803cdd1e68609216ce00697a8f9779dee32ce89d837b1fdbe70fe6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID \u0026\u0026 !requestLauncherSetup\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e3af291268bcb97440c3ea4f1886bbe951253cad7a49f47ea58f3327999426"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause != null \u0026\u0026 cause !is CancellationException\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/assist/wakeword/WakeWordListener.kt, app/src/main/kotlin/io/homeassistant/companion/android/mediacontrols/HaRemoteMediaPlayer.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/wakeword/WakeWordListener.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6872c5b424b76d47145c60e717aaa6359ae0348a2c14db63781b18ceadca3596"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.isActionEnabled \u0026\u0026 serverManager.getServer(current.selectedServerId) != null\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureViewModel.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidgetConfigureViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureViewModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab33419782e8002badd849c844de638c325f8fed6c261b8a5712f189a9e34c9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentVersion == null || currentVersion \u003C 1\u0060 appears character-identically in 2 files \u2014 common/src/main/kotlin/io/homeassistant/companion/android/common/data/prefs/PrefsRepositoryImpl.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/data/prefs/WearPrefsRepositoryImpl.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/prefs/PrefsRepositoryImpl.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a184e60fd4029ceae957604821cc5304be98e6e6dbf0c4d69ad4f37543c6feb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasFocus \u0026\u0026 view is AutoCompleteTextView\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"836665f1c42f146aa39e04c281b0b3cc43886a0ad24b5ac25636e53d4517efd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputMode == AssistInputMode.VOICE_ACTIVE \u0026\u0026 proactive == false\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt, wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"630774ed792c8e9d9a0c933cb9c260120872a69107b33c97d056ece1208a221b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isError \u0026\u0026 inputMode == AssistInputMode.VOICE_ACTIVE\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt, wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88b0cb41dc9826bf5108d434a4975b3854e7f51bdd9c4d80910f7b4b823789"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listenerLastRegistered \u002B SensorManager.SENSOR_LISTENER_TIMEOUT \u003C now \u0026\u0026 isListenerRegistered\u0060 appears character-identically in 4 files \u2014 common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PressureSensorManager.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/ProximitySensorManager.kt, common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/StepsSensorManager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/LightSensorManager.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7159015d620ce456e5b12a7bf38a4059f27133925b6266973532e75399956e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newDomains.size != domains.size || newDomains != domains || !domainsAdded\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/vehicle/DomainListScreen.kt, app/src/main/kotlin/io/homeassistant/companion/android/vehicle/MainVehicleScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/vehicle/DomainListScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee38e8682eaf0ace750036c817adcabc00438c7166fda048126f0e57368cfa53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serverManager.isRegistered() \u0026\u0026 serverManager.authenticationRepository() .getSessionState() == SessionState.CONNECTED\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/vehicle/LoginScreen.kt, app/src/main/kotlin/io/homeassistant/companion/android/vehicle/MainVehicleScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/vehicle/LoginScreen.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbca2b9ebd4eab4f881cdb9fd3bdd08a596eb252334a2cb0d2614bd8fc29635e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serverManager.isRegistered() \u0026\u0026 serverManager.authenticationRepository().getSessionState() == SessionState.CONNECTED\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/launch/LaunchViewModel.kt, wear/src/main/kotlin/io/homeassistant/companion/android/home/HomePresenterImpl.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/launch/LaunchViewModel.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9388f1fbed46bfcbdb653d7cb3d2cd53f0ae34009b59d196031cbab4e4cbcff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tileConfig?.refreshInterval != null \u0026\u0026 tileConfig.refreshInterval!! \u003C= 1\u0060 appears character-identically in 2 files \u2014 wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt, wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f83f443303eee4cbf683ba2579469fe88a9bcdf7a1cb7f17d952e7456c8ee6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget?.backgroundType == WidgetBackgroundType.DYNAMICCOLOR \u0026\u0026 DynamicColors.isDynamicColorAvailable()\u0060 appears character-identically in 4 files \u2014 app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt, app/src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidget.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe0848dcc8a0b0a8b29a47e26c281a6b3e7862222e9727e1524dcdf88791494"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/3 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: tls: \u0060tls\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/connectivity/DefaultConnectivityChecker.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2425c7fc427a24599cd064528b91fe2ef5055044aa26f4d4e107df02a3913db"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: homeAssistant: \u0060homeAssistant\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/connectivity/DefaultConnectivityChecker.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd616c294948205461961ec6001e092dc24031f06158b0e9286498db34817b4f"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getVideoFrames: \u0060getVideoFrames\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd480ee07c71747cced818c145e45733b376cdc6cba7f1bad27e6a282f9121e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/common/data/HomeAssistantApis.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e3ef01734ed10c52e63748bd100444af10d417d32e59c4fe6e3c0884085970"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422bf7f2cfd16d4dff888686e80a660c4d4874bd63abb2d1d8963dae12114f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"5259e457837538ac3a1dfdeab269fd94c38a4534a4d0d8b38b62abc7b4a418ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/settings/notification/views/NotificationDetailView.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed4d898bd95299f86417d2ad4ce480c6d9a9e99e633511c5ec5a8f850328a10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/io/homeassistant/companion/android/frontend/session/ServerSessionManager.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9bb7aabfc8c44fcac17d38cbc847b12bec5eac9e76fffb096a676672629f6e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060fromStringToList\u0060 answers \u0060emptyList()\u0060 when \u0060SerializationException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e797287ac3862afdb3a10e2abae6a401b339d00c2b2a44777453f0981e028"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060fromListToString\u0060 answers \u0060\u0022\u0022\u0060 when \u0060SerializationException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9770ebbdd1a8f692167f6c74a703d9fffec4e2e4f1d7b6151287420bb7ae4a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":128,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}