Code Quality
Weight 20%avg_cc=2.39, max_cc=33, duplication=85.26%, dead_code=11
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | TypeScript |
| Detected Frameworks | TypeScript |
| Deployable Types | Database |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:18:27 AM |
| Source Repository | Open on GitHub |
cb6c132ff7645f6b57b2e7e376a591e32570ddc5TryGhost/knex-migratorcb6c132ff7645f6b57b2e7e376a591e32570ddc5graph 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
knex_migrator["knex-migrator : MODULE"]:::atlasJob
package.json): MODULED (60.25/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 30.00 | 0.20 | avg_cc=2.39, max_cc=33, duplication=85.26%, dead_code=11 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=19, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 42.00 | 0.15 | avg_cognitive=1.73, max_cognitive=39, fitness_violations=3, oversized_files=3 |
| Pipeline Health | F | 58.00 | 0.15 | workflows=2, operational_antipatterns=8, parallel_branches=True |
| Security | B | 80.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=1 |
| 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 (85.26) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (39.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (33.0) exceeds policy threshold (20.0).@tryghost/database-info 2.3.19 (npm, package.json)@tryghost/errors 3.4.5 (npm, package.json)@tryghost/logging 5.4.8 (npm, package.json)@tryghost/pro-ship 1.1.9 (npm, package.json)@types/node 26.6.6 (npm, package.json)@vitest/coverage-v8 5.1.0 (npm, package.json)commander 15.1.0 (npm, package.json)debug 4.4.3 (npm, package.json)knex 3.3.0 (npm, package.json)knex2 2.4.2 (npm, package.json)mysql2 3.24.6 (npm, package.json)nconf 0.13.0 (npm, package.json)oxfmt 0.78.0 (npm, package.json)oxlint 1.93.0 (npm, package.json)rimraf 6.1.4 (npm, package.json)semver 7.8.6 (npm, package.json)sinon 22.1.0 (npm, package.json)typescript 7.0.2 (npm, package.json)vitest 5.1.0 (npm, package.json)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/knex-migrator"]):::atlasRoot
subgraph Publish_0["Publish"]
direction TB
0_publish["publish"]:::atlasJob
end
pipeline_root --> 0_publish
subgraph Test_Suite_1["Test Suite"]
direction TB
1_lint["lint"]:::atlasJob
1_test["test"]:::atlasJob
1_ghost_consumer_smoke["ghost-consumer-smoke"]:::atlasJob
1_required_checks_pass["required-checks-pass"]:::atlasJob
1_lint --> 1_required_checks_pass
1_test --> 1_required_checks_pass
1_ghost_consumer_smoke --> 1_required_checks_pass
wf_entry_1(["Trigger: Test Suite"]):::atlasWorkflow
wf_entry_1 --> 1_lint
wf_entry_1 --> 1_test
wf_entry_1 --> 1_ghost_consumer_smoke
end
pipeline_root --> wf_entry_1avg_cc=2.39, max_cc=33, duplication=85.26%, dead_code=11
vulnerabilities=0, secrets=0, pipeline_security_findings=1
avg_cognitive=1.73, max_cognitive=39, fitness_violations=3, oversized_files=3
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=19, outdated=0, vulnerable=0, has_lockfile=False
workflows=2, operational_antipatterns=8, parallel_branches=True
constructorlib/errors.js:7constructorlib/errors.js:16constructorlib/errors.js:26constructorlib/errors.js:35constructorlib/errors.js:44constructorlib/errors.js:53constructorlib/errors.js:62constructorlib/errors.js:71constructorlib/errors.js:80Migrationlib/index.d.ts:109Hookslib/index.d.ts:124ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtest/functional/functional_spec.js:1Repository duplication_pct (85.26) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtest/functional/functional_spec.js:1Repository max_cognitive_complexity (39.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtest/functional/functional_spec.js:1Repository max_cyclomatic_complexity (33.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 19 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.