Code Quality
Weight 20%avg_cc=2.45, max_cc=61, duplication=80.65%, dead_code=1
| Primary Language | Python |
|---|---|
| Primary Framework | Unknown |
| Detected Frameworks | Container |
| Technology Stack | Python, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:10:13 AM |
| Source Repository | Open on GitHub |
dedc62d6b96a0302b3b084b0c60abc029e6066aeF (53.40/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 48.00 | 0.20 | avg_cc=2.45, max_cc=61, duplication=80.65%, dead_code=1 |
| Dependency Health | A | 90.00 | 0.15 | dependencies=0 (no manifests parsed) |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=2.37, max_cognitive=142, fitness_violations=3, oversized_files=16 |
| Pipeline Health | D | 63.00 | 0.15 | workflows=2, operational_antipatterns=13, parallel_branches=True |
| Security | F | 24.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=5 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (80.65) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (142.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (61.0) exceeds policy threshold (20.0).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_docker["docker"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_docker_Dockerfile_alpine["docker/Dockerfile.alpine"]:::atlasWorkflow
art_docker_Dockerfile_buster["docker/Dockerfile.buster"]:::atlasWorkflow
end
mod_docker -->|PACKAGED_BY| art_docker_Dockerfile_alpine
mod_docker -->|PACKAGED_BY| art_docker_Dockerfile_buster
docker (code_module) —[PACKAGED_BY]—> docker/Dockerfile.alpine (container)docker (code_module) —[PACKAGED_BY]—> docker/Dockerfile.buster (container)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(["zulip/zulip-terminal"]):::atlasRoot
subgraph GitHub_CodeQL_0["GitHub CodeQL"]
direction TB
0_analyse["analyse"]:::atlasJob
end
pipeline_root --> 0_analyse
subgraph Linting___tests_1["Linting & tests"]
direction TB
1_mypy["mypy"]:::atlasJob
1_ruff["ruff"]:::atlasJob
1_isort["isort"]:::atlasJob
1_black["black"]:::atlasJob
1_spellcheck["spellcheck"]:::atlasJob
1_hotkeys["hotkeys"]:::atlasJob
1_docstrings["docstrings"]:::atlasJob
1_gitlint["gitlint"]:::atlasJob
1_base_pytest["base_pytest"]:::atlasJob
1_isolated_commits["isolated-commits"]:::atlasJob
1_mypy --> 1_isolated_commits
1_ruff --> 1_isolated_commits
1_isort --> 1_isolated_commits
1_black --> 1_isolated_commits
1_spellcheck --> 1_isolated_commits
1_hotkeys --> 1_isolated_commits
1_docstrings --> 1_isolated_commits
1_base_pytest --> 1_isolated_commits
1_gitlint --> 1_isolated_commits
1_pytest_on_other_platforms["pytest-on-other-platforms"]:::atlasJob
1_isolated_commits --> 1_pytest_on_other_platforms
wf_entry_1(["Trigger: Linting & tests"]):::atlasWorkflow
wf_entry_1 --> 1_mypy
wf_entry_1 --> 1_ruff
wf_entry_1 --> 1_isort
wf_entry_1 --> 1_black
wf_entry_1 --> 1_spellcheck
wf_entry_1 --> 1_hotkeys
wf_entry_1 --> 1_docstrings
wf_entry_1 --> 1_gitlint
wf_entry_1 --> 1_base_pytest
end
pipeline_root --> wf_entry_1avg_cc=2.45, max_cc=61, duplication=80.65%, dead_code=1
vulnerabilities=0, secrets=0, pipeline_security_findings=5
avg_cognitive=2.37, max_cognitive=142, fitness_violations=3, oversized_files=16
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=0 (no manifests parsed)
workflows=2, operational_antipatterns=13, parallel_branches=True
detected_python_shortzulipterminal/platform_code.py:27ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulipterminal/model.py:1Repository duplication_pct (80.65) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulipterminal/model.py:1Repository max_cognitive_complexity (142.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulipterminal/model.py:1Repository max_cyclomatic_complexity (61.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 0 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.