Code Quality
Weight 20%avg_cc=2.79, max_cc=55, duplication=89.62%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); React; TypeScript |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:15:59 AM |
| Source Repository | Open on GitHub |
8d3c1c470472f1a64b694725d511a9a219fe758cTryGhost/SDK8d3c1c470472f1a64b694725d511a9a219fe758cgraph 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_03602c6f_e01b_471b_9fb0_7b6ff7e2d10e["03602c6f-e01b-471b-9fb0-7b6ff7e2d10e : MODULE"]:::atlasJob
_tryghost_admin_api["@tryghost/admin-api : MODULE"]:::atlasJob
_tryghost_color_utils["@tryghost/color-utils : MODULE"]:::atlasJob
_tryghost_config_url_helpers["@tryghost/config-url-helpers : MODULE"]:::atlasJob
_tryghost_content_api["@tryghost/content-api : MODULE"]:::atlasJob
_tryghost_custom_fonts["@tryghost/custom-fonts : MODULE"]:::atlasJob
_tryghost_helpers["@tryghost/helpers : MODULE"]:::atlasJob
_tryghost_helpers_gatsby["@tryghost/helpers-gatsby : MODULE"]:::atlasJob
_tryghost_html_to_plaintext["@tryghost/html-to-plaintext : MODULE"]:::atlasJob
_tryghost_referrer_parser["@tryghost/referrer-parser : MODULE"]:::atlasJob
_tryghost_release_utils["@tryghost/release-utils : MODULE"]:::atlasJob
_tryghost_schema_org["@tryghost/schema-org : MODULE"]:::atlasJob
_tryghost_social_urls["@tryghost/social-urls : MODULE"]:::atlasJob
_tryghost_string["@tryghost/string : MODULE"]:::atlasJob
_tryghost_timezone_data["@tryghost/timezone-data : MODULE"]:::atlasJob
_tryghost_url_utils["@tryghost/url-utils : MODULE"]:::atlasJob
repo_root(["TryGhost/SDK"]):::atlasRoot
repo_root --> _tryghost_admin_api
repo_root --> _tryghost_color_utils
repo_root --> _tryghost_config_url_helpers
repo_root --> _tryghost_content_api
repo_root --> _tryghost_custom_fonts
repo_root --> _tryghost_helpers
repo_root --> _tryghost_helpers_gatsby
repo_root --> _tryghost_html_to_plaintext
repo_root --> _tryghost_referrer_parser
repo_root --> _tryghost_release_utils
repo_root --> _tryghost_schema_org
repo_root --> _tryghost_social_urls
repo_root --> _tryghost_string
repo_root --> _tryghost_timezone_data
repo_root --> _tryghost_url_utils
repo_root --> n_03602c6f_e01b_471b_9fb0_7b6ff7e2d10e
package.json): MODULEpackages/admin-api/package.json): MODULEpackages/color-utils/package.json): MODULEpackages/config-url-helpers/package.json): MODULEpackages/content-api/package.json): MODULEpackages/custom-fonts/package.json): MODULEpackages/helpers/package.json): MODULEpackages/helpers-gatsby/package.json): MODULEpackages/html-to-plaintext/package.json): MODULEpackages/referrer-parser/package.json): MODULEpackages/release-utils/package.json): MODULEpackages/schema-org/package.json): MODULEpackages/social-urls/package.json): MODULEpackages/string/package.json): MODULEpackages/timezone-data/package.json): MODULEpackages/url-utils/package.json): MODULEC (71.70/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 50.00 | 0.20 | avg_cc=2.79, max_cc=55, duplication=89.62%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=160, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 52.00 | 0.15 | avg_cognitive=2.21, max_cognitive=56, fitness_violations=3, oversized_files=1 |
| Pipeline Health | C | 71.00 | 0.15 | workflows=2, operational_antipatterns=4, 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.62) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (56.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (55.0) exceeds policy threshold (20.0).packages/admin-api, react_ts_js, pnpm)packages/color-utils, react_ts_js, pnpm)packages/config-url-helpers, react_ts_js, pnpm)packages/content-api, react_ts_js, pnpm)packages/custom-fonts, react_ts_js, pnpm)packages/helpers, react_ts_js, pnpm)packages/helpers-gatsby, react_ts_js, pnpm) -> internal deps: @tryghost/helperspackages/html-to-plaintext, react_ts_js, pnpm)packages/referrer-parser, react_ts_js, pnpm)packages/release-utils, react_ts_js, pnpm)packages/schema-org, react_ts_js, pnpm)packages/social-urls, react_ts_js, pnpm)packages/string, react_ts_js, pnpm)packages/timezone-data, react_ts_js, pnpm)packages/url-utils, react_ts_js, pnpm) -> internal deps: @tryghost/config-url-helpers@babel/cli 7.29.7 (npm, packages/helpers-gatsby/package.json)@babel/core 7.29.13 (npm, packages/content-api/package.json)@babel/core 7.29.13 (npm, packages/helpers-gatsby/package.json)@babel/core 7.29.13 (npm, packages/helpers/package.json)@babel/polyfill 7.12.1 (npm, packages/content-api/package.json)@babel/polyfill 7.12.1 (npm, packages/helpers/package.json)@babel/preset-env 7.29.7 (npm, packages/content-api/package.json)@babel/preset-env 7.29.7 (npm, packages/helpers-gatsby/package.json)@babel/preset-react 7.29.7 (npm, packages/helpers-gatsby/package.json)@eslint/compat 2.1.1 (npm, package.json)@eslint/eslintrc 3.3.7 (npm, package.json)@eslint/js 9.39.5 (npm, package.json)@gatsbyjs/reach-router 2.0.1 (npm, packages/helpers-gatsby/package.json)@nx/js 24.0.6 (npm, package.json)@rollup/plugin-babel 7.1.0 (npm, packages/content-api/package.json)@rollup/plugin-babel 7.1.0 (npm, packages/helpers/package.json)@rollup/plugin-json 6.1.0 (npm, packages/content-api/package.json)@rollup/plugin-node-resolve 16.0.3 (npm, packages/color-utils/package.json)@rollup/plugin-node-resolve 16.0.3 (npm, packages/content-api/package.json)@rollup/plugin-node-resolve 16.0.3 (npm, packages/helpers/package.json)@rollup/plugin-node-resolve 16.0.3 (npm, packages/timezone-data/package.json)@rollup/plugin-terser 1.0.2 (npm, packages/color-utils/package.json)@rollup/plugin-terser 1.0.2 (npm, packages/content-api/package.json)@rollup/plugin-terser 1.0.2 (npm, packages/helpers/package.json)@rollup/plugin-terser 1.0.2 (npm, packages/timezone-data/package.json)@rollup/plugin-typescript 12.3.1 (npm, packages/color-utils/package.json)@rollup/plugin-typescript 12.3.1 (npm, packages/timezone-data/package.json)@tryghost/config-url-helpers 1.0.32 (npm, packages/url-utils/package.json)@tryghost/errors 3.4.7 (npm, packages/release-utils/package.json)@tryghost/helpers 1.1.111 (npm, packages/helpers-gatsby/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/SDK"]):::atlasRoot
subgraph Publish_0["Publish"]
direction TB
0_publish["publish"]:::atlasJob
end
pipeline_root --> 0_publish
subgraph Test_1["Test"]
direction TB
1_build["build"]:::atlasJob
1_required["required"]:::atlasJob
1_build --> 1_required
end
pipeline_root --> 1_buildavg_cc=2.79, max_cc=55, duplication=89.62%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=2.21, max_cognitive=56, fitness_violations=3, oversized_files=1
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=160, outdated=0, vulnerable=0, has_lockfile=False
workflows=2, operational_antipatterns=4, parallel_branches=False
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDpackages/url-utils/src/UrlUtils.ts:1Repository duplication_pct (89.62) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDpackages/url-utils/src/UrlUtils.ts:1Repository max_cognitive_complexity (56.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDpackages/url-utils/src/UrlUtils.ts:1Repository max_cyclomatic_complexity (55.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 160 parsed dependencies.
No hardcoded secret patterns detected.
packages/admin-apipackages/color-utilspackages/config-url-helperspackages/content-apipackages/custom-fontspackages/helperspackages/helpers-gatsbypackages/html-to-plaintextpackages/referrer-parserpackages/release-utilspackages/schema-orgpackages/social-urlspackages/stringpackages/timezone-datapackages/url-utilsNo Code-to-Cloud container, IaC, or deploy environment edges detected.