Code Quality
Weight 20%70.5
avg_cc=3.37, max_cc=17, duplication=69.69%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | TypeScript |
| Detected Frameworks | TypeScript |
| Deployable Types | Service |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:20:21 AM |
| Source Repository | Open on GitHub |
82b5a04d9f1b6bc14eb0d73101703c7d904e03ffhome-assistant/services.home-assistant.io82b5a04d9f1b6bc14eb0d73101703c7d904e03ffgraph 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
n_7381bcf9_5be1_461c_8e8b_68cc9760b5a7["7381bcf9-5be1-461c-8e8b-68cc9760b5a7 : MODULE"]:::atlasJob
package.json): MODULEC (70.40/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 70.52 | 0.20 | avg_cc=3.37, max_cc=17, duplication=69.69%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=11, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | A | 94.00 | 0.15 | avg_cognitive=2.53, max_cognitive=19, fitness_violations=1, oversized_files=0 |
| Pipeline Health | F | 41.00 | 0.15 | workflows=3, operational_antipatterns=8, parallel_branches=True |
| Security | D | 64.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=3 |
| 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 (69.69) exceeds policy threshold (15.0).@cloudflare/workers-types 4.20260629.1 (npm, package.json)@types/jest 30.0.0 (npm, package.json)@types/node 26.6.2 (npm, package.json)jest 30.5.2 (npm, package.json)toucan-js 4.1.1 (npm, package.json)ts-jest 29.4.12 (npm, package.json)ts-loader 9.6.2 (npm, package.json)typescript 4.9.5 (npm, package.json)webpack 5.111.1 (npm, package.json)webpack-cli 7.2.3 (npm, package.json)wrangler 4.135.0 (npm, package.json)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_7381bcf9_5be1_461c_8e8b_68cc9760b5a7["7381bcf9-5be1-461c-8e8b-68cc9760b5a7"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_publish_yaml_publish["publish.yaml#publish"]:::atlasJob
job_release_drafter_yml_update_release_draft["release-drafter.yml#update_release_draft"]:::atlasJob
job_test_yaml_build["test.yaml#build"]:::atlasJob
job_test_yaml_test["test.yaml#test"]:::atlasJob
end
mod_7381bcf9_5be1_461c_8e8b_68cc9760b5a7 -->|BUILT_BY| job_test_yaml_build
mod_7381bcf9_5be1_461c_8e8b_68cc9760b5a7 -->|BUILT_BY| job_test_yaml_test
mod_7381bcf9_5be1_461c_8e8b_68cc9760b5a7 -->|DEPLOYED_BY| job_publish_yaml_publish
mod_7381bcf9_5be1_461c_8e8b_68cc9760b5a7 -->|DEPLOYED_BY| job_release_drafter_yml_update_release_draft
7381bcf9-5be1-461c-8e8b-68cc9760b5a7 (code_module) —[BUILT_BY]—> test.yaml#build (ci_job)7381bcf9-5be1-461c-8e8b-68cc9760b5a7 (code_module) —[BUILT_BY]—> test.yaml#test (ci_job)7381bcf9-5be1-461c-8e8b-68cc9760b5a7 (code_module) —[DEPLOYED_BY]—> publish.yaml#publish (ci_job)7381bcf9-5be1-461c-8e8b-68cc9760b5a7 (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/services.home-assistant.io"]):::atlasRoot
subgraph Publish_0["Publish"]
direction TB
0_publish["publish"]:::atlasJob
end
pipeline_root --> 0_publish
subgraph Release_Drafter_1["Release Drafter"]
direction TB
1_update_release_draft["update_release_draft"]:::atlasJob
end
pipeline_root --> 1_update_release_draft
subgraph Test_2["Test"]
direction TB
2_build["build"]:::atlasJob
2_test["test"]:::atlasJob
end
pipeline_root --> 2_buildavg_cc=3.37, max_cc=17, duplication=69.69%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=3
avg_cognitive=2.53, max_cognitive=19, fitness_violations=1, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=11, outdated=0, vulnerable=0, has_lockfile=False
workflows=3, operational_antipatterns=8, parallel_branches=True
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/services/whoami.ts:1Repository duplication_pct (69.69) exceeds policy threshold (15.0).
No known OSV vulnerabilities detected across 11 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.