Code Quality
Weight 20%69.8
avg_cc=4.29, max_cc=12, duplication=77.67%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | TypeScript |
| Detected Frameworks | TypeScript |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:13:01 AM |
| Source Repository | Open on GitHub |
89f9b471c2f4fd894363a9af01d9f92a84ca79c0TryGhost/action-deploy-theme89f9b471c2f4fd894363a9af01d9f92a84ca79c0graph 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
action_deploy_theme["action-deploy-theme : MODULE"]:::atlasJob
package.json): MODULEB (86.32/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | D | 69.84 | 0.20 | avg_cc=4.29, max_cc=12, duplication=77.67%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=13, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | A | 94.00 | 0.15 | avg_cognitive=3.14, max_cognitive=17, fitness_violations=1, oversized_files=0 |
| Pipeline Health | A | 100.00 | 0.15 | workflows=3, operational_antipatterns=1, parallel_branches=True |
| 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=True, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (77.67) exceeds policy threshold (15.0).@actions/core 3.0.1 (npm, package.json)@actions/exec 3.0.0 (npm, package.json)@tryghost/admin-api 1.14.14 (npm, package.json)@tryghost/pro-ship 2.0.1 (npm, package.json)@types/node 26.6.6 (npm, package.json)@types/slug 5.0.9 (npm, package.json)@vercel/ncc 0.45.0 (npm, package.json)@vitest/coverage-v8 5.1.0 (npm, package.json)oxfmt 0.78.0 (npm, package.json)oxlint 1.93.0 (npm, package.json)slug 12.0.1 (npm, package.json)typescript 7.0.2 (npm, package.json)vitest 5.1.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_fb8332e4_82f3_43fa_8d5b_310cc9c56f69["fb8332e4-82f3-43fa-8d5b-310cc9c56f69"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_major_yml_update_major["major.yml#update-major"]:::atlasJob
job_sync_dist_yml_rebuild_dist["sync-dist.yml#rebuild-dist"]:::atlasJob
job_sync_dist_yml_sync_dist["sync-dist.yml#sync-dist"]:::atlasJob
job_test_yml_check_dist["test.yml#check-dist"]:::atlasJob
job_test_yml_required_checks_pass["test.yml#required-checks-pass"]:::atlasJob
job_test_yml_test["test.yml#test"]:::atlasJob
job_test_yml_validate["test.yml#validate"]:::atlasJob
end
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_major_yml_update_major
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_sync_dist_yml_rebuild_dist
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_sync_dist_yml_sync_dist
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_test_yml_check_dist
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_test_yml_required_checks_pass
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_test_yml_test
mod_fb8332e4_82f3_43fa_8d5b_310cc9c56f69 -->|BUILT_BY| job_test_yml_validate
fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> major.yml#update-major (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> sync-dist.yml#rebuild-dist (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> sync-dist.yml#sync-dist (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> test.yml#check-dist (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> test.yml#required-checks-pass (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> test.yml#test (ci_job)fb8332e4-82f3-43fa-8d5b-310cc9c56f69 (code_module) —[BUILT_BY]—> test.yml#validate (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(["TryGhost/action-deploy-theme"]):::atlasRoot
subgraph Update_Major_Version_Tag_0["Update Major Version Tag"]
direction TB
0_update_major["update-major"]:::atlasJob
end
pipeline_root --> 0_update_major
subgraph Sync_dist_1["Sync dist"]
direction TB
1_rebuild_dist["rebuild-dist"]:::atlasJob
1_sync_dist["sync-dist"]:::atlasJob
1_rebuild_dist --> 1_sync_dist
end
pipeline_root --> 1_rebuild_dist
subgraph CI_2["CI"]
direction TB
2_validate["validate"]:::atlasJob
2_test["test"]:::atlasJob
2_check_dist["check-dist"]:::atlasJob
2_required_checks_pass["required-checks-pass"]:::atlasJob
2_validate --> 2_required_checks_pass
2_test --> 2_required_checks_pass
2_check_dist --> 2_required_checks_pass
wf_entry_2(["Trigger: CI"]):::atlasWorkflow
wf_entry_2 --> 2_validate
wf_entry_2 --> 2_test
wf_entry_2 --> 2_check_dist
end
pipeline_root --> wf_entry_2avg_cc=4.29, max_cc=12, duplication=77.67%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=3.14, max_cognitive=17, fitness_violations=1, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=13, outdated=0, vulnerable=0, has_lockfile=False
workflows=3, operational_antipatterns=1, parallel_branches=True
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/main.ts:1Repository duplication_pct (77.67) exceeds policy threshold (15.0).
No known OSV vulnerabilities detected across 13 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.