Code Quality
Weight 20%avg_cc=1.75, max_cc=40, duplication=89.01%, dead_code=5
| Primary Language | Python |
|---|---|
| Primary Framework | Django |
| Detected Frameworks | Django; Container |
| Deployable Types | API; Service |
| Technology Stack | Python, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:00:20 AM |
| Source Repository | Open on GitHub |
98a2322374ae3d0c248079d11f7435ad759935fahome-assistant/supervisor98a2322374ae3d0c248079d11f7435ad759935fagraph 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/supervisor (27 components)"]):::atlasRoot
subgraph sg_dir_0_supervisor["supervisor (17)"]
direction TB
dir_0_supervisor["supervisor (17)"]:::atlasCategory
sub_0_0_host["host (3)"]:::atlasWorkflow
dir_0_supervisor --> sub_0_0_host
sub_0_1_services["services (3)"]:::atlasWorkflow
dir_0_supervisor --> sub_0_1_services
sub_0_2_dbus["dbus (2)"]:::atlasWorkflow
dir_0_supervisor --> sub_0_2_dbus
sub_0_more["+8 more submodules (9)"]:::atlasMore
dir_0_supervisor --> sub_0_more
end
repo_root --> dir_0_supervisor
subgraph sg_dir_1_tests["tests (10)"]
direction TB
dir_1_tests["tests (10)"]:::atlasCategory
sub_1_0_fixtures["fixtures (6)"]:::atlasWorkflow
dir_1_tests --> sub_1_0_fixtures
sub_1_1_dbus_service_mocks["dbus_service_mocks (3)"]:::atlasWorkflow
dir_1_tests --> sub_1_1_dbus_service_mocks
sub_1_2_dbus["dbus (1)"]:::atlasWorkflow
dir_1_tests --> sub_1_2_dbus
end
repo_root --> dir_1_tests
sub_0_0_host -.->|"1 dep"| sub_0_1_services
sub_0_2_dbus -.->|"1 dep"| sub_0_0_host
sub_0_2_dbus -.->|"1 dep"| sub_1_1_dbus_service_mocks
supervisor/arch.py): SERVICEsupervisor/backups/manager.py): SERVICEsupervisor/dbus/manager.py): SERVICE (deps: NetworkManager, UDisks2Manager)supervisor/dbus/agent/boards/__init__.py): SERVICEsupervisor/hardware/manager.py): SERVICEsupervisor/host/firewall.py): SERVICEsupervisor/host/manager.py): SERVICE (deps: FirewallManager, NetworkManager, ServiceManager)supervisor/host/network.py): SERVICEsupervisor/jobs/__init__.py): SERVICEsupervisor/plugins/manager.py): SERVICEsupervisor/resolution/module.py): SERVICEsupervisor/resolution/evaluations/network_manager.py): SERVICEsupervisor/services/__init__.py): SERVICE (deps: MQTTService, MySQLService)supervisor/services/modules/mqtt.py): SERVICEsupervisor/services/modules/mysql.py): SERVICEsupervisor/store/__init__.py): SERVICEsupervisor/utils/blockbuster.py): SERVICEtests/dbus/test_interface.py): SERVICEtests/dbus_service_mocks/network_dns_manager.py): SERVICEtests/dbus_service_mocks/network_manager.py): SERVICEtests/dbus_service_mocks/udisks2_manager.py): SERVICEtests/fixtures/apps/local/example/build.yaml): moduletests/fixtures/apps/local/example/config.yaml): moduletests/fixtures/apps/local/example_image/build.yaml): moduletests/fixtures/apps/local/example_image/config.yaml): moduletests/fixtures/apps/local/ssh/build.yaml): moduletests/fixtures/apps/local/ssh/config.yaml): moduleD (62.80/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 40.00 | 0.20 | avg_cc=1.75, max_cc=40, duplication=89.01%, dead_code=5 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=42, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=0.96, max_cognitive=55, fitness_violations=3, oversized_files=17 |
| Pipeline Health | F | 40.00 | 0.15 | workflows=0 |
| Security | A | 100.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=0 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (89.01) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (55.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (40.0) exceeds policy threshold (20.0).PyYAML 6.0.3 (PyPI, requirements.txt)aiodns 4.0.4 (PyPI, requirements.txt)aiodocker 0.27.0 (PyPI, requirements.txt)aiohttp 3.14.5 (PyPI, requirements.txt)astroid 4.3.4 (PyPI, requirements_tests.txt)atomicwrites-homeassistant 1.4.1 (PyPI, requirements.txt)attrs 26.1.0 (PyPI, requirements.txt)awesomeversion 25.8.0 (PyPI, requirements.txt)blockbuster 1.5.29 (PyPI, requirements.txt)brotli 1.2.1 (PyPI, requirements.txt)ciso8601 2.3.3 (PyPI, requirements.txt)colorlog 6.12.0 (PyPI, requirements.txt)coverage 7.17.2 (PyPI, requirements_tests.txt)cpe 1.3.1 (PyPI, requirements.txt)cryptography 50.0.2 (PyPI, requirements.txt)dbus-fast 5.2.0 (PyPI, requirements.txt)debugpy 1.8.22 (PyPI, requirements.txt)deepmerge 4.0.0 (PyPI, requirements.txt)gitpython 3.2.1 (PyPI, requirements.txt)jinja2 3.1.6 (PyPI, requirements.txt)log-rate-limit 1.4.2 (PyPI, requirements.txt)mypy 2.4.1 (PyPI, requirements_tests.txt)orjson 3.13.0 (PyPI, requirements.txt)pre-commit 4.7.0 (PyPI, requirements_tests.txt)pulsectl 24.12.0 (PyPI, requirements.txt)pyjournalexport 0.1.2 (PyPI, requirements.txt)pylint 4.1.3 (PyPI, requirements_tests.txt)pytest 9.2.0 (PyPI, requirements_tests.txt)pytest-aiohttp 1.1.1 (PyPI, requirements_tests.txt)pytest-asyncio 1.4.1.post1 (PyPI, requirements_tests.txt)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 NoWorkflows[No Workflows Detected]:::atlasMore
avg_cc=1.75, max_cc=40, duplication=89.01%, dead_code=5
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=0.96, max_cognitive=55, fitness_violations=3, oversized_files=17
coverage=unavailable, ci_test_job=False, test_files_detected=True
dependencies=42, outdated=0, vulnerable=0, has_lockfile=False
workflows=0
_location_field_to_mountsupervisor/api/backups.py:363_runsupervisor/docker/interface.py:543_write_configsupervisor/plugins/audio.py:152_write_configsupervisor/plugins/dns.py:378process_locksupervisor/utils/__init__.py:27ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsupervisor/apps/app.py:1Repository duplication_pct (89.01) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsupervisor/apps/app.py:1Repository max_cognitive_complexity (55.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsupervisor/apps/app.py:1Repository max_cyclomatic_complexity (40.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 42 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.
No Code-to-Cloud container, IaC, or deploy environment edges detected.