Code Quality
Weight 20%avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
| Primary Language | Go |
|---|---|
| Primary Framework | Go Service |
| Detected Frameworks | Go Service |
| Technology Stack | Go, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:13:33 AM |
| Source Repository | Open on GitHub |
a9bea5764909a7592500a1483efaf2f5a1cc7440home-assistant/clia9bea5764909a7592500a1483efaf2f5a1cc7440graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["home-assistant/cli (192 components)"]):::atlasRoot
dir_0_cmd["cmd (177)"]:::atlasCategory
repo_root --> dir_0_cmd
dir_1_client["client (10)"]:::atlasCategory
repo_root --> dir_1_client
dir_2_config["config (2)"]:::atlasCategory
repo_root --> dir_2_config
dir_3_spinner["spinner (2)"]:::atlasCategory
repo_root --> dir_3_spinner
dir_4__root_["(root) (1)"]:::atlasCategory
repo_root --> dir_4__root_
Showing top 60 representative components out of 192 across 5 module group(s):
Module cmd (177 components — module: 177)
Module client (10 components — module: 10)
Module config (2 components — module: 2)
Module spinner (2 components — module: 2)
Module (root) (1 components — module: 1)
apps (cmd/apps.go): module
apps_changelog (cmd/apps_changelog.go): module
apps_info (cmd/apps_info.go): module
apps_install (cmd/apps_install.go): module
apps_logs (cmd/apps_logs.go): module
apps_rebuild (cmd/apps_rebuild.go): module
apps_restart (cmd/apps_restart.go): module
apps_start (cmd/apps_start.go): module
apps_stats (cmd/apps_stats.go): module
apps_stop (cmd/apps_stop.go): module
apps_uninstall (cmd/apps_uninstall.go): module
apps_update (cmd/apps_update.go): module
audio (cmd/audio.go): module
audio_default (cmd/audio_default.go): module
audio_default_input (cmd/audio_default_input.go): module
audio_default_output (cmd/audio_default_output.go): module
audio_info (cmd/audio_info.go): module
audio_logs (cmd/audio_logs.go): module
audio_profile (cmd/audio_profile.go): module
audio_reload (cmd/audio_reload.go): module
audio_restart (cmd/audio_restart.go): module
audio_stats (cmd/audio_stats.go): module
audio_update (cmd/audio_update.go): module
audio_volume (cmd/audio_volume.go): module
audio_volume_input (cmd/audio_volume_input.go): module
audio_volume_output (cmd/audio_volume_output.go): module
auth (cmd/auth.go): module
auth_cache (cmd/auth_cache.go): module
auth_list (cmd/auth_list.go): module
auth_reset (cmd/auth_reset.go): module
available_updates (cmd/available_updates.go): module
backups (cmd/backups.go): module
backups_freeze (cmd/backups_freeze.go): module
backups_info (cmd/backups_info.go): module
backups_new (cmd/backups_new.go): module
backups_options (cmd/backups_options.go): module
backups_reload (cmd/backups_reload.go): module
backups_remove (cmd/backups_remove.go): module
backups_restore (cmd/backups_restore.go): module
backups_thaw (cmd/backups_thaw.go): module
banner (cmd/banner.go): module
character_sets (spinner/character_sets.go): module
cli (cmd/cli.go): module
cli_info (cmd/cli_info.go): module
cli_stats (cmd/cli_stats.go): module
cli_update (cmd/cli_update.go): module
client (client/client.go): module
config (config/config.go): module
config_test (config/config_test.go): module
core (cmd/core.go): module
core_check (cmd/core_check.go): module
core_info (cmd/core_info.go): module
core_logs (cmd/core_logs.go): module
core_options (cmd/core_options.go): module
core_rebuild (cmd/core_rebuild.go): module
core_restart (cmd/core_restart.go): module
core_start (cmd/core_start.go): module
core_stats (cmd/core_stats.go): module
core_stop (cmd/core_stop.go): module
core_update (cmd/core_update.go): module
C (73.60/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 100.00 | 0.20 | avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=6, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0 |
| Pipeline Health | D | 65.00 | 0.15 | workflows=5, operational_antipatterns=6, parallel_branches=False |
| Security | F | 28.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=6 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
github.com/spf13/cobra 1.10.2 (golang, go.mod)github.com/spf13/pflag 1.0.10 (golang, go.mod)go.yaml.in/yaml/v3 3.0.6 (golang, go.mod)golang.org/x/term 0.46.0 (golang, go.mod)github.com/inconshreveable/mousetrap 1.1.0 (golang, go.mod)golang.org/x/sys 0.48.0 (golang, go.mod)flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_0170eb6f_501f_4103_8685_9a5490326cca["0170eb6f-501f-4103-8685-9a5490326cca"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_build_yml_build["build.yml#build"]:::atlasJob
job_codespell_yml_codespell["codespell.yml#codespell"]:::atlasJob
job_golangci_lint_yml_golangci["golangci-lint.yml#golangci"]:::atlasJob
job_release_drafter_yml_update_release_draft["release-drafter.yml#update_release_draft"]:::atlasJob
job_test_yml_test["test.yml#test"]:::atlasJob
end
mod_0170eb6f_501f_4103_8685_9a5490326cca -->|BUILT_BY| job_build_yml_build
mod_0170eb6f_501f_4103_8685_9a5490326cca -->|BUILT_BY| job_codespell_yml_codespell
mod_0170eb6f_501f_4103_8685_9a5490326cca -->|BUILT_BY| job_golangci_lint_yml_golangci
mod_0170eb6f_501f_4103_8685_9a5490326cca -->|BUILT_BY| job_test_yml_test
mod_0170eb6f_501f_4103_8685_9a5490326cca -->|DEPLOYED_BY| job_release_drafter_yml_update_release_draft
0170eb6f-501f-4103-8685-9a5490326cca (code_module) —[BUILT_BY]—> build.yml#build (ci_job)0170eb6f-501f-4103-8685-9a5490326cca (code_module) —[BUILT_BY]—> codespell.yml#codespell (ci_job)0170eb6f-501f-4103-8685-9a5490326cca (code_module) —[BUILT_BY]—> golangci-lint.yml#golangci (ci_job)0170eb6f-501f-4103-8685-9a5490326cca (code_module) —[BUILT_BY]—> test.yml#test (ci_job)0170eb6f-501f-4103-8685-9a5490326cca (code_module) —[DEPLOYED_BY]—> release-drafter.yml#update_release_draft (ci_job)graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["home-assistant/cli (5 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_1_codespell["codespell (1 jobs)"]
direction TB
wf_1_codespell(["Trigger: codespell"]):::atlasWorkflow
job_1_codespell["codespell"]:::atlasJob
wf_1_codespell --> job_1_codespell
end
pipeline_root --> wf_1_codespell
subgraph sg_wf_2_golangci_lint["golangci-lint (1 jobs)"]
direction TB
wf_2_golangci_lint(["Trigger: golangci-lint"]):::atlasWorkflow
job_2_golangci["golangci"]:::atlasJob
wf_2_golangci_lint --> job_2_golangci
end
pipeline_root --> wf_2_golangci_lint
subgraph sg_wf_4_test["test (1 jobs)"]
direction TB
wf_4_test(["Trigger: test"]):::atlasWorkflow
job_4_test["test"]:::atlasJob
wf_4_test --> job_4_test
end
pipeline_root --> wf_4_test
end
subgraph sg_grp_1_Release___Deploy["Release & Deploy (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_build["build (1 jobs)"]
direction TB
wf_0_build(["Trigger: build"]):::atlasWorkflow
job_0_build["build"]:::atlasJob
wf_0_build --> job_0_build
end
pipeline_root --> wf_0_build
subgraph sg_wf_3_Release_Drafter["Release Drafter (1 jobs)"]
direction TB
wf_3_Release_Drafter(["Trigger: Release Drafter"]):::atlasWorkflow
job_3_update_release_draft["update_release_draft"]:::atlasJob
wf_3_Release_Drafter --> job_3_update_release_draft
end
pipeline_root --> wf_3_Release_Drafter
endavg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=6
avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=6, outdated=0, vulnerable=0, has_lockfile=False
workflows=5, operational_antipatterns=6, parallel_branches=False
No per-file complexity hotspots recorded in this report.
All architectural boundary, cycle, and complexity thresholds passed.
No known OSV vulnerabilities detected across 6 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.