Code Quality
Weight 20%avg_cc=3.95, max_cc=87, duplication=89.43%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | Unknown |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:20:13 AM |
| Source Repository | Open on GitHub |
2984cbbe57b929002c8d9e526395ebf5c9477501TryGhost/gctools2984cbbe57b929002c8d9e526395ebf5c9477501graph 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
gctools["gctools : MODULE"]:::atlasJob
package.json): MODULEC (74.30/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 46.20 | 0.20 | avg_cc=3.95, max_cc=87, duplication=89.43%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=29, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 51.37 | 0.15 | avg_cognitive=5.21, max_cognitive=242, fitness_violations=3, oversized_files=1 |
| Pipeline Health | A | 94.00 | 0.15 | workflows=1, operational_antipatterns=2, parallel_branches=False |
| 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 (89.43) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (242.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (87.0) exceeds policy threshold (20.0).@inquirer/confirm 6.4.0 (npm, package.json)@tryghost/admin-api 1.14.16 (npm, package.json)@tryghost/errors 3.4.8 (npm, package.json)@tryghost/listr-smart-renderer 0.16.0-0 (npm, package.json)@tryghost/mg-assetscraper-db 0.14.0-0 (npm, package.json)@tryghost/mg-fs-utils 0.27.0-0 (npm, package.json)@tryghost/mg-ghost-authors 0.11.0-0 (npm, package.json)@tryghost/pretty-cli 3.4.4 (npm, package.json)@tryghost/string 0.3.10 (npm, package.json)@tryghost/zip 4.0.3 (npm, package.json)axios 1.21.1 (npm, package.json)bluebird 3.7.2 (npm, package.json)chalk 6.0.1 (npm, package.json)cli-progress 3.12.0 (npm, package.json)file-type 22.3.0 (npm, package.json)fs-extra 11.4.1 (npm, package.json)glob 14.0.5 (npm, package.json)heic-convert 2.1.0 (npm, package.json)inquirer 14.3.0 (npm, package.json)inquirer-datepicker-prompt 0.4.3 (npm, package.json)inquirer-search-checkbox 1.0.0 (npm, package.json)jsonwebtoken 9.0.3 (npm, package.json)lodash 4.18.1 (npm, package.json)lorem-ipsum 3.0.0 (npm, package.json)oxfmt 0.78.0 (npm, package.json)oxlint 1.93.0 (npm, package.json)superbytes 2.1.0 (npm, package.json)title-case 4.3.2 (npm, package.json)tty-table 7.2.1 (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_54514a2e_d96a_4cd9_8653_2ebc83f5224f["54514a2e-d96a-4cd9-8653-2ebc83f5224f"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_test_yml_build["test.yml#build"]:::atlasJob
job_test_yml_required_checks_pass["test.yml#required-checks-pass"]:::atlasJob
end
mod_54514a2e_d96a_4cd9_8653_2ebc83f5224f -->|BUILT_BY| job_test_yml_build
mod_54514a2e_d96a_4cd9_8653_2ebc83f5224f -->|BUILT_BY| job_test_yml_required_checks_pass
54514a2e-d96a-4cd9-8653-2ebc83f5224f (code_module) —[BUILT_BY]—> test.yml#build (ci_job)54514a2e-d96a-4cd9-8653-2ebc83f5224f (code_module) —[BUILT_BY]—> test.yml#required-checks-pass (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
subgraph Test_0["Test"]
direction TB
0_build["build"]:::atlasJob
0_required_checks_pass["required-checks-pass"]:::atlasJob
0_build --> 0_required_checks_pass
endavg_cc=3.95, max_cc=87, duplication=89.43%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=5.21, max_cognitive=242, fitness_violations=3, oversized_files=1
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=29, outdated=0, vulnerable=0, has_lockfile=False
workflows=1, operational_antipatterns=2, parallel_branches=False
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtasks/inline-media.js:1Repository duplication_pct (89.43) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtasks/inline-media.js:1Repository max_cognitive_complexity (242.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtasks/inline-media.js:1Repository max_cyclomatic_complexity (87.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 29 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.