Skip to content
CAI
Software that uses CAICheck a score

home-assistant/core

60.6

Adequate · 29 July 2026

1255.7k

lines of production code

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Score

  • CAI 54 → 61 (+7.0)
  • Rubric changed (rubric-2026.08.17 → rubric-2026.08.18) — scores are not directly comparable.

Lenses

  • Code Health 80 → 78 (-1.5)
  • Architecture 99 → 100 (+0.6)
  • Maturity 55 → 61 (+5.5)
  • Readiness 62 → 62 (+0.0)
  • Security 40 → 53 (+12.7)
  • Domain Modelling 88 → 85 (-3.4)

Resolved (1558)

  • AFSAPIDevice.async_update (cognitive 51) (homeassistant/components/frontier_silicon/media_player.py)
  • AFSAPIDevice.async_update (cyclomatic 31) (homeassistant/components/frontier_silicon/media_player.py)
  • AbstractTemplateLight.get_registered_script (cognitive 22) (homeassistant/components/template/light.py)
  • AbstractTemplateLight.get_registered_script (cyclomatic 22) (homeassistant/components/template/light.py)
  • AbstractTemplateLight.set_optimistic_attributes (cognitive 19) (homeassistant/components/template/light.py)
  • AbstractTemplateLight.set_optimistic_attributes (cyclomatic 20) (homeassistant/components/template/light.py)
  • ActionTool.async_call (cognitive 21) (homeassistant/helpers/llm.py)
  • AirPurifier.create_services (cognitive 23) (homeassistant/components/homekit/type_air_purifiers.py)
  • AirlyFlowHandler.async_step_user (cognitive 16) (homeassistant/components/airly/config_flow.py)
  • AirthingsConfigFlow.async_step_user (cognitive 19) (homeassistant/components/airthings_ble/config_flow.py)
  • AlertUpdateCoordinator._async_update_data (cognitive 47) (homeassistant/components/homeassistant_alerts/coordinator.py)
  • AlertUpdateCoordinator._async_update_data (cyclomatic 18) (homeassistant/components/homeassistant_alerts/coordinator.py)
  • AlexaFlashBriefingView.get (cognitive 30) (homeassistant/components/alexa/flash_briefings.py)
  • AlexaModeController.capability_resources (cognitive 33) (homeassistant/components/alexa/capabilities.py)
  • AlexaModeController.capability_resources (cyclomatic 23) (homeassistant/components/alexa/capabilities.py)
  • AlexaModeController.get_property (cognitive 24) (homeassistant/components/alexa/capabilities.py)
  • AlexaModeController.get_property (cyclomatic 18) (homeassistant/components/alexa/capabilities.py)
  • AlexaRangeController.capability_resources (cognitive 18) (homeassistant/components/alexa/capabilities.py)
  • AlexaRangeController.get_property (cognitive 21) (homeassistant/components/alexa/capabilities.py)
  • AlexaRangeController.get_property (cyclomatic 17) (homeassistant/components/alexa/capabilities.py)
  • …and 1538 more

New (46)

  • Build action pinned to a mutable branch
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • Off-boarding risk: anonymized user #19
  • Off-boarding risk: anonymized user #24
  • Off-boarding risk: anonymized user #37
  • Off-boarding risk: anonymized user #25
  • Off-boarding risk: anonymized user #6
  • Off-boarding risk: anonymized user #8
  • Off-boarding risk: anonymized user #23
  • Off-boarding risk: anonymized user #1
  • Off-boarding risk: anonymized user #10
  • Off-boarding risk: anonymized user #36
  • Off-boarding risk: anonymized user #20
  • Off-boarding risk: anonymized user #35
  • Off-boarding risk: anonymized user #30
  • Off-boarding risk: anonymized user #42
  • Off-boarding risk: anonymized user #21
  • Off-boarding risk: anonymized user #28
  • Off-boarding risk: anonymized user #32
  • Off-boarding risk: anonymized user #18
  • …and 26 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

home-assistant/core was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 29 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 125b2ac32233c7d6c19a4730326869b1f4b1df03 — the exact code this score is about.
  • Scored under rubric-2026.08.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer latest.