Executive summary
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
The system holds a 58% health score, marking it as at risk. While the underlying code is clean and the architecture is sound, the business logic layer is fragile. This gap threatens delivery speed and long-term maintainability, as the core domain model fails to enforce its own rules. The asset is substantial, comprising over 100,000 lines of production code. Rebuilding it would cost approximately €190,000 and require 1.3 person-years, highlighting the significant value tied up in this codebase. The low boilerplate ratio indicates that most code represents unique business logic, making it critical to protect rather than replace.
The primary risk is unprotected domain logic. With a domain modeling score of 48%, the system lacks robust encapsulation. Public setters and primitive identifiers allow data to be corrupted before business rules are even applied. This creates a high risk of defects and data integrity issues that are difficult to trace. The cost of these errors manifests as delayed releases and increased debugging time, as engineers must constantly work around weak invariants rather than relying on them.
Secondary concerns involve operational maturity and security readiness. Scores in the low 60s for maturity and readiness suggest the system is not fully optimized for safe, independent operation. While not immediately critical, these gaps increase the likelihood of operational friction and potential security exposure if not addressed. The lack of measured event-driven patterns adds uncertainty to how changes might ripple through the system, though the strong architecture score suggests the foundation can support necessary improvements.
Strengths lie in the clean code and solid architecture. The high scores in code health and architecture indicate that the system is well-structured and easy to understand technically. This provides a stable foundation for remediation. The best immediate action is to enforce strict encapsulation on aggregates. By using guarded constructors or factories that refuse invalid states, the team can immediately reduce defect rates. This single change offers the highest leverage, protecting the most valuable part of the system with minimal effort.
Raise Domain Modelling 48 → 70 (the Healthy floor) ⇒ headline 58 → ~65.
New since the last scan (51+)
- D1 · SettingsActivity.onCreate (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt
- D2 · MessagingManager.handleActions (cognitive 19) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt
- D4 · Near-duplicate member pair (38 shared lines) wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt
- D4 · Duplicated block (12–13 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt
- D5 · Off the main sequence: home-assistant-android:common
- D6 · Low cohesion: MainViewModel (LCOM4 6) wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt
- D6 · Low cohesion: DeveloperSettingsFragment (LCOM4 4) app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/DeveloperSettingsFragment.kt
- D15 · Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt
- D17 · TodoComment app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D30 · REDACTED
- PF3 · Sync-over-async blocking wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt
Rebuild cost & value ~ Modeled — €62,000–€310,000
| Cost to rebuild | €62,000–€310,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 58% quality) |
| Size & shape | Large · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~1.3 person-years of build effort (about ~€190,000 to rebuild). Its weakest lens is Domain Modelling at 48% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 common.compose.composable | 2 common.data | 3 common.sensors.SensorManager | 4 common.util.di | 5 data | 6 database.settings | 7 database.widget | 8 frontend.error | 9 common.data.network | 10 common.data.websocket.impl.entities | 11 database.server | 12 frontend.externalbus | 13 common.data.authentication | 14 common.data.websocket | 15 common.data.integration.impl | 16 common.data.integration | 17 common.data.prefs | 18 database.sensor | 19 common.sensors | 20 database | 21 common.data.servers | 22 common.data.integration.display | 23 common.data.websocket.impl | 24 common.util | 25 matter | 26 sensors | 27 frontend.improv | 28 home | 29 settings.qs | 30 util | 31 io.homeassistant.companion.android | 32 frontend.handler | 33 home.views | 34 launch | 35 assist | 36 frontend.navigation | 37 settings | 38 widgets.todo | 39 frontend | 40 settings.sensor |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 common.compose.composable | ||||||||||||||||||||||||||||||||||||||||
| 2 common.data | ||||||||||||||||||||||||||||||||||||||||
| 3 common.sensors.SensorManager | ||||||||||||||||||||||||||||||||||||||||
| 4 common.util.di | ||||||||||||||||||||||||||||||||||||||||
| 5 data | ||||||||||||||||||||||||||||||||||||||||
| 6 database.settings | ||||||||||||||||||||||||||||||||||||||||
| 7 database.widget | ||||||||||||||||||||||||||||||||||||||||
| 8 frontend.error | ||||||||||||||||||||||||||||||||||||||||
| 9 common.data.network | 2 | |||||||||||||||||||||||||||||||||||||||
| 10 common.data.websocket.impl.entities | 4 | 1 | ||||||||||||||||||||||||||||||||||||||
| 11 database.server | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 frontend.externalbus | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 common.data.authentication | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 14 common.data.websocket | 1 | 24 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 15 common.data.integration.impl | 1 | 3 | 1 | 1 | 7 | 2 | ||||||||||||||||||||||||||||||||||
| 16 common.data.integration | 1 | 1 | 4 | 2 | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 17 common.data.prefs | 4 | 1 | 2 | 4 | ||||||||||||||||||||||||||||||||||||
| 18 database.sensor | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 common.sensors | 26 | 1 | 2 | 8 | 26 | 1 | ||||||||||||||||||||||||||||||||||
| 20 database | 2 | 12 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 21 common.data.servers | 1 | 1 | 3 | 8 | 3 | 4 | 4 | 1 | 1 | |||||||||||||||||||||||||||||||
| 22 common.data.integration.display | 8 | 1 | 25 | 1 | ||||||||||||||||||||||||||||||||||||
| 23 common.data.websocket.impl | 4 | 27 | 1 | 6 | 1 | 4 | ||||||||||||||||||||||||||||||||||
| 24 common.util | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 matter | 2 | 1 | 1 | 4 | ||||||||||||||||||||||||||||||||||||
| 26 sensors | 17 | 1 | 2 | 1 | 39 | 18 | ||||||||||||||||||||||||||||||||||
| 27 frontend.improv | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 home | 1 | 3 | 12 | 2 | 2 | 1 | 2 | 1 | 3 | |||||||||||||||||||||||||||||||
| 29 settings.qs | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 30 util | 1 | 1 | 2 | 2 | 1 | 1 | 1 | 3 | 3 | 4 | 1 | 18 | ||||||||||||||||||||||||||||
| 31 io.homeassistant.companion.android | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 32 frontend.handler | 1 | 1 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 33 home.views | 2 | 1 | 3 | 2 | 3 | 7 | 1 | |||||||||||||||||||||||||||||||||
| 34 launch | 2 | 1 | 1 | 1 | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||
| 35 assist | 1 | 1 | 3 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 frontend.navigation | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 settings | 5 | 3 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 38 widgets.todo | 7 | 2 | 2 | 6 | 1 | |||||||||||||||||||||||||||||||||||
| 39 frontend | 6 | 1 | 3 | 1 | 3 | 1 | 3 | 2 | 1 | 2 | ||||||||||||||||||||||||||||||
| 40 settings.sensor | 1 | 1 | 1 | 3 | 4 | 1 | 1 | 1 |
9→21 common.data.network depends on common.data.servers cycle✕
- Type pairs
- 2 distinct (type in common.data.network → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.common.data.network.NetworkStatusMonitor→io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderio.homeassistant.companion.android.common.data.network.NetworkStatusMonitorImpl→io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProvider
- Direction
- common.data.network uses common.data.servers. Changing common.data.servers can break common.data.network, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
10→16 common.data.websocket.impl.entities depends on common.data.integration cycle✕
- Type pairs
- 4 distinct (type in common.data.websocket.impl.entities → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.entities.CompressedEntityState→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.common.data.websocket.impl.entities.DomainResponse→io.homeassistant.companion.android.common.data.integration.ActionDataio.homeassistant.companion.android.common.data.websocket.impl.entities.StateChangedEvent→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.common.data.websocket.impl.entities.TriggerEvent→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- common.data.websocket.impl.entities uses common.data.integration. Changing common.data.integration can break common.data.websocket.impl.entities, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
10→24 common.data.websocket.impl.entities depends on common.util cycle✕
- Type pairs
- 1 distinct (type in common.data.websocket.impl.entities → type in common.util) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.entities.UnknownTypeSocketResponse→io.homeassistant.companion.android.common.util.UnknownJsonContent
- Direction
- common.data.websocket.impl.entities uses common.util. Changing common.util can break common.data.websocket.impl.entities, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
11→2 database.server depends on common.data✕
- Type pairs
- 1 distinct (type in database.server → type in common.data) reference.
- Which types
io.homeassistant.companion.android.database.server.Server→io.homeassistant.companion.android.common.data.HomeAssistantVersion
- Direction
- database.server uses common.data. Changing common.data can break database.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→39 frontend.externalbus depends on frontend cycle✕
- Type pairs
- 1 distinct (type in frontend.externalbus → type in frontend) reference.
- Which types
io.homeassistant.companion.android.frontend.externalbus.FrontendExternalBusRepository→io.homeassistant.companion.android.frontend.WebViewAction
- Direction
- frontend.externalbus uses frontend. Changing frontend can break frontend.externalbus, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
13→2 common.data.authentication depends on common.data✕
- Type pairs
- 1 distinct (type in common.data.authentication → type in common.data) reference.
- Which types
io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryFactory→io.homeassistant.companion.android.common.data.LocalStorage
- Direction
- common.data.authentication uses common.data. Changing common.data can break common.data.authentication, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→4 common.data.authentication depends on common.util.di✕
- Type pairs
- 2 distinct (type in common.data.authentication → type in common.util.di) references.
- Which types
io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryFactory→io.homeassistant.companion.android.common.util.di.SuspendProviderio.homeassistant.companion.android.common.data.authentication.ServerRegistrationRepository→io.homeassistant.companion.android.common.util.di.SuspendProvider
- Direction
- common.data.authentication uses common.util.di. Changing common.util.di can break common.data.authentication, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→11 common.data.authentication depends on database.server✕
- Type pairs
- 1 distinct (type in common.data.authentication → type in database.server) reference.
- Which types
io.homeassistant.companion.android.common.data.authentication.ServerRegistrationRepository→io.homeassistant.companion.android.database.server.TemporaryServer
- Direction
- common.data.authentication uses database.server. Changing database.server can break common.data.authentication, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→21 common.data.authentication depends on common.data.servers cycle✕
- Type pairs
- 1 distinct (type in common.data.authentication → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryFactory→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.authentication uses common.data.servers. Changing common.data.servers can break common.data.authentication, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→4 common.data.websocket depends on common.util.di✕
- Type pairs
- 1 distinct (type in common.data.websocket → type in common.util.di) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.WebSocketCoreFactory→io.homeassistant.companion.android.common.util.di.SuspendProvider
- Direction
- common.data.websocket uses common.util.di. Changing common.util.di can break common.data.websocket, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→10 common.data.websocket depends on common.data.websocket.impl.entities✕
- Type pairs
- 24 distinct (type in common.data.websocket → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.WebSocketCore→io.homeassistant.companion.android.common.data.websocket.impl.entities.RawMessageSocketResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineListResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.CompressedStateChangedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.ConversationResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.CurrentUserResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.DomainResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryDisplayResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.FloorRegistryResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetConfigResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetTodosResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.MatterCommissionResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.StateChangedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.TemplateUpdatedEventio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.ThreadDatasetResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.ThreadDatasetTlvResponseio.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.TriggerEvent
- Direction
- common.data.websocket uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break common.data.websocket, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→11 common.data.websocket depends on database.server✕
- Type pairs
- 1 distinct (type in common.data.websocket → type in database.server) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.WebSocketCore→io.homeassistant.companion.android.database.server.Server
- Direction
- common.data.websocket uses database.server. Changing database.server can break common.data.websocket, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→16 common.data.websocket depends on common.data.integration cycle✕
- Type pairs
- 1 distinct (type in common.data.websocket → type in common.data.integration) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.WebSocketRepository→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- common.data.websocket uses common.data.integration. Changing common.data.integration can break common.data.websocket, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→21 common.data.websocket depends on common.data.servers cycle✕
- Type pairs
- 2 distinct (type in common.data.websocket → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.WebSocketCoreFactory→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.data.websocket.WebSocketRepositoryFactory→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.websocket uses common.data.servers. Changing common.data.servers can break common.data.websocket, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
15→2 common.data.integration.impl depends on common.data✕
- Type pairs
- 1 distinct (type in common.data.integration.impl → type in common.data) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.LocalStorage
- Direction
- common.data.integration.impl uses common.data. Changing common.data can break common.data.integration.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→10 common.data.integration.impl depends on common.data.websocket.impl.entities✕
- Type pairs
- 3 distinct (type in common.data.integration.impl → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineEventio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetConfigResponseio.homeassistant.companion.android.common.data.integration.impl.IntegrationService→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetConfigResponse
- Direction
- common.data.integration.impl uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break common.data.integration.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→11 common.data.integration.impl depends on database.server✕
- Type pairs
- 1 distinct (type in common.data.integration.impl → type in database.server) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.database.server.Server
- Direction
- common.data.integration.impl uses database.server. Changing database.server can break common.data.integration.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→14 common.data.integration.impl depends on common.data.websocket✕
- Type pairs
- 1 distinct (type in common.data.integration.impl → type in common.data.websocket) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketRepository
- Direction
- common.data.integration.impl uses common.data.websocket. Changing common.data.websocket can break common.data.integration.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→16 common.data.integration.impl depends on common.data.integration cycle✕
- Type pairs
- 7 distinct (type in common.data.integration.impl → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.Actionio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.DeviceRegistrationio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.SensorRegistrationio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.integration.UpdateLocationio.homeassistant.companion.android.common.data.integration.impl.IntegrationService→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- common.data.integration.impl uses common.data.integration. Changing common.data.integration can break common.data.integration.impl, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
15→21 common.data.integration.impl depends on common.data.servers cycle✕
- Type pairs
- 2 distinct (type in common.data.integration.impl → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderio.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.integration.impl uses common.data.servers. Changing common.data.servers can break common.data.integration.impl, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
16→2 common.data.integration depends on common.data✕
- Type pairs
- 1 distinct (type in common.data.integration → type in common.data) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactory→io.homeassistant.companion.android.common.data.LocalStorage
- Direction
- common.data.integration uses common.data. Changing common.data can break common.data.integration, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→4 common.data.integration depends on common.util.di✕
- Type pairs
- 1 distinct (type in common.data.integration → type in common.util.di) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactory→io.homeassistant.companion.android.common.util.di.SuspendProvider
- Direction
- common.data.integration uses common.util.di. Changing common.util.di can break common.data.integration, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→10 common.data.integration depends on common.data.websocket.impl.entities✕
- Type pairs
- 4 distinct (type in common.data.integration → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.common.data.integration.EntityKt→io.homeassistant.companion.android.common.data.websocket.impl.entities.CompressedStateDiffio.homeassistant.companion.android.common.data.integration.EntityKt→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryOptionsio.homeassistant.companion.android.common.data.integration.IntegrationRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineEventio.homeassistant.companion.android.common.data.integration.IntegrationRepository→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetConfigResponse
- Direction
- common.data.integration uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break common.data.integration, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→15 common.data.integration depends on common.data.integration.impl✕
- Type pairs
- 2 distinct (type in common.data.integration → type in common.data.integration.impl) references.
- Which types
io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactory→io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImplio.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactory→io.homeassistant.companion.android.common.data.integration.impl.IntegrationService
- Direction
- common.data.integration uses common.data.integration.impl. Changing common.data.integration.impl can break common.data.integration, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→21 common.data.integration depends on common.data.servers cycle✕
- Type pairs
- 1 distinct (type in common.data.integration → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactory→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.integration uses common.data.servers. Changing common.data.servers can break common.data.integration, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
16→24 common.data.integration depends on common.util cycle✕
- Type pairs
- 2 distinct (type in common.data.integration → type in common.util) references.
- Which types
io.homeassistant.companion.android.common.data.integration.DeviceRegistration→io.homeassistant.companion.android.common.util.AppVersionio.homeassistant.companion.android.common.data.integration.DeviceRegistration→io.homeassistant.companion.android.common.util.MessagingToken
- Direction
- common.data.integration uses common.util. Changing common.util can break common.data.integration, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→2 common.data.prefs depends on common.data✕
- Type pairs
- 4 distinct (type in common.data.prefs → type in common.data) references.
- Which types
io.homeassistant.companion.android.common.data.prefs.LocalStorageWithMigration→io.homeassistant.companion.android.common.data.LocalStorageio.homeassistant.companion.android.common.data.prefs.PrefsRepositoryImpl→io.homeassistant.companion.android.common.data.LocalStorageio.homeassistant.companion.android.common.data.prefs.WearLocalStorageWithMigration→io.homeassistant.companion.android.common.data.LocalStorageio.homeassistant.companion.android.common.data.prefs.WearPrefsRepositoryImpl→io.homeassistant.companion.android.common.data.LocalStorage
- Direction
- common.data.prefs uses common.data. Changing common.data can break common.data.prefs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→4 common.data.prefs depends on common.util.di✕
- Type pairs
- 1 distinct (type in common.data.prefs → type in common.util.di) reference.
- Which types
io.homeassistant.companion.android.common.data.prefs.PrefsRepositoryImpl→io.homeassistant.companion.android.common.util.di.SuspendProvider
- Direction
- common.data.prefs uses common.util.di. Changing common.util.di can break common.data.prefs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→16 common.data.prefs depends on common.data.integration✕
- Type pairs
- 2 distinct (type in common.data.prefs → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.common.data.prefs.PrefsRepository→io.homeassistant.companion.android.common.data.integration.ControlsAuthRequiredSettingio.homeassistant.companion.android.common.data.prefs.PrefsRepositoryImpl→io.homeassistant.companion.android.common.data.integration.ControlsAuthRequiredSetting
- Direction
- common.data.prefs uses common.data.integration. Changing common.data.integration can break common.data.prefs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→24 common.data.prefs depends on common.util cycle✕
- Type pairs
- 4 distinct (type in common.data.prefs → type in common.util) references.
- Which types
io.homeassistant.companion.android.common.data.prefs.PrefsRepository→io.homeassistant.companion.android.common.util.GestureActionio.homeassistant.companion.android.common.data.prefs.PrefsRepository→io.homeassistant.companion.android.common.util.HAGestureio.homeassistant.companion.android.common.data.prefs.PrefsRepositoryImpl→io.homeassistant.companion.android.common.util.GestureActionio.homeassistant.companion.android.common.data.prefs.PrefsRepositoryImpl→io.homeassistant.companion.android.common.util.HAGesture
- Direction
- common.data.prefs uses common.util. Changing common.util can break common.data.prefs, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→3 database.sensor depends on common.sensors.SensorManager✕
- Type pairs
- 1 distinct (type in database.sensor → type in common.sensors.SensorManager) reference.
- Which types
io.homeassistant.companion.android.database.sensor.SensorWithAttributes→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- database.sensor uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break database.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→16 database.sensor depends on common.data.integration✕
- Type pairs
- 1 distinct (type in database.sensor → type in common.data.integration) reference.
- Which types
io.homeassistant.companion.android.database.sensor.SensorWithAttributes→io.homeassistant.companion.android.common.data.integration.SensorRegistration
- Direction
- database.sensor uses common.data.integration. Changing common.data.integration can break database.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→3 common.sensors depends on common.sensors.SensorManager✕
- Type pairs
- 26 distinct (type in common.sensors → type in common.sensors.SensorManager) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
io.homeassistant.companion.android.common.sensors.AndroidOsSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.AppSensorManagerBase→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.AudioSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.BatterySensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.BluetoothSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.DNDSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.DisplaySensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.KeyguardSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.LastRebootSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.LastUpdateManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.LightSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.MobileDataManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.NetworkSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.NextAlarmManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.NfcSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.PhoneStateSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.PowerSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.PressureSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.ProximitySensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.SensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.SensorUpdater→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.StepsSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.StorageSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.common.sensors.TimeZoneManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- common.sensors uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break common.sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→6 common.sensors depends on database.settings✕
- Type pairs
- 1 distinct (type in common.sensors → type in database.settings) reference.
- Which types
io.homeassistant.companion.android.common.sensors.SensorReceiverBase→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- common.sensors uses database.settings. Changing database.settings can break common.sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→11 common.sensors depends on database.server✕
- Type pairs
- 2 distinct (type in common.sensors → type in database.server) references.
- Which types
io.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.database.server.ServerDaoio.homeassistant.companion.android.common.sensors.SensorUpdater→io.homeassistant.companion.android.database.server.Server
- Direction
- common.sensors uses database.server. Changing database.server can break common.sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→18 common.sensors depends on database.sensor✕
- Type pairs
- 8 distinct (type in common.sensors → type in database.sensor) references.
- Which types
io.homeassistant.companion.android.common.sensors.SensorRepository→io.homeassistant.companion.android.database.sensor.Attributeio.homeassistant.companion.android.common.sensors.SensorRepository→io.homeassistant.companion.android.database.sensor.Sensorio.homeassistant.companion.android.common.sensors.SensorRepository→io.homeassistant.companion.android.database.sensor.SensorSettingio.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.database.sensor.Attributeio.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.database.sensor.Sensorio.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.database.sensor.SensorDaoio.homeassistant.companion.android.common.sensors.SensorRepositoryImpl→io.homeassistant.companion.android.database.sensor.SensorSettingio.homeassistant.companion.android.common.sensors.SensorUpdater→io.homeassistant.companion.android.database.sensor.SensorWithAttributes
- Direction
- common.sensors uses database.sensor. Changing database.sensor can break common.sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→21 common.sensors depends on common.data.servers cycle✕
- Type pairs
- 26 distinct (type in common.sensors → type in common.data.servers) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
io.homeassistant.companion.android.common.sensors.AndroidOsSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.AppSensorManagerBase→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.AudioSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.BatterySensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.BluetoothSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.DNDSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.DisplaySensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.KeyguardSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.LastRebootSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.LastUpdateManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.LightSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.MobileDataManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.NetworkSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.NextAlarmManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.NfcSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.PhoneStateSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.PowerSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.PressureSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.ProximitySensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.SensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.SensorReceiverBase→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.SensorUpdater→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.StepsSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.StorageSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.sensors.TimeZoneManager→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.sensors uses common.data.servers. Changing common.data.servers can break common.sensors, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
19→24 common.sensors depends on common.util cycle✕
- Type pairs
- 1 distinct (type in common.sensors → type in common.util) reference.
- Which types
io.homeassistant.companion.android.common.sensors.SensorUpdater→io.homeassistant.companion.android.common.util.AppVersion
- Direction
- common.sensors uses common.util. Changing common.util can break common.sensors, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
20→6 database depends on database.settings✕
- Type pairs
- 2 distinct (type in database → type in database.settings) references.
- Which types
io.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.settings.SettingsDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- database uses database.settings. Changing database.settings can break database, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→7 database depends on database.widget✕
- Type pairs
- 12 distinct (type in database → type in database.widget) references.
- Which types
io.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.ButtonWidgetDaoio.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.CameraWidgetDaoio.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.MediaPlayerControlsWidgetDaoio.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.StaticWidgetDaoio.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.TemplateWidgetDaoio.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.widget.TodoWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.ButtonWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.CameraWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.MediaPlayerControlsWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.StaticWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.TemplateWidgetDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.widget.TodoWidgetDao
- Direction
- database uses database.widget. Changing database.widget can break database, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→11 database depends on database.server✕
- Type pairs
- 2 distinct (type in database → type in database.server) references.
- Which types
io.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.server.ServerDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.server.ServerDao
- Direction
- database uses database.server. Changing database.server can break database, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→18 database depends on database.sensor✕
- Type pairs
- 2 distinct (type in database → type in database.sensor) references.
- Which types
io.homeassistant.companion.android.database.AppDatabase→io.homeassistant.companion.android.database.sensor.SensorDaoio.homeassistant.companion.android.database.DatabaseModule→io.homeassistant.companion.android.database.sensor.SensorDao
- Direction
- database uses database.sensor. Changing database.sensor can break database, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→2 common.data.servers depends on common.data✕
- Type pairs
- 1 distinct (type in common.data.servers → type in common.data) reference.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.LocalStorage
- Direction
- common.data.servers uses common.data. Changing common.data can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→6 common.data.servers depends on database.settings✕
- Type pairs
- 1 distinct (type in common.data.servers → type in database.settings) reference.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- common.data.servers uses database.settings. Changing database.settings can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→9 common.data.servers depends on common.data.network✕
- Type pairs
- 3 distinct (type in common.data.servers → type in common.data.network) references.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderImpl→io.homeassistant.companion.android.common.data.network.NetworkChangeObserverio.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderImpl→io.homeassistant.companion.android.common.data.network.NetworkHelperio.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderImpl→io.homeassistant.companion.android.common.data.network.WifiHelper
- Direction
- common.data.servers uses common.data.network. Changing common.data.network can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→11 common.data.servers depends on database.server✕
- Type pairs
- 8 distinct (type in common.data.servers → type in database.server) references.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProvider→io.homeassistant.companion.android.database.server.ServerConnectionInfoio.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderImpl→io.homeassistant.companion.android.database.server.ServerConnectionInfoio.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderImpl→io.homeassistant.companion.android.database.server.ServerDaoio.homeassistant.companion.android.common.data.servers.ServerManager→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.common.data.servers.ServerManager→io.homeassistant.companion.android.database.server.TemporaryServerio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.database.server.ServerDaoio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.database.server.TemporaryServer
- Direction
- common.data.servers uses database.server. Changing database.server can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→13 common.data.servers depends on common.data.authentication✕
- Type pairs
- 3 distinct (type in common.data.servers → type in common.data.authentication) references.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManager→io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.authentication.AuthenticationRepositoryFactory
- Direction
- common.data.servers uses common.data.authentication. Changing common.data.authentication can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→14 common.data.servers depends on common.data.websocket✕
- Type pairs
- 4 distinct (type in common.data.servers → type in common.data.websocket) references.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManager→io.homeassistant.companion.android.common.data.websocket.WebSocketRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketRepositoryFactoryio.homeassistant.companion.android.common.data.servers.ServerManagerKt→io.homeassistant.companion.android.common.data.websocket.WebSocketRepository
- Direction
- common.data.servers uses common.data.websocket. Changing common.data.websocket can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→16 common.data.servers depends on common.data.integration✕
- Type pairs
- 4 distinct (type in common.data.servers → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManager→io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryio.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.integration.IntegrationRepositoryFactoryio.homeassistant.companion.android.common.data.servers.ServerManagerKt→io.homeassistant.companion.android.common.data.integration.IntegrationRepository
- Direction
- common.data.servers uses common.data.integration. Changing common.data.integration can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→17 common.data.servers depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in common.data.servers → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.data.prefs.PrefsRepository
- Direction
- common.data.servers uses common.data.prefs. Changing common.data.prefs can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→19 common.data.servers depends on common.sensors✕
- Type pairs
- 1 distinct (type in common.data.servers → type in common.sensors) reference.
- Which types
io.homeassistant.companion.android.common.data.servers.ServerManagerImpl→io.homeassistant.companion.android.common.sensors.SensorRepository
- Direction
- common.data.servers uses common.sensors. Changing common.sensors can break common.data.servers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→10 common.data.integration.display depends on common.data.websocket.impl.entities✕
- Type pairs
- 8 distinct (type in common.data.integration.display → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.websocket.impl.entities.FloorRegistryResponseio.homeassistant.companion.android.common.data.integration.display.EntityRegistryEntries→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryDisplayEntryio.homeassistant.companion.android.common.data.integration.display.EntityRegistryEntries→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryResponseio.homeassistant.companion.android.common.data.integration.display.RegistrySnapshot→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.common.data.integration.display.RegistrySnapshot→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.common.data.integration.display.RegistrySnapshot→io.homeassistant.companion.android.common.data.websocket.impl.entities.FloorRegistryResponse
- Direction
- common.data.integration.display uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break common.data.integration.display, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→14 common.data.integration.display depends on common.data.websocket✕
- Type pairs
- 1 distinct (type in common.data.integration.display → type in common.data.websocket) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.websocket.WebSocketRepository
- Direction
- common.data.integration.display uses common.data.websocket. Changing common.data.websocket can break common.data.integration.display, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→16 common.data.integration.display depends on common.data.integration✕
- Type pairs
- 25 distinct (type in common.data.integration.display → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.CameraControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.ClimateControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.CoverControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.EntityCoordinatesio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.EntityPositionio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.FanControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.FriendlyStateio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.LightControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.MediaPlayerControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.NumberControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplay→io.homeassistant.companion.android.common.data.integration.VacuumControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.CameraControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.ClimateControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.CoverControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.EntityCoordinatesio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.EntityPositionio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.FanControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.FriendlyStateio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.LightControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.MediaPlayerControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.NumberControlsio.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithoutContext→io.homeassistant.companion.android.common.data.integration.VacuumControlsio.homeassistant.companion.android.common.data.integration.display.EntityRegistryEntries→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- common.data.integration.display uses common.data.integration. Changing common.data.integration can break common.data.integration.display, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→21 common.data.integration.display depends on common.data.servers✕
- Type pairs
- 1 distinct (type in common.data.integration.display → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.integration.display uses common.data.servers. Changing common.data.servers can break common.data.integration.display, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→2 common.data.websocket.impl depends on common.data✕
- Type pairs
- 4 distinct (type in common.data.websocket.impl → type in common.data) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.ConnectionHolder→io.homeassistant.companion.android.common.data.HomeAssistantVersionio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.HomeAssistantVersionio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.HomeAssistantVersionio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImplKt→io.homeassistant.companion.android.common.data.HomeAssistantVersion
- Direction
- common.data.websocket.impl uses common.data. Changing common.data can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→10 common.data.websocket.impl depends on common.data.websocket.impl.entities✕
- Type pairs
- 27 distinct (type in common.data.websocket.impl → type in common.data.websocket.impl.entities) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.ActiveMessage→io.homeassistant.companion.android.common.data.websocket.impl.entities.RawMessageSocketResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EventSocketResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.RawMessageSocketResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineListResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.CompressedStateChangedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.ConversationResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.CurrentUserResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.DomainResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryDisplayResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryUpdatedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.FloorRegistryResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetConfigResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.GetTodosResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.MatterCommissionResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.RawMessageSocketResponseio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.StateChangedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.TemplateUpdatedEventio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.ThreadDatasetResponse
- Direction
- common.data.websocket.impl uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→11 common.data.websocket.impl depends on database.server✕
- Type pairs
- 1 distinct (type in common.data.websocket.impl → type in database.server) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.database.server.Server
- Direction
- common.data.websocket.impl uses database.server. Changing database.server can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→14 common.data.websocket.impl depends on common.data.websocket✕
- Type pairs
- 6 distinct (type in common.data.websocket.impl → type in common.data.websocket) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketCoreio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketRequestio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketStateio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketCoreio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketRepositoryio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketState
- Direction
- common.data.websocket.impl uses common.data.websocket. Changing common.data.websocket can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→16 common.data.websocket.impl depends on common.data.integration✕
- Type pairs
- 1 distinct (type in common.data.websocket.impl → type in common.data.integration) reference.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- common.data.websocket.impl uses common.data.integration. Changing common.data.integration can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→21 common.data.websocket.impl depends on common.data.servers✕
- Type pairs
- 4 distinct (type in common.data.websocket.impl → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.common.data.websocket.impl.WebSocketCoreImpl→io.homeassistant.companion.android.common.data.servers.UrlStateio.homeassistant.companion.android.common.data.websocket.impl.WebSocketRepositoryImpl→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.data.websocket.impl uses common.data.servers. Changing common.data.servers can break common.data.websocket.impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→4 common.util depends on common.util.di✕
- Type pairs
- 2 distinct (type in common.util → type in common.util.di) references.
- Which types
io.homeassistant.companion.android.common.util.AudioUrlPlayer→io.homeassistant.companion.android.common.util.di.SuspendProviderio.homeassistant.companion.android.common.util.UtilModule→io.homeassistant.companion.android.common.util.di.SuspendProvider
- Direction
- common.util uses common.util.di. Changing common.util.di can break common.util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→11 common.util depends on database.server✕
- Type pairs
- 2 distinct (type in common.util → type in database.server) references.
- Which types
io.homeassistant.companion.android.common.util.CheckLocalNetworkPermissionUseCase→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.common.util.LocalNetworkPermissionWarning→io.homeassistant.companion.android.database.server.Server
- Direction
- common.util uses database.server. Changing database.server can break common.util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→21 common.util depends on common.data.servers✕
- Type pairs
- 1 distinct (type in common.util → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.common.util.CheckLocalNetworkPermissionUseCase→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- common.util uses common.data.servers. Changing common.data.servers can break common.util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→10 matter depends on common.data.websocket.impl.entities✕
- Type pairs
- 2 distinct (type in matter → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.matter.MatterManager→io.homeassistant.companion.android.common.data.websocket.impl.entities.MatterCommissionResponseio.homeassistant.companion.android.matter.MatterManagerImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.MatterCommissionResponse
- Direction
- matter uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break matter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→11 matter depends on database.server✕
- Type pairs
- 1 distinct (type in matter → type in database.server) reference.
- Which types
io.homeassistant.companion.android.matter.MatterManagerImplTest→io.homeassistant.companion.android.database.server.Server
- Direction
- matter uses database.server. Changing database.server can break matter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→14 matter depends on common.data.websocket✕
- Type pairs
- 1 distinct (type in matter → type in common.data.websocket) reference.
- Which types
io.homeassistant.companion.android.matter.MatterManagerImplTest→io.homeassistant.companion.android.common.data.websocket.WebSocketRepository
- Direction
- matter uses common.data.websocket. Changing common.data.websocket can break matter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→21 matter depends on common.data.servers✕
- Type pairs
- 4 distinct (type in matter → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.matter.MatterCommissioningService→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.matter.MatterCommissioningViewModel→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.matter.MatterManagerImpl→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.matter.MatterManagerImplTest→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- matter uses common.data.servers. Changing common.data.servers can break matter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→3 sensors depends on common.sensors.SensorManager✕
- Type pairs
- 17 distinct (type in sensors → type in common.sensors.SensorManager) references.
- Which types
io.homeassistant.companion.android.sensors.ActivitySensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.AndroidAutoSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.BedtimeModeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.CarSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.DevicePolicyManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.DynamicColorSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.GeocodeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.HealthConnectSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.HealthServicesSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.HeartRateSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.LastAppSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.LocationSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.NotificationListenerSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.OnBodySensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.QuestSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.TheaterModeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.sensors.WetModeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- sensors uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→6 sensors depends on database.settings✕
- Type pairs
- 1 distinct (type in sensors → type in database.settings) reference.
- Which types
io.homeassistant.companion.android.sensors.ActivitySensorManager→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- sensors uses database.settings. Changing database.settings can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→16 sensors depends on common.data.integration✕
- Type pairs
- 2 distinct (type in sensors → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.sensors.LocationSensorManager→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.sensors.LocationSensorManager→io.homeassistant.companion.android.common.data.integration.UpdateLocation
- Direction
- sensors uses common.data.integration. Changing common.data.integration can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→17 sensors depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in sensors → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.sensors.LocationSensorManager→io.homeassistant.companion.android.common.data.prefs.PrefsRepository
- Direction
- sensors uses common.data.prefs. Changing common.data.prefs can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→19 sensors depends on common.sensors✕
- Type pairs
- 39 distinct (type in sensors → type in common.sensors) references. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- Which types
io.homeassistant.companion.android.sensors.ActivitySensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.ActivitySensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.AndroidAutoSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.AndroidAutoSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.AppSensorManager→io.homeassistant.companion.android.common.sensors.AppSensorManagerBaseio.homeassistant.companion.android.sensors.AppSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.AppSensorModule→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.BedtimeModeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.BedtimeModeSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.CarSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.CarSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.DevicePolicyManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.DevicePolicyManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.DynamicColorSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.DynamicColorSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.GeocodeSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.GeocodeSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.HealthConnectSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.HealthConnectSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.HealthServicesSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.HealthServicesSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.HeartRateSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.HeartRateSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.sensors.LastAppSensorManager→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.sensors.LastAppSensorManager→io.homeassistant.companion.android.common.sensors.SensorRepository
- Direction
- sensors uses common.sensors. Changing common.sensors can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→21 sensors depends on common.data.servers✕
- Type pairs
- 18 distinct (type in sensors → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.sensors.ActivitySensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.AndroidAutoSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.AppSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.BedtimeModeSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.CarSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.DevicePolicyManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.DynamicColorSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.GeocodeSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.HealthConnectSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.HealthServicesSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.HeartRateSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.LastAppSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.LocationSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.NotificationListenerSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.OnBodySensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.QuestSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.TheaterModeSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.sensors.WetModeSensorManager→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- sensors uses common.data.servers. Changing common.data.servers can break sensors, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→9 frontend.improv depends on common.data.network✕
- Type pairs
- 1 distinct (type in frontend.improv → type in common.data.network) reference.
- Which types
io.homeassistant.companion.android.frontend.improv.FrontendImprovHandler→io.homeassistant.companion.android.common.data.network.WifiHelper
- Direction
- frontend.improv uses common.data.network. Changing common.data.network can break frontend.improv, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→12 frontend.improv depends on frontend.externalbus✕
- Type pairs
- 1 distinct (type in frontend.improv → type in frontend.externalbus) reference.
- Which types
io.homeassistant.companion.android.frontend.improv.FrontendImprovHandler→io.homeassistant.companion.android.frontend.externalbus.FrontendExternalBusRepository
- Direction
- frontend.improv uses frontend.externalbus. Changing frontend.externalbus can break frontend.improv, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→21 frontend.improv depends on common.data.servers✕
- Type pairs
- 1 distinct (type in frontend.improv → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.frontend.improv.FrontendImprovHandler→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- frontend.improv uses common.data.servers. Changing common.data.servers can break frontend.improv, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→24 frontend.improv depends on common.util✕
- Type pairs
- 1 distinct (type in frontend.improv → type in common.util) reference.
- Which types
io.homeassistant.companion.android.frontend.improv.ImprovRepositoryImpl→io.homeassistant.companion.android.common.util.PermissionChecker
- Direction
- frontend.improv uses common.util. Changing common.util can break frontend.improv, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→3 home depends on common.sensors.SensorManager✕
- Type pairs
- 1 distinct (type in home → type in common.sensors.SensorManager) reference.
- Which types
io.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- home uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→5 home depends on data✕
- Type pairs
- 3 distinct (type in home → type in data) references.
- Which types
io.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.data.SimplifiedEntityio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.data.SimplifiedEntityio.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.data.SimplifiedEntity
- Direction
- home uses data. Changing data can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→10 home depends on common.data.websocket.impl.entities✕
- Type pairs
- 12 distinct (type in home → type in common.data.websocket.impl.entities) references.
- Which types
io.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryUpdatedEventio.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryUpdatedEventio.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryResponseio.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryUpdatedEventio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryResponseio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.AreaRegistryUpdatedEventio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryResponseio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.DeviceRegistryUpdatedEventio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryResponseio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.impl.entities.EntityRegistryUpdatedEvent
- Direction
- home uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→14 home depends on common.data.websocket✕
- Type pairs
- 2 distinct (type in home → type in common.data.websocket) references.
- Which types
io.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.websocket.WebSocketStateio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.websocket.WebSocketState
- Direction
- home uses common.data.websocket. Changing common.data.websocket can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→16 home depends on common.data.integration✕
- Type pairs
- 2 distinct (type in home → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.home.HomePresenter→io.homeassistant.companion.android.common.data.integration.Entityio.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.integration.Entity
- Direction
- home uses common.data.integration. Changing common.data.integration can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→17 home depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in home → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.prefs.WearPrefsRepository
- Direction
- home uses common.data.prefs. Changing common.data.prefs can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→19 home depends on common.sensors✕
- Type pairs
- 2 distinct (type in home → type in common.sensors) references.
- Which types
io.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.sensors.SensorRepository
- Direction
- home uses common.sensors. Changing common.sensors can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→21 home depends on common.data.servers✕
- Type pairs
- 1 distinct (type in home → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.home.HomePresenterImpl→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- home uses common.data.servers. Changing common.data.servers can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→22 home depends on common.data.integration.display✕
- Type pairs
- 3 distinct (type in home → type in common.data.integration.display) references.
- Which types
io.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManagerio.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.MainViewModel→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithContext
- Direction
- home uses common.data.integration.display. Changing common.data.integration.display can break home, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→1 settings.qs depends on common.compose.composable✕
- Type pairs
- 1 distinct (type in settings.qs → type in common.compose.composable) reference.
- Which types
io.homeassistant.companion.android.settings.qs.ManageTilesState→io.homeassistant.companion.android.common.compose.composable.HADropdownItem
- Direction
- settings.qs uses common.compose.composable. Changing common.compose.composable can break settings.qs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 settings.qs depends on common.data.servers✕
- Type pairs
- 1 distinct (type in settings.qs → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.settings.qs.ManageTilesViewModel→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- settings.qs uses common.data.servers. Changing common.data.servers can break settings.qs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→22 settings.qs depends on common.data.integration.display✕
- Type pairs
- 3 distinct (type in settings.qs → type in common.data.integration.display) references.
- Which types
io.homeassistant.companion.android.settings.qs.ManageTilesState→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayStateio.homeassistant.companion.android.settings.qs.ManageTilesState→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithContextio.homeassistant.companion.android.settings.qs.ManageTilesViewModel→io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager
- Direction
- settings.qs uses common.data.integration.display. Changing common.data.integration.display can break settings.qs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→3 util depends on common.sensors.SensorManager✕
- Type pairs
- 1 distinct (type in util → type in common.sensors.SensorManager) reference.
- Which types
io.homeassistant.companion.android.util.PreviewDataKt→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- util uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→5 util depends on data✕
- Type pairs
- 1 distinct (type in util → type in data) reference.
- Which types
io.homeassistant.companion.android.util.PreviewDataKt→io.homeassistant.companion.android.data.SimplifiedEntity
- Direction
- util uses data. Changing data can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→8 util depends on frontend.error✕
- Type pairs
- 2 distinct (type in util → type in frontend.error) references.
- Which types
io.homeassistant.companion.android.util.HAWebViewClient→io.homeassistant.companion.android.frontend.error.FrontendConnectionErrorio.homeassistant.companion.android.util.HAWebViewClientFactory→io.homeassistant.companion.android.frontend.error.FrontendConnectionError
- Direction
- util uses frontend.error. Changing frontend.error can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→11 util depends on database.server✕
- Type pairs
- 2 distinct (type in util → type in database.server) references.
- Which types
io.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.database.server.TemporaryServer
- Direction
- util uses database.server. Changing database.server can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→13 util depends on common.data.authentication✕
- Type pairs
- 1 distinct (type in util → type in common.data.authentication) reference.
- Which types
io.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.common.data.authentication.AuthenticationRepository
- Direction
- util uses common.data.authentication. Changing common.data.authentication can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→14 util depends on common.data.websocket✕
- Type pairs
- 1 distinct (type in util → type in common.data.websocket) reference.
- Which types
io.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.common.data.websocket.WebSocketRepository
- Direction
- util uses common.data.websocket. Changing common.data.websocket can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→16 util depends on common.data.integration✕
- Type pairs
- 1 distinct (type in util → type in common.data.integration) reference.
- Which types
io.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.common.data.integration.IntegrationRepository
- Direction
- util uses common.data.integration. Changing common.data.integration can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→18 util depends on database.sensor✕
- Type pairs
- 3 distinct (type in util → type in database.sensor) references.
- Which types
io.homeassistant.companion.android.util.PreviewSensorRepository→io.homeassistant.companion.android.database.sensor.Attributeio.homeassistant.companion.android.util.PreviewSensorRepository→io.homeassistant.companion.android.database.sensor.Sensorio.homeassistant.companion.android.util.PreviewSensorRepository→io.homeassistant.companion.android.database.sensor.SensorSetting
- Direction
- util uses database.sensor. Changing database.sensor can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→19 util depends on common.sensors✕
- Type pairs
- 3 distinct (type in util → type in common.sensors) references.
- Which types
io.homeassistant.companion.android.util.CheckLocationDisabledUseCase→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.util.PreviewSensorManagerKt→io.homeassistant.companion.android.common.sensors.BatterySensorManagerio.homeassistant.companion.android.util.PreviewSensorRepository→io.homeassistant.companion.android.common.sensors.SensorRepository
- Direction
- util uses common.sensors. Changing common.sensors can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→21 util depends on common.data.servers✕
- Type pairs
- 4 distinct (type in util → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.util.CheckLocationDisabledUseCase→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.common.data.servers.ServerConnectionStateProviderio.homeassistant.companion.android.util.PreviewServerManager→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.util.ServerUserAvatarUseCase→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- util uses common.data.servers. Changing common.data.servers can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→22 util depends on common.data.integration.display✕
- Type pairs
- 1 distinct (type in util → type in common.data.integration.display) reference.
- Which types
io.homeassistant.companion.android.util.WearToggleChip→io.homeassistant.companion.android.common.data.integration.display.EntityDisplay
- Direction
- util uses common.data.integration.display. Changing common.data.integration.display can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→24 util depends on common.util✕
- Type pairs
- 18 distinct (type in util → type in common.util) references.
- Which types
io.homeassistant.companion.android.util.IgnoreActivityThreadVsyncDiskReadWrite→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreAndroidAutoRendererServiceDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreAndroidAutoServiceConnectionDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreAppCompatPersistLocalesDiskReadWrite→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreBarcodeScannerRotationListenerWrongContextUsage→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreChangelogDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreChromiumKeyStoreDiskWrite→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreChromiumWebViewSetDebuggingEnabledWrongContextUsage→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreChromiumWebViewWrongContextUsage→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreComposeTextContextMenuDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreMiuiFontSettingsDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreMiuiTurboSchedMonitorDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreNotificationHistoryFragmentLoadSharedPrefDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreSamsungInputRuneDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreSamsungKnoxProKioskDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreSamsungSpegDiskRead→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.IgnoreViolationRulesKt→io.homeassistant.companion.android.common.util.IgnoreViolationRuleio.homeassistant.companion.android.util.OnSwipeListener→io.homeassistant.companion.android.common.util.GestureDirection
- Direction
- util uses common.util. Changing common.util can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→24 io.homeassistant.companion.android depends on common.util✕
- Type pairs
- 4 distinct (type in io.homeassistant.companion.android → type in common.util) references.
- Which types
io.homeassistant.companion.android.ApplicationModule→io.homeassistant.companion.android.common.util.AppVersionio.homeassistant.companion.android.ApplicationModule→io.homeassistant.companion.android.common.util.MessagingTokenProviderio.homeassistant.companion.android.FullApplicationModule→io.homeassistant.companion.android.common.util.MessagingTokenProviderio.homeassistant.companion.android.MinimalApplicationModule→io.homeassistant.companion.android.common.util.MessagingTokenProvider
- Direction
- io.homeassistant.companion.android uses common.util. Changing common.util can break io.homeassistant.companion.android, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→30 io.homeassistant.companion.android depends on util✕
- Type pairs
- 3 distinct (type in io.homeassistant.companion.android → type in util) references.
- Which types
io.homeassistant.companion.android.BaseActivity→io.homeassistant.companion.android.util.PermissionRequestMediatorio.homeassistant.companion.android.FullApplicationModule→io.homeassistant.companion.android.util.PlayServicesAvailabilityio.homeassistant.companion.android.MinimalApplicationModule→io.homeassistant.companion.android.util.PlayServicesAvailability
- Direction
- io.homeassistant.companion.android uses util. Changing util can break io.homeassistant.companion.android, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→12 frontend.handler depends on frontend.externalbus✕
- Type pairs
- 1 distinct (type in frontend.handler → type in frontend.externalbus) reference.
- Which types
io.homeassistant.companion.android.frontend.handler.FrontendMessageHandler→io.homeassistant.companion.android.frontend.externalbus.FrontendExternalBusRepository
- Direction
- frontend.handler uses frontend.externalbus. Changing frontend.externalbus can break frontend.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→24 frontend.handler depends on common.util✕
- Type pairs
- 1 distinct (type in frontend.handler → type in common.util) reference.
- Which types
io.homeassistant.companion.android.frontend.handler.FrontendMessageHandler→io.homeassistant.companion.android.common.util.AppVersion
- Direction
- frontend.handler uses common.util. Changing common.util can break frontend.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→25 frontend.handler depends on matter✕
- Type pairs
- 1 distinct (type in frontend.handler → type in matter) reference.
- Which types
io.homeassistant.companion.android.frontend.handler.FrontendMessageHandler→io.homeassistant.companion.android.matter.MatterManager
- Direction
- frontend.handler uses matter. Changing matter can break frontend.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→27 frontend.handler depends on frontend.improv✕
- Type pairs
- 1 distinct (type in frontend.handler → type in frontend.improv) reference.
- Which types
io.homeassistant.companion.android.frontend.handler.FrontendMessageHandler→io.homeassistant.companion.android.frontend.improv.BluetoothCapabilities
- Direction
- frontend.handler uses frontend.improv. Changing frontend.improv can break frontend.handler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→39 frontend.handler depends on frontend cycle✕
- Type pairs
- 2 distinct (type in frontend.handler → type in frontend) references.
- Which types
io.homeassistant.companion.android.frontend.handler.FrontendBusObserver→io.homeassistant.companion.android.frontend.WebViewActionio.homeassistant.companion.android.frontend.handler.FrontendMessageHandler→io.homeassistant.companion.android.frontend.WebViewAction
- Direction
- frontend.handler uses frontend. Changing frontend can break frontend.handler, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
33→3 home.views depends on common.sensors.SensorManager✕
- Type pairs
- 2 distinct (type in home.views → type in common.sensors.SensorManager) references.
- Which types
io.homeassistant.companion.android.home.views.SensorManagerUiKt→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensorio.homeassistant.companion.android.home.views.SensorUiKt→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- home.views uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→5 home.views depends on data✕
- Type pairs
- 1 distinct (type in home.views → type in data) reference.
- Which types
io.homeassistant.companion.android.home.views.SetShortcutsTileViewKt→io.homeassistant.companion.android.data.SimplifiedEntity
- Direction
- home.views uses data. Changing data can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→16 home.views depends on common.data.integration✕
- Type pairs
- 3 distinct (type in home.views → type in common.data.integration) references.
- Which types
io.homeassistant.companion.android.home.views.DetailsPanelViewKt→io.homeassistant.companion.android.common.data.integration.ColorTemperatureControlio.homeassistant.companion.android.home.views.DetailsPanelViewKt→io.homeassistant.companion.android.common.data.integration.EntityPositionio.homeassistant.companion.android.home.views.DetailsPanelViewKt→io.homeassistant.companion.android.common.data.integration.FanControls
- Direction
- home.views uses common.data.integration. Changing common.data.integration can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→18 home.views depends on database.sensor✕
- Type pairs
- 2 distinct (type in home.views → type in database.sensor) references.
- Which types
io.homeassistant.companion.android.home.views.SensorManagerUiKt→io.homeassistant.companion.android.database.sensor.Sensorio.homeassistant.companion.android.home.views.SensorUiKt→io.homeassistant.companion.android.database.sensor.Sensor
- Direction
- home.views uses database.sensor. Changing database.sensor can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→19 home.views depends on common.sensors✕
- Type pairs
- 3 distinct (type in home.views → type in common.sensors) references.
- Which types
io.homeassistant.companion.android.home.views.SensorManagerUiKt→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.home.views.SensorUiKt→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.home.views.SensorsViewKt→io.homeassistant.companion.android.common.sensors.SensorManager
- Direction
- home.views uses common.sensors. Changing common.sensors can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→22 home.views depends on common.data.integration.display✕
- Type pairs
- 7 distinct (type in home.views → type in common.data.integration.display) references.
- Which types
io.homeassistant.companion.android.home.views.DetailsPanelViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.EntityListViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.EntityUiKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.MainViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.SetCameraTileViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.SetFavoriteViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayio.homeassistant.companion.android.home.views.SetThermostatTileViewKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplay
- Direction
- home.views uses common.data.integration.display. Changing common.data.integration.display can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→28 home.views depends on home✕
- Type pairs
- 1 distinct (type in home.views → type in home) reference.
- Which types
io.homeassistant.companion.android.home.views.HomeViewKt→io.homeassistant.companion.android.home.MainViewModel
- Direction
- home.views uses home. Changing home can break home.views, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→9 launch depends on common.data.network✕
- Type pairs
- 2 distinct (type in launch → type in common.data.network) references.
- Which types
io.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.common.data.network.NetworkStateio.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.common.data.network.NetworkStatusMonitor
- Direction
- launch uses common.data.network. Changing common.data.network can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→11 launch depends on database.server✕
- Type pairs
- 1 distinct (type in launch → type in database.server) reference.
- Which types
io.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.database.server.Server
- Direction
- launch uses database.server. Changing database.server can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→17 launch depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in launch → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.common.data.prefs.PrefsRepository
- Direction
- launch uses common.data.prefs. Changing common.data.prefs can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→21 launch depends on common.data.servers✕
- Type pairs
- 1 distinct (type in launch → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- launch uses common.data.servers. Changing common.data.servers can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→24 launch depends on common.util✕
- Type pairs
- 1 distinct (type in launch → type in common.util) reference.
- Which types
io.homeassistant.companion.android.launch.LaunchActivity→io.homeassistant.companion.android.common.util.CheckLocalNetworkPermissionUseCase
- Direction
- launch uses common.util. Changing common.util can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→30 launch depends on util✕
- Type pairs
- 2 distinct (type in launch → type in util) references.
- Which types
io.homeassistant.companion.android.launch.LaunchActivity→io.homeassistant.companion.android.util.CheckLocationDisabledUseCaseio.homeassistant.companion.android.launch.LaunchActivity→io.homeassistant.companion.android.util.PlayServicesAvailability
- Direction
- launch uses util. Changing util can break launch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→36 launch depends on frontend.navigation cycle✕
- Type pairs
- 2 distinct (type in launch → type in frontend.navigation) references.
- Which types
io.homeassistant.companion.android.launch.LaunchActivityExtKt→io.homeassistant.companion.android.frontend.navigation.FrontendTargetio.homeassistant.companion.android.launch.LaunchViewModel→io.homeassistant.companion.android.frontend.navigation.FrontendTarget
- Direction
- launch uses frontend.navigation. Changing frontend.navigation can break launch, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
35→10 assist depends on common.data.websocket.impl.entities✕
- Type pairs
- 1 distinct (type in assist → type in common.data.websocket.impl.entities) reference.
- Which types
io.homeassistant.companion.android.assist.AssistViewModel→io.homeassistant.companion.android.common.data.websocket.impl.entities.AssistPipelineResponse
- Direction
- assist uses common.data.websocket.impl.entities. Changing common.data.websocket.impl.entities can break assist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→21 assist depends on common.data.servers✕
- Type pairs
- 1 distinct (type in assist → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.assist.AssistViewModel→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- assist uses common.data.servers. Changing common.data.servers can break assist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→24 assist depends on common.util✕
- Type pairs
- 3 distinct (type in assist → type in common.util) references.
- Which types
io.homeassistant.companion.android.assist.AssistAudioStrategyFactory→io.homeassistant.companion.android.common.util.VoiceAudioRecorderio.homeassistant.companion.android.assist.AssistViewModel→io.homeassistant.companion.android.common.util.AudioUrlPlayerio.homeassistant.companion.android.assist.WakeWordAssistAudioStrategy→io.homeassistant.companion.android.common.util.VoiceAudioRecorder
- Direction
- assist uses common.util. Changing common.util can break assist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→31 assist depends on io.homeassistant.companion.android✕
- Type pairs
- 1 distinct (type in assist → type in io.homeassistant.companion.android) reference.
- Which types
io.homeassistant.companion.android.assist.AssistActivity→io.homeassistant.companion.android.BaseActivity
- Direction
- assist uses io.homeassistant.companion.android. Changing io.homeassistant.companion.android can break assist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→34 frontend.navigation depends on launch✕
- Type pairs
- 2 distinct (type in frontend.navigation → type in launch) references.
- Which types
io.homeassistant.companion.android.frontend.navigation.FrontendNavigationKt→io.homeassistant.companion.android.launch.PipReadinessio.homeassistant.companion.android.frontend.navigation.FrontendRoute→io.homeassistant.companion.android.launch.HAStartDestinationRoute
- Direction
- frontend.navigation uses launch. Changing launch can break frontend.navigation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→6 settings depends on database.settings✕
- Type pairs
- 5 distinct (type in settings → type in database.settings) references.
- Which types
io.homeassistant.companion.android.settings.SettingViewModel→io.homeassistant.companion.android.database.settings.SensorUpdateFrequencySettingio.homeassistant.companion.android.settings.SettingViewModel→io.homeassistant.companion.android.database.settings.Settingio.homeassistant.companion.android.settings.SettingViewModel→io.homeassistant.companion.android.database.settings.SettingsDaoio.homeassistant.companion.android.settings.SettingViewModel→io.homeassistant.companion.android.database.settings.WebsocketSettingio.homeassistant.companion.android.settings.SettingsPresenterImpl→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- settings uses database.settings. Changing database.settings can break settings, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→11 settings depends on database.server✕
- Type pairs
- 3 distinct (type in settings → type in database.server) references.
- Which types
io.homeassistant.companion.android.settings.SettingsFragment→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.settings.SettingsPresenter→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.settings.SettingsPresenterImpl→io.homeassistant.companion.android.database.server.Server
- Direction
- settings uses database.server. Changing database.server can break settings, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→17 settings depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in settings → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.settings.SettingsPresenterImpl→io.homeassistant.companion.android.common.data.prefs.PrefsRepository
- Direction
- settings uses common.data.prefs. Changing common.data.prefs can break settings, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→21 settings depends on common.data.servers✕
- Type pairs
- 2 distinct (type in settings → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.settings.SettingsActivity→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.settings.SettingsPresenterImpl→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- settings uses common.data.servers. Changing common.data.servers can break settings, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→31 settings depends on io.homeassistant.companion.android✕
- Type pairs
- 1 distinct (type in settings → type in io.homeassistant.companion.android) reference.
- Which types
io.homeassistant.companion.android.settings.SettingsActivity→io.homeassistant.companion.android.BaseActivity
- Direction
- settings uses io.homeassistant.companion.android. Changing io.homeassistant.companion.android can break settings, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→7 widgets.todo depends on database.widget✕
- Type pairs
- 7 distinct (type in widgets.todo → type in database.widget) references.
- Which types
io.homeassistant.companion.android.widgets.todo.TodoState→io.homeassistant.companion.android.database.widget.WidgetBackgroundTypeio.homeassistant.companion.android.widgets.todo.TodoStateWithData→io.homeassistant.companion.android.database.widget.WidgetBackgroundTypeio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureActivityKt→io.homeassistant.companion.android.database.widget.WidgetBackgroundTypeio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.database.widget.TodoWidgetDaoio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.database.widget.TodoWidgetEntityio.homeassistant.companion.android.widgets.todo.TodoWidgetStateUpdater→io.homeassistant.companion.android.database.widget.TodoWidgetDaoio.homeassistant.companion.android.widgets.todo.TodoWidgetStateUpdater→io.homeassistant.companion.android.database.widget.TodoWidgetEntity
- Direction
- widgets.todo uses database.widget. Changing database.widget can break widgets.todo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→11 widgets.todo depends on database.server✕
- Type pairs
- 2 distinct (type in widgets.todo → type in database.server) references.
- Which types
io.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureActivityKt→io.homeassistant.companion.android.database.server.Serverio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.database.server.Server
- Direction
- widgets.todo uses database.server. Changing database.server can break widgets.todo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→21 widgets.todo depends on common.data.servers✕
- Type pairs
- 2 distinct (type in widgets.todo → type in common.data.servers) references.
- Which types
io.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.common.data.servers.ServerManagerio.homeassistant.companion.android.widgets.todo.TodoWidgetStateUpdater→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- widgets.todo uses common.data.servers. Changing common.data.servers can break widgets.todo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→22 widgets.todo depends on common.data.integration.display✕
- Type pairs
- 6 distinct (type in widgets.todo → type in common.data.integration.display) references.
- Which types
io.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureActivityKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayStateio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureActivityKt→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithContextio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManagerio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayStateio.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureViewModel→io.homeassistant.companion.android.common.data.integration.display.EntityDisplayWithContextio.homeassistant.companion.android.widgets.todo.TodoWidgetStateUpdater→io.homeassistant.companion.android.common.data.integration.display.EntitiesForDisplayManager
- Direction
- widgets.todo uses common.data.integration.display. Changing common.data.integration.display can break widgets.todo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→31 widgets.todo depends on io.homeassistant.companion.android✕
- Type pairs
- 1 distinct (type in widgets.todo → type in io.homeassistant.companion.android) reference.
- Which types
io.homeassistant.companion.android.widgets.todo.TodoWidgetConfigureActivity→io.homeassistant.companion.android.BaseActivity
- Direction
- widgets.todo uses io.homeassistant.companion.android. Changing io.homeassistant.companion.android can break widgets.todo, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→8 frontend depends on frontend.error✕
- Type pairs
- 6 distinct (type in frontend → type in frontend.error) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.frontend.error.ErrorActionio.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.frontend.error.ErrorActionIntentio.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.frontend.error.FrontendConnectionErrorStateProviderio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.error.ErrorActionIntentio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.error.FrontendConnectionErrorio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.error.FrontendConnectionErrorStateProvider
- Direction
- frontend uses frontend.error. Changing frontend.error can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→12 frontend depends on frontend.externalbus✕
- Type pairs
- 1 distinct (type in frontend → type in frontend.externalbus) reference.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.externalbus.FrontendExternalBusRepository
- Direction
- frontend uses frontend.externalbus. Changing frontend.externalbus can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→17 frontend depends on common.data.prefs✕
- Type pairs
- 3 distinct (type in frontend → type in common.data.prefs) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.common.data.prefs.ScreenOrientationio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.common.data.prefs.PrefsRepositoryio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.common.data.prefs.ScreenOrientation
- Direction
- frontend uses common.data.prefs. Changing common.data.prefs can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→21 frontend depends on common.data.servers✕
- Type pairs
- 1 distinct (type in frontend → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- frontend uses common.data.servers. Changing common.data.servers can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→24 frontend depends on common.util✕
- Type pairs
- 3 distinct (type in frontend → type in common.util) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.common.util.GestureDirectionio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.common.util.GestureDirectionio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.common.util.SuspendLazy
- Direction
- frontend uses common.util. Changing common.util can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→27 frontend depends on frontend.improv✕
- Type pairs
- 1 distinct (type in frontend → type in frontend.improv) reference.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.improv.FrontendImprovHandler
- Direction
- frontend uses frontend.improv. Changing frontend.improv can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→30 frontend depends on util✕
- Type pairs
- 3 distinct (type in frontend → type in util) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.util.HAWebChromeClientio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.util.HAWebViewClientio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.util.HAWebViewClientFactory
- Direction
- frontend uses util. Changing util can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→32 frontend depends on frontend.handler✕
- Type pairs
- 2 distinct (type in frontend → type in frontend.handler) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.handler.FrontendBusObserverio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.handler.FrontendHandlerEvent
- Direction
- frontend uses frontend.handler. Changing frontend.handler can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→34 frontend depends on launch✕
- Type pairs
- 1 distinct (type in frontend → type in launch) reference.
- Which types
io.homeassistant.companion.android.frontend.FrontendScreenKt→io.homeassistant.companion.android.launch.PipReadiness
- Direction
- frontend uses launch. Changing launch can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→36 frontend depends on frontend.navigation✕
- Type pairs
- 2 distinct (type in frontend → type in frontend.navigation) references.
- Which types
io.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.navigation.FrontendEventio.homeassistant.companion.android.frontend.FrontendViewModel→io.homeassistant.companion.android.frontend.navigation.FrontendTarget
- Direction
- frontend uses frontend.navigation. Changing frontend.navigation can break frontend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→3 settings.sensor depends on common.sensors.SensorManager✕
- Type pairs
- 1 distinct (type in settings.sensor → type in common.sensors.SensorManager) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.common.sensors.SensorManager.BasicSensor
- Direction
- settings.sensor uses common.sensors.SensorManager. Changing common.sensors.SensorManager can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→6 settings.sensor depends on database.settings✕
- Type pairs
- 1 distinct (type in settings.sensor → type in database.settings) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.database.settings.SettingsDao
- Direction
- settings.sensor uses database.settings. Changing database.settings can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→17 settings.sensor depends on common.data.prefs✕
- Type pairs
- 1 distinct (type in settings.sensor → type in common.data.prefs) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.common.data.prefs.PrefsRepository
- Direction
- settings.sensor uses common.data.prefs. Changing common.data.prefs can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→18 settings.sensor depends on database.sensor✕
- Type pairs
- 3 distinct (type in settings.sensor → type in database.sensor) references.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.database.sensor.SensorSettingio.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.database.sensor.SensorWithAttributesio.homeassistant.companion.android.settings.sensor.SensorSettingsViewModel→io.homeassistant.companion.android.database.sensor.Sensor
- Direction
- settings.sensor uses database.sensor. Changing database.sensor can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→19 settings.sensor depends on common.sensors✕
- Type pairs
- 4 distinct (type in settings.sensor → type in common.sensors) references.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.common.sensors.SensorRepositoryio.homeassistant.companion.android.settings.sensor.SensorSettingsViewModel→io.homeassistant.companion.android.common.sensors.SensorManagerio.homeassistant.companion.android.settings.sensor.SensorSettingsViewModel→io.homeassistant.companion.android.common.sensors.SensorRepository
- Direction
- settings.sensor uses common.sensors. Changing common.sensors can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→21 settings.sensor depends on common.data.servers✕
- Type pairs
- 1 distinct (type in settings.sensor → type in common.data.servers) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorDetailViewModel→io.homeassistant.companion.android.common.data.servers.ServerManager
- Direction
- settings.sensor uses common.data.servers. Changing common.data.servers can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→31 settings.sensor depends on io.homeassistant.companion.android✕
- Type pairs
- 1 distinct (type in settings.sensor → type in io.homeassistant.companion.android) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.HealthConnectPermissionActivity→io.homeassistant.companion.android.BaseActivity
- Direction
- settings.sensor uses io.homeassistant.companion.android. Changing io.homeassistant.companion.android can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→37 settings.sensor depends on settings✕
- Type pairs
- 1 distinct (type in settings.sensor → type in settings) reference.
- Which types
io.homeassistant.companion.android.settings.sensor.SensorUpdateFrequencyFragment→io.homeassistant.companion.android.settings.SettingViewModel
- Direction
- settings.sensor uses settings. Changing settings can break settings.sensor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 82 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 4 | High / Critical |
Roadmap
First, eliminate invalid object states by enforcing validation through guarded constructors or factories, and complete the migration to strongly-typed identifiers to prevent argument errors. Next, shift business logic into aggregates to enforce invariants at the source rather than relying on anemic services. Finally, enable security scanning on pull requests to gate changes and maintain a changelog to track release history.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure. | +9.0 pts | Medium | Constructible invalid state |
| Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs. | +9.0 pts | Medium | Strongly-typed ids |
| Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services. | +9.0 pts | Medium | Rich vs anemic model |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.1 pts | Low | ADR Quality |
| Trigger your SAST workflow on pull requests — a scan that only runs on a cron reports history, it does not gate. | +2.4 pts | Medium | Security & performance tooling |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +2.4 pts | Medium | Release Hygiene |
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +1.1 pts | Low | Bus Factor |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +2.1 pts | Medium | Architecture documentation |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 3.5 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt | 5.0 | Mixed | Change Coupling: Boundary-crossing change coupling: MessagingManager.kt ↔ NotificationFunctions.kt |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt | 6.0 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.1 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt | 6.5 | Mixed | Explicit Debt: TodoComment |
| common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt | 6.7 | Mixed | Explicit Debt: TodoComment |
| app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt | 6.7 | Mixed | Explicit Debt: TodoComment |
| common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketRepositoryImpl.kt | 6.7 | Mixed | Explicit Debt: TodoComment |
| app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt | 6.7 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 38 of 42 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 42 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 383 of 397 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.kt) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.kt) and this repository declares a JVM test suite (repository root, Gradle), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D14 License Compliance — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares a Gradle build (build.gradle/build.gradle.kts), but the licence verdict published here was taken over its gem dependencies. Nothing was read about its Gradle dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (common/build.gradle.kts), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (go.mod, a Gemfile's ruby directive, a Dockerfile) is simply not read here yet.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX2 Stateful singletons — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, or a Dockerfile. None was found, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm one resolves each comparison operand to the domain member it judges, and that binding exists only in a Roslyn compilation, which this run did not load. Arm two ran over the neutral model because this repository's frontend declares whether each construction is produced or passed. A rule decided in two places would not appear above.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Some of this repository's production types come from a frontend that does not declare whether a construction is produced or passed, which arm two needs to tell a producer from a mapping, and those types were not walked for this dimension. The counts above speak for the languages that declare it.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The frontend declares that it computes whether a construction is produced or passed, yet 830 of 830 constructions arrived without the answer. Arm two skipped them; it did not clear them.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P10 Library API & versioning — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads NuGet packaging and C# public API only, and no .NET project was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF1 Benchmark discipline — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF2 Allocation hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
41 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was EntityKt.getIcon at 169. A further 10 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being HealthServicesSensorManager.getActivityIcon at 49 — they are counted neither in the figure above nor in this dimension's score. 8 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: app/src/main/kotlin/io/homeassistant/companion/android/frontend/handler/FrontendMessageHandler.kt (FrontendMessageHandler.handleMessage at 27), app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt (FrontendViewModel.handleMessageResult at 24), common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorWithAttributes.kt (SensorWithAttributes.toSensorRegistration at 20), app/src/main/kotlin/io/homeassistant/companion/android/frontend/navigation/FrontendNavigation.kt (FrontendNavigationKt.FrontendEventHandler at 19), app/src/main/kotlin/io/homeassistant/companion/android/frontend/barcode/FrontendBarcodeScannerHandler.kt (FrontendBarcodeScannerHandlerKt.toFrontendWireFormat at 18), and 3 more not listed here. They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Resolve the 1 EntityKt.getIcon (cyclomatic 169) finding(s) in Cyclomatic Complexity — start with Entity.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 FriendlyStateKt.stateResource (cyclomatic 104) finding(s) in Cyclomatic Complexity — start with FriendlyState.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 MessagingManager.handleMessage (cyclomatic 71) finding(s) in Cyclomatic Complexity — start with MessagingManager.kt. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
55 method(s) exceeded the cognitive complexity threshold of 15; the worst was EntityKt.getIcon at 101.
What to do
- Resolve the 1 EntityKt.getIcon (cognitive 101) finding(s) in Cognitive Complexity — start with Entity.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 ThreadManagerImpl.fullSyncPreferredDataset (cognitive 94) finding(s) in Cognitive Complexity — start with ThreadManagerImpl.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 MessagingManager.handleMessage (cognitive 85) finding(s) in Cognitive Complexity — start with MessagingManager.kt. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
44 god class(es) detected.
What to do
- Resolve the 12 TooManyMethods finding(s) in God Classes — start with FakePlayer.kt, PrefsRepositoryImpl.kt, MessagingManager.kt. — One of this dimension's main actionable groups (12 warning-level).
- Resolve the 12 FileTooLong finding(s) in God Classes — start with MessagingManager.kt, Entity.kt, LocationSensorManager.kt. — One of this dimension's main actionable groups (12 warning-level).
- Resolve the 12 MethodTooLong finding(s) in God Classes — start with DatabaseMigration.kt (2), MediaPlayerControlsWidget.kt, MainView.kt. — One of this dimension's main actionable groups (12 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
43 duplicated block group(s) detected. A further 3 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 3 Duplicated block (12 lines × 2) finding(s) in Code Duplication — start with AssistViewModel.kt, FullApplicationModule.kt, EntityWidgetConfigureScreen.kt. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with DetailsPanelView.kt, ManualServerScreen.kt, Entity.kt. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with MessagingManager.kt, BaseWidgetProvider.kt, EntityWidget.kt. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
10 production modules (Gradle), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; 1 module(s) off the main sequence, with abstractness counted on 8 of the 10 (the rest declare no modelled class or interface, export only macros, or are not Gradle/Maven modules or Cargo crates).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
2 of 209 classes have LCOM4 above 3.
What to do
- Resolve the 2 Low cohesion finding(s) in Cohesion (LCOM4) — start with MainViewModel.kt, DeveloperSettingsFragment.kt. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D12 · Dependency Hygiene
0 outdated direct gem(s), 0 pinning defect(s). 2 declaration(s) graded against rubygems.org, 2 of them against a version resolved in a committed Gemfile.lock. Whether any of these gems is DEPRECATED or YANKED is not graded — rubygems.org publishes no deprecation marker, and a yank removes a version rather than flagging it. Whether any is UNMAINTAINED is not graded either: no registry publishes a maintenance status, and release age does not stand in for one. Whether any is UNUSED is a source question, not a registry one. Known CVEs in this dependency graph are D30's question, read from the manifest there.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 104 shipped gem(s) use a banned license. Licences were resolved from rubygems.org over the 104 gem(s) a consumer installs — this repository's runtime declarations closed transitively over its committed Gemfile.lock. Development-group and `add_development_dependency` gems are excluded: they are not distributed with this repository. 1 of them publish no licence on rubygems.org; that is missing data, not a violation, and none of them is charged. ★ COVERAGE OF THIS VERDICT: it grades this repository's gem dependencies and nothing else. The repository also declares a Gradle build (build.gradle/build.gradle.kts), and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
D15 · Churn × Complexity Hotspots
Top hotspots: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt (11×169=1859); app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt (10×71=710); app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt (10×24=240)
What to do
- Resolve the 23 Hotspot finding(s) in Churn × Complexity Hotspots — start with Entity.kt, MessagingManager.kt, FrontendViewModel.kt. — One of this dimension's main actionable groups (23 warning-level).
D16 · Bus Factor
167 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt. Counted over 491 of the 942 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
32 deducted task-comment markers across 103939 LoC (0.0/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 32 TodoComment finding(s) in Explicit Debt — start with HATextField.kt (6), LocationSensorManager.kt (3), AssistPipelineEvent.kt (2). — One of this dimension's main actionable groups (32 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's single README is a well-written overview of the Home Assistant companion app for Android, with clear branding (Play Store links), an engaging welcome paragraph, a bulleted list of features, and a direct 'Get the app' link plus Beta instructions. The architecture document SKILL.md provides detailed module/flavor breakdowns, layering, dependency rules, and a full outline, making it the only substantive architecture resource in the set. Both documents are well written but the README alone gives no installation/usage guidance for an Android app.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's single README is a well-written overview of the Home Assistant companion app for Android, with clear branding (Play Store links), an engaging welcome paragraph, a bulleted list of features, and a direct 'Get the app' link plus Beta instructions. The architecture document SKILL.md provides detailed module/flavor breakdowns, layering, dependency rules, and a full outline, making it the only substantive architecture resource in the set. Both documents are well written but the README alone gives no installation/usage guidance for an Android app.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
3 of 8 build units (Gradle) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split app finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Split wear finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
82 finding(s): 0 critical, 41 high, 41 medium, 0 low. semgrep hit a parse error in 3 file(s) — `app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt` (line 464), `gradlew` (line 74, line 178), `wear/src/main/kotlin/io/homeassistant/companion/android/splash/SplashActivity.kt` (line 8, line 12, line 15, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 3 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 39 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (22), REDACTED (12), REDACTED. — One of this dimension's main actionable groups (39 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
4 finding(s): 1 critical, 0 high, 3 medium, 0 low.
What to do
- Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 3 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
D34 · Knowledge Freshness
16 of 491 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt. Counted over 491 of the 942 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: MessagingManager.kt↔NotificationFunctions.kt 73%; EntityGridVehicleScreen.kt↔MapVehicleScreen.kt 73%; LaunchActivity.kt↔HANavHost.kt 65%
What to do
- Resolve the 2 Boundary-crossing change coupling finding(s) in Change Coupling — start with MessagingManager.kt, NotificationFunctions.kt. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 10 Change coupling finding(s) in Change Coupling — start with HomeView.kt (2), EntityGridVehicleScreen.kt, LaunchActivity.kt. — One of this dimension's main actionable groups (10 warning-level).
D36 · Supply-chain Provenance & Signing
2/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
DM11 · Constructible invalid state
- `Authentication`'s public constructor takes `host`, `username`, `password` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Authentication` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt:8
- `LocationHistoryItem`'s public constructor takes `latitude`, `longitude`, `locationName`, `data` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `LocationHistoryItem` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:14
- `NotificationItem`'s public constructor takes `message`, `data`, `source` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `NotificationItem` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:8
- `TileEntity`'s public constructor takes `tileId`, `iconName`, `entityId`, `label`, … 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TileEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/qs/TileEntity.kt:8
- `Attribute`'s public constructor takes `sensorId`, `name`, `value`, `valueType` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Attribute` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:7
- `Sensor`'s public constructor takes `id`, `state`, `lastSentState`, `lastSentIcon`, … 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Sensor` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:7
- `SensorSetting`'s public constructor takes `sensorId`, `name`, `value` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `SensorSetting` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:22
- `Server`'s public constructor takes `_name`, `nameOverride`, `_version`, `deviceRegistryId`, … 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Server` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:14
- `CameraTile`'s public constructor takes `entityId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `CameraTile` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:12
- `EntityStateComplications`'s public constructor takes `entityId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `EntityStateComplications` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:11
- `FavoriteCaches`'s public constructor takes `id`, `name`, `icon` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `FavoriteCaches` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt:11
- `Favorites`'s public constructor takes `id` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Favorites` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt:11
- `ThermostatTile`'s public constructor takes `entityId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `ThermostatTile` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:12
- `ButtonWidgetEntity`'s public constructor takes `iconName`, `domain`, `service`, `serviceData`, … 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `ButtonWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/ButtonWidgetEntity.kt:8
- `CameraWidgetEntity`'s public constructor takes `entityId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `CameraWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/CameraWidgetEntity.kt:8
- `MediaPlayerControlsWidgetEntity`'s public constructor takes `entityId`, `label`, `textColor` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `MediaPlayerControlsWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/MediaPlayerControlsWidgetEntity.kt:8
- `StaticWidgetEntity`'s public constructor takes `entityId`, `attributeIds`, `label`, `stateSeparator`, … 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `StaticWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/StaticWidgetEntity.kt:8
- `TemplateWidgetEntity`'s public constructor takes `template`, `lastUpdate`, `textColor` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TemplateWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TemplateWidgetEntity.kt:8
- `TodoWidgetEntity`'s public constructor takes `entityId`, `textColor` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TodoWidgetEntity` 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 `Create` that can refuse. — common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TodoWidgetEntity.kt:14
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM2 · Strongly-typed ids
- `LocationHistoryItem.serverId` is a raw `Int` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:34
- `NotificationItem.serverId` is a raw `Int` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:20
- `Attribute.sensorId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:9
- `Sensor.serverId` is a raw `Int` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:11
- `SensorSetting.sensorId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:24
- `Server.deviceRegistryId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:24
- `CameraTile.entityId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:19
- `EntityStateComplications.entityId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:16
- `ThermostatTile.entityId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:19
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
- `Authentication` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt:8
- `LocationHistoryItem` is an aggregate/entity with 11 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:14
- `NotificationItem` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:8
- `Attribute` is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:7
- `Sensor` is an aggregate/entity with 17 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:7
- `SensorSetting` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:22
- `Server` is an aggregate/entity with 12 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:14
- `Setting` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/settings/Setting.kt:8
- `CameraTile` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:12
- `EntityStateComplications` is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:11
- `FavoriteCaches` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt:11
- `Favorites` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt:11
- `ThermostatTile` is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:12
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
DM7 · Repository granularity
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 9 of 9 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` 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.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P3 · Security & performance tooling
- `REDACTED` run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) — the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it.
What to do
- Trigger your SAST workflow on pull requests — a scan that only runs on a cron reports history, it does not gate.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
- `updateHealthServices` is async and calls runBlocking — a blocking call inside async code stalls the coroutine's thread, and every coroutine dispatched to it for as long as it runs. — wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt:188
What to do
- Kotlin: call the suspend function directly instead of wrapping it in runBlocking, use delay() instead of Thread.sleep, and move unavoidable blocking I/O into withContext(Dispatchers.IO).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 85% | Strong | Strongest area. |
| Architecture | 90% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 63% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 62% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 66% | Adequate — gated by D29 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 48% | Weak — gated by DM2, DM4, DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 85% | Strong | Solid. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 84 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~51074 lines of test source are present (.kt) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .kt suite was found but not re-run
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- D9 Test Distribution — Test source is present (.kt) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Aggregate boundaries — no aggregates detected — aggregate-boundary check not applicable
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM12 Ambient inputs in the domain — no domain-layer types detected — ambient-input check not applicable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM6 Domain ↔ infrastructure boundary — no domain-layer types detected — domain↔infrastructure boundary check not applicable
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P10 Library API & versioning — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- P2 Observability — This repository's JVM source (7 module(s), 919 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- PF2 Allocation hygiene — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 44 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Boundary-crossing change coupling: MessagingManager.kt ↔ NotificationFunctions.kt app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt
- Boundary-crossing change coupling: NotificationFunctions.kt ↔ MessagingManager.kt common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/NotificationFunctions.kt
- REDACTED
- REDACTED
- REDACTED
Serious — 334 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:1304
- TodoComment app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:1314
- TodoComment app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:1323
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/util/compose/LocationPermissionState.kt:15
- TodoComment app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt:108
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/settings/qs/ui/ManageTilesScreen.kt:83
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:171
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt:298
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/settings/vehicle/views/AndroidAutoFavoritesView.kt:115
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/util/compose/entity/EntityPicker.kt:513
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/util/vehicle/TemplateComponents.kt:157
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt:55
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt:33
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetStateUpdater.kt:88
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetConfigureActivity.kt:234
- TodoComment app/src/main/kotlin/io/homeassistant/companion/android/widgets/todo/TodoWidgetActions.kt:133
- TodoComment app/src/test/kotlin/io/homeassistant/companion/android/widgets/todo/TodoGlanceAppWidgetTest.kt:290
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:72
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:114
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:140
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:146
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:152
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/composable/HATextField.kt:158
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/compose/theme/HAColors.kt:190
- TodoComment common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/ZoneAttributes.kt:10
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:850
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:302
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt:887
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt:94
- 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:100
- Hotspot: app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:532
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt:124
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt:177
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/frontend/handler/FrontendMessageHandler.kt app/src/main/kotlin/io/homeassistant/companion/android/frontend/handler/FrontendMessageHandler.kt:155
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:82
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/frontend/navigation/FrontendNavigation.kt app/src/main/kotlin/io/homeassistant/companion/android/frontend/navigation/FrontendNavigation.kt:169
- Hotspot: wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt:52
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/controls/views/ManageControlsView.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/controls/views/ManageControlsView.kt:71
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt:317
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:440
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:598
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt:145
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt:91
- Hotspot: wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt:188
- Hotspot: common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AudioSensorManager.kt common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/AudioSensorManager.kt:283
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt:82
- Hotspot: wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:68
- Hotspot: app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt:212
- Constructible in an invalid state: Authentication common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt:8
- Constructible in an invalid state: LocationHistoryItem common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:14
- Constructible in an invalid state: NotificationItem common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:8
- Constructible in an invalid state: TileEntity common/src/main/kotlin/io/homeassistant/companion/android/database/qs/TileEntity.kt:8
- Constructible in an invalid state: Attribute common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:7
- Constructible in an invalid state: Sensor common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:7
- Constructible in an invalid state: SensorSetting common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:22
- Constructible in an invalid state: Server common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:14
- Constructible in an invalid state: CameraTile common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:12
- Constructible in an invalid state: EntityStateComplications common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:11
- Constructible in an invalid state: FavoriteCaches common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt:11
- Constructible in an invalid state: Favorites common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt:11
- Constructible in an invalid state: ThermostatTile common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:12
- Constructible in an invalid state: ButtonWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/ButtonWidgetEntity.kt:8
- Constructible in an invalid state: CameraWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/CameraWidgetEntity.kt:8
- Constructible in an invalid state: MediaPlayerControlsWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/MediaPlayerControlsWidgetEntity.kt:8
- Constructible in an invalid state: StaticWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/StaticWidgetEntity.kt:8
- Constructible in an invalid state: TemplateWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TemplateWidgetEntity.kt:8
- Constructible in an invalid state: TodoWidgetEntity common/src/main/kotlin/io/homeassistant/companion/android/database/widget/TodoWidgetEntity.kt:14
- Anemic entity: Authentication common/src/main/kotlin/io/homeassistant/companion/android/database/authentication/Authentication.kt:8
- Anemic entity: LocationHistoryItem common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:14
- Anemic entity: NotificationItem common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:8
- Anemic entity: Attribute common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:7
- Anemic entity: Sensor common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:7
- Anemic entity: SensorSetting common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:22
- Anemic entity: Server common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:14
- Anemic entity: Setting common/src/main/kotlin/io/homeassistant/companion/android/database/settings/Setting.kt:8
- Anemic entity: CameraTile common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:12
- Anemic entity: EntityStateComplications common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:11
- Anemic entity: FavoriteCaches common/src/main/kotlin/io/homeassistant/companion/android/database/wear/FavoriteCaches.kt:11
- Anemic entity: Favorites common/src/main/kotlin/io/homeassistant/companion/android/database/wear/Favorites.kt:11
- Anemic entity: ThermostatTile common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:12
- TooManyMethods: FakePlayer app/src/main/kotlin/io/homeassistant/companion/android/util/compose/media/player/FakePlayer.kt:26
- TooManyMethods: PrefsRepositoryImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/prefs/PrefsRepositoryImpl.kt:106
- TooManyMethods: MessagingManager app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:126
- TooManyMethods: IntegrationRepositoryImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt:72
- TooManyMethods: FrontendViewModel app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt:115
- TooManyMethods: HealthConnectSensorManager app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:69
- TooManyMethods: MainViewModel wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt:49
- TooManyMethods: WebSocketRepositoryImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketRepositoryImpl.kt:60
- TooManyMethods: WebSocketCoreImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt:142
- TooManyMethods: LocationSensorManager app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:60
- TooManyMethods: HomePresenterImpl wear/src/main/kotlin/io/homeassistant/companion/android/home/HomePresenterImpl.kt:33
- TooManyMethods: SensorRepositoryImpl common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorRepositoryImpl.kt:19
- FileTooLong: notifications/MessagingManager.kt app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt
- FileTooLong: integration/Entity.kt common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt
- FileTooLong: sensors/LocationSensorManager.kt app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt
- FileTooLong: sensors/HealthConnectSensorManager.kt app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt
- FileTooLong: impl/WebSocketCoreImpl.kt common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt
- FileTooLong: frontend/FrontendScreen.kt app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt
- FileTooLong: frontend/FrontendViewModel.kt app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt
- FileTooLong: migration/DatabaseMigration.kt common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt
- FileTooLong: views/SensorDetailView.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt
- FileTooLong: mediaplayer/MediaPlayerControlsWidget.kt app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt
- FileTooLong: ui/AssistSheet.kt app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheet.kt
- FileTooLong: impl/IntegrationRepositoryImpl.kt common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt
- MethodTooLong: MediaPlayerControlsWidget.getWidgetRemoteViews app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:66
- MethodTooLong: MainViewKt.MainView wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt:52
- MethodTooLong: EntityKt.getIcon common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:850
- MethodTooLong: ManageShortcutsViewKt.CreateShortcutView app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt:94
- MethodTooLong: HomeAssistantApplication.onCreate app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:82
- MethodTooLong: SettingsViewKt.SettingsView wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SettingsView.kt:75
- MethodTooLong: SensorUpdater.syncSensorsWithServer common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt:177
- MethodTooLong: SsidViewKt.SsidView app/src/main/kotlin/io/homeassistant/companion/android/settings/ssid/views/SsidView.kt:68
- MethodTooLong: Migration37to38.onPostMigrate common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:596
- MethodTooLong: LocationSensorManager.sendLocationUpdate app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:872
- MethodTooLong: ButtonWidgetConfigureActivity.onCreate app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt:212
- MethodTooLong: Migration16to17.migrate common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:272
- Change coupling: EntityGridVehicleScreen.kt ↔ MapVehicleScreen.kt app/src/main/kotlin/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt
- Change coupling: LaunchActivity.kt ↔ HANavHost.kt app/src/main/kotlin/io/homeassistant/companion/android/launch/LaunchActivity.kt
- Change coupling: EntityWidget.kt ↔ TemplateWidget.kt app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt
- Change coupling: HomeView.kt ↔ SetFavoriteView.kt wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt
- Change coupling: ServerSettingsFragment.kt ↔ WebViewActivity.kt app/src/main/kotlin/io/homeassistant/companion/android/settings/server/ServerSettingsFragment.kt
- Change coupling: ConversationActivity.kt ↔ ConversationView.kt wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationActivity.kt
- Change coupling: SensorReceiverBase.kt ↔ SensorWorker.kt common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt
- Change coupling: HomeView.kt ↔ ChooseEntityView.kt wear/src/main/kotlin/io/homeassistant/companion/android/home/views/HomeView.kt
- Change coupling: HomeActivity.kt ↔ HomePresenterImpl.kt wear/src/main/kotlin/io/homeassistant/companion/android/home/HomeActivity.kt
- Change coupling: MainViewModel.kt ↔ SetFavoriteView.kt wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt
- ClassTooLong: LocationSensorManager app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:60
- ClassTooLong: HealthConnectSensorManager app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:69
- ClassTooLong: WebSocketCoreImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt:142
- ClassTooLong: FrontendViewModel app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendViewModel.kt:115
- ClassTooLong: MediaPlayerControlsWidget app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:42
- ClassTooLong: IntegrationRepositoryImpl common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt:72
- ClassTooLong: NetworkSensorManager common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:39
- ClassTooLong: CarSensorManager app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt:35
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (12 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:467
- Duplicated block (12 lines × 2) app/src/full/kotlin/io/homeassistant/companion/android/FullApplicationModule.kt:25
- Duplicated block (12 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:249
- Duplicated block (10 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/home/views/DetailsPanelView.kt:219
- Duplicated block (10 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/onboarding/manualserver/ManualServerScreen.kt:113
- Duplicated block (10 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:526
- Duplicated block (8 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:2126
- Duplicated block (8 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/BaseWidgetProvider.kt:81
- Duplicated block (8 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidget.kt:79
- Duplicated block (7 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:429
- Duplicated block (7 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:77
- Duplicated block (7 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:134
- Duplicated block (31 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:514
- Duplicated block (31 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SelectCameraTileView.kt:21
- Duplicated block (21 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:144
- Duplicated block (21 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/sensors/NotificationListenerSensorManager.kt:158
- Duplicated block (19 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:445
- Duplicated block (19 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:379
- Duplicated block (16 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureViewModel.kt:250
- Duplicated block (16 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:345
- Duplicated block (15 lines × 2) app/src/full/kotlin/io/homeassistant/companion/android/settings/wear/views/SettingsWearFavoritesView.kt:73
- Duplicated block (15 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:149
- Duplicated block (14 lines × 2) app/src/debug/kotlin/io/homeassistant/companion/android/developer/catalog/HAUserInputScreen.kt:110
- Duplicated block (14 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:132
- Duplicated block (13 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt:283
- Duplicated block (13 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:500
- Low cohesion: MainViewModel (LCOM4 6) wear/src/main/kotlin/io/homeassistant/companion/android/home/MainViewModel.kt:49
- Low cohesion: DeveloperSettingsFragment (LCOM4 4) app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/DeveloperSettingsFragment.kt:28
- EntityKt.getIcon (cyclomatic 169) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:850
- FriendlyStateKt.stateResource (cyclomatic 104) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/FriendlyState.kt:76
- MessagingManager.handleMessage (cyclomatic 71) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:302
- EntityKt.sensorIcon (cyclomatic 63) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1192
- MessagingManager.handleDeviceCommands (cyclomatic 55) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:670
- EntityKt.binarySensorIcon (cyclomatic 51) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1113
- Migration16to17.migrate (cyclomatic 51) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:272
- SensorUpdater.syncSensorsWithServer (cyclomatic 42) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt:177
- SensorDetailViewKt.SensorDetailView (cyclomatic 37) app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:100
- ManageShortcutsViewKt.CreateShortcutView (cyclomatic 32) app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt:94
- MessagingManager.addExtrasToIntent (cyclomatic 30) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:926
- EntityKt.coverIcon (cyclomatic 29) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1143
- WebSocketCoreImpl.handleEvent (cyclomatic 27) common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt:915
- HealthConnectSensorManager.requestSensorUpdate (cyclomatic 27) app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:440
- MediaPlayerControlsWidget.getWidgetRemoteViews (cyclomatic 27) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:66
- ThreadManagerImpl.fullSyncPreferredDataset (cyclomatic 26) app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt:87
- LocationSensorManager.shouldEnableHighAccuracyMode (cyclomatic 24) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:532
- MainViewKt.MainView (cyclomatic 23) wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt:52
- DeviceCommandsKt.commandBleTransmitter (cyclomatic 23) common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt:124
- SettingsFragment.onCreatePreferences (cyclomatic 22) app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt:91
- WearToggleChip.entityToggleChipBackgroundColors (cyclomatic 21) wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:36
- WearToggleChipColors.equals (cyclomatic 20) wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:364
- HealthServicesSensorManager.updateHealthServices (cyclomatic 19) wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt:188
- IntegrationRepositoryImpl.registerSensor (cyclomatic 19) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt:579
- SensorManager.onSensorUpdated (cyclomatic 19) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt:317
- OnSwipeListener.onTouch (cyclomatic 19) app/src/main/kotlin/io/homeassistant/companion/android/util/OnSwipeListener.kt:39
- Migration37to38.onPostMigrate (cyclomatic 18) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:596
- MessagingManager.createOpenUriPendingIntent (cyclomatic 18) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1704
- MessagingManager.notifyMissingPermission (cyclomatic 18) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:2125
- LocationTrackingViewKt.LocationTrackingHistoryRow (cyclomatic 18) app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt:149
- WidgetDynamicFieldAdapter.onBindViewHolder (cyclomatic 18) app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt:44
- LocationSensorManager.setupLocationTracking (cyclomatic 17) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:306
- LocationSensorManager.handleGeoUpdate (cyclomatic 17) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:771
- ThermostatTile.onTileRequest (cyclomatic 16) wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:68
- NotificationManagerExtensionsKt.cancelNotificationGroupIfNeeded (cyclomatic 16) common/src/main/kotlin/io/homeassistant/companion/android/common/util/NotificationManagerExtensions.kt:43
- LocationSensorManager.sendLocationUpdate (cyclomatic 16) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:872
- HomeAssistantApplication.onCreate (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:82
- AssistViewModel.runAssistPipeline (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:428
- CarSensorManager.setListener (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt:372
- SettingsActivity.onCreate (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsActivity.kt:82
- SensorDetailFragment.onViewCreated (cyclomatic 16) app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailFragment.kt:95
- EntityKt.getIcon (cognitive 101) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:850
- ThreadManagerImpl.fullSyncPreferredDataset (cognitive 94) app/src/full/kotlin/io/homeassistant/companion/android/thread/ThreadManagerImpl.kt:87
- MessagingManager.handleMessage (cognitive 85) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:302
- SensorUpdater.syncSensorsWithServer (cognitive 70) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorUpdater.kt:177
- FriendlyStateKt.stateResource (cognitive 65) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/FriendlyState.kt:76
- MessagingManager.handleDeviceCommands (cognitive 60) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:670
- Migration16to17.migrate (cognitive 53) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:272
- WebSocketCoreImpl.handleEvent (cognitive 51) common/src/main/kotlin/io/homeassistant/companion/android/common/data/websocket/impl/WebSocketCoreImpl.kt:915
- ManageShortcutsViewKt.CreateShortcutView (cognitive 51) app/src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/legacy/views/ManageShortcutsView.kt:94
- MainViewKt.MainView (cognitive 50) wear/src/main/kotlin/io/homeassistant/companion/android/home/views/MainView.kt:52
- MediaPlayerControlsWidget.getWidgetRemoteViews (cognitive 49) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:66
- EntityKt.binarySensorIcon (cognitive 48) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1113
- NotificationManagerExtensionsKt.cancelNotificationGroupIfNeeded (cognitive 38) common/src/main/kotlin/io/homeassistant/companion/android/common/util/NotificationManagerExtensions.kt:43
- SensorDetailViewKt.SensorDetailView (cognitive 37) app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:100
- LocationSensorManager.shouldEnableHighAccuracyMode (cognitive 32) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:532
- SettingsFragment.onCreatePreferences (cognitive 32) app/src/main/kotlin/io/homeassistant/companion/android/settings/SettingsFragment.kt:91
- ConversationViewModel.onCreate (cognitive 31) wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:65
- ThermostatTile.onTileRequest (cognitive 31) wear/src/main/kotlin/io/homeassistant/companion/android/tiles/ThermostatTile.kt:68
- WearToggleChip.entityToggleChipBackgroundColors (cognitive 29) wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:36
- OnSwipeListener.onTouch (cognitive 29) app/src/main/kotlin/io/homeassistant/companion/android/util/OnSwipeListener.kt:39
- LocationSensorManager.setupBackgroundLocation (cognitive 28) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:365
- SensorReceiverBase.onReceive (cognitive 27) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt:73
- Migration37to38.onPostMigrate (cognitive 27) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:596
- LocationSensorManager.handleGeoUpdate (cognitive 27) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:771
- HealthConnectSensorManager.requestSensorUpdate (cognitive 26) app/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthConnectSensorManager.kt:440
- EntityKt.coverIcon (cognitive 24) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1143
- TileExtensions.setTileData (cognitive 24) app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt:145
- WidgetDynamicFieldAdapter.onBindViewHolder (cognitive 24) app/src/main/kotlin/io/homeassistant/companion/android/widgets/common/WidgetDynamicFieldAdapter.kt:44
- EntityKt.sensorIcon (cognitive 23) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/Entity.kt:1192
- ManageControlsViewKt.ManageControlsView (cognitive 23) app/src/main/kotlin/io/homeassistant/companion/android/settings/controls/views/ManageControlsView.kt:71
- EntityGridVehicleScreen.createEntityGrid (cognitive 23) app/src/main/kotlin/io/homeassistant/companion/android/vehicle/EntityGridVehicleScreen.kt:139
- CameraWidget.getWidgetRemoteViews (cognitive 23) app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidget.kt:107
- LocationSensorManager.sendLocationUpdate (cognitive 22) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:872
- ButtonWidget.callConfiguredAction (cognitive 21) app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:264
- IntegrationRepositoryImpl.registerSensor (cognitive 20) common/src/main/kotlin/io/homeassistant/companion/android/common/data/integration/impl/IntegrationRepositoryImpl.kt:579
- MessagingManager.createOpenUriPendingIntent (cognitive 20) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1704
- TileExtensions.tileClicked (cognitive 20) app/src/main/kotlin/io/homeassistant/companion/android/qs/TileExtensions.kt:211
- WebsocketManager.collectNotifications (cognitive 20) app/src/main/kotlin/io/homeassistant/companion/android/websocket/WebsocketManager.kt:204
- WearToggleChipColors.equals (cognitive 19) wear/src/main/kotlin/io/homeassistant/companion/android/util/WearToggleChip.kt:364
- MessagingManager.handleActions (cognitive 19) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1604
- ConversationViewModel.setPipeline (cognitive 18) wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:198
- HealthServicesSensorManager.updateHealthServices (cognitive 18) wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt:188
- IBeaconMonitor.setBeacons (cognitive 18) common/src/main/kotlin/io/homeassistant/companion/android/common/bluetooth/ble/IBeaconMonitor.kt:43
- DeviceCommandsKt.commandBleTransmitter (cognitive 18) common/src/main/kotlin/io/homeassistant/companion/android/common/notifications/DeviceCommands.kt:124
- HomeAssistantApplication.onCreate (cognitive 18) app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:82
- CarSensorManager.requestSensorUpdate (cognitive 18) app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt:337
- CameraTile.onTileResourcesRequest (cognitive 17) wear/src/main/kotlin/io/homeassistant/companion/android/tiles/CameraTile.kt:115
- LocationTrackingViewKt.LocationTrackingHistoryRow (cognitive 17) app/src/main/kotlin/io/homeassistant/companion/android/settings/developer/location/views/LocationTrackingView.kt:149
- SensorDetailViewModel.setEnabled (cognitive 17) app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/SensorDetailViewModel.kt:227
- SensorDetailViewKt.SensorDetailTopPanel (cognitive 17) app/src/main/kotlin/io/homeassistant/companion/android/settings/sensor/views/SensorDetailView.kt:373
- CameraWidgetConfigureActivity.onCreate (cognitive 17) app/src/main/kotlin/io/homeassistant/companion/android/widgets/camera/CameraWidgetConfigureActivity.kt:62
- PhoneStateSensorManager.updateSimSensor (cognitive 16) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt:230
- LocationSensorManager.setupLocationTracking (cognitive 16) app/src/full/kotlin/io/homeassistant/companion/android/sensors/LocationSensorManager.kt:306
- CarSensorManager.setListener (cognitive 16) app/src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt:372
- ButtonWidgetConfigureActivity.onCreate (cognitive 16) app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt:212
- REDACTED
- REDACTED
- REDACTED
- Near-duplicate member family (5 members, 28 shared lines) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:463
- Near-duplicate member pair (38 shared lines) wear/src/main/kotlin/io/homeassistant/companion/android/conversation/ConversationViewModel.kt:286
- Members sharing a duplicated core (4 members, 50+ identical tokens) app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:973
- Duplicated block (49 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/home/views/SetCameraTileView.kt:42
- Duplicated block (45 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt:44
- Duplicated block (40 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/HomeAssistantApplication.kt:229
- Duplicated block (26–27 lines × 3) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureViewModel.kt:213
- Duplicated block (24 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureScreen.kt:136
- Duplicated block (19–20 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/onboarding/OnboardingPresenterImpl.kt:124
- Duplicated block (18 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/common/sensors/NetworkSensorManager.kt:441
- Duplicated block (17 lines × 4) app/src/main/kotlin/io/homeassistant/companion/android/frontend/FrontendScreen.kt:979
- Duplicated block (16 lines × 5) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:478
- Duplicated block (14–15 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:135
- Duplicated block (12–13 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt:409
- Duplicated block (10–11 lines × 2) app/src/full/kotlin/io/homeassistant/companion/android/notifications/FirebaseCloudMessagingService.kt:42
- Duplicated block (11 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt:1041
- Duplicated block (7–9 lines × 2) wear/src/main/kotlin/io/homeassistant/companion/android/tiles/TileViews.kt:82
- Duplicated block (9 lines × 2) app/src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt:68
- Duplicated block (12 lines × 7) app/src/main/kotlin/io/homeassistant/companion/android/widgets/mediaplayer/MediaPlayerControlsWidget.kt:464
- Duplicated block (6 lines × 2) common/src/main/kotlin/io/homeassistant/companion/android/database/migration/DatabaseMigration.kt:128
- Off the main sequence: home-assistant-android:common
- SAST runs, but gates no merge
- Sync-over-async blocking wear/src/main/kotlin/io/homeassistant/companion/android/sensors/HealthServicesSensorManager.kt:188
Minor — 19 finding(s)
- Primitive id on a domain type: LocationHistoryItem.serverId common/src/main/kotlin/io/homeassistant/companion/android/database/location/LocationHistoryItem.kt:34
- Primitive id on a domain type: NotificationItem.serverId common/src/main/kotlin/io/homeassistant/companion/android/database/notification/NotificationItem.kt:20
- Primitive id on a domain type: Attribute.sensorId common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Attribute.kt:9
- Primitive id on a domain type: Sensor.serverId common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/Sensor.kt:11
- Primitive id on a domain type: SensorSetting.sensorId common/src/main/kotlin/io/homeassistant/companion/android/database/sensor/SensorSetting.kt:24
- Primitive id on a domain type: Server.deviceRegistryId common/src/main/kotlin/io/homeassistant/companion/android/database/server/Server.kt:24
- Primitive id on a domain type: CameraTile.entityId common/src/main/kotlin/io/homeassistant/companion/android/database/wear/CameraTile.kt:19
- Primitive id on a domain type: EntityStateComplications.entityId common/src/main/kotlin/io/homeassistant/companion/android/database/wear/EntityStateComplications.kt:16
- Primitive id on a domain type: ThermostatTile.entityId common/src/main/kotlin/io/homeassistant/companion/android/database/wear/ThermostatTile.kt:19
- Off-boarding risk: anonymized user #1
- No ADRs found
- Split app
- Split wear
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No changelog
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-39609ff743d247c28be12877a06e5f31/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-39609ff743d247c28be12877a06e5f31/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 82 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 4 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |