Code Quality
Weight 20%avg_cc=5.62, max_cc=53, duplication=82.60%, 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:19:09 AM |
| Source Repository | Open on GitHub |
48d59e596acf908e57f3ad833e3c912f83a8c64cdiscourse/discourse-mcp48d59e596acf908e57f3ad833e3c912f83a8c64cgraph 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
_discourse_mcp["@discourse/mcp : MODULE"]:::atlasJob
HttpClient["HttpClient : SERVICE"]:::atlasJob
package.json): MODULEsrc/http/client.ts): SERVICEF (59.35/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 39.52 | 0.20 | avg_cc=5.62, max_cc=53, duplication=82.60%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=397, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | F | 47.00 | 0.15 | avg_cognitive=4.93, max_cognitive=126, fitness_violations=3, oversized_files=2 |
| Pipeline Health | A | 90.00 | 0.15 | workflows=1, operational_antipatterns=4, parallel_branches=True |
| Security | F | 27.00 | 0.20 | vulnerabilities=0, secrets=1, pipeline_security_findings=4 |
| 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 (82.6) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (126.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (53.0) exceeds policy threshold (20.0).ATRUSS-SEC-004 at src/test/webhooks.test.ts:45 (-----BEGIN ... PRIVATE KEY----- [REDACTED])@eslint/js 9.39.5 (npm, package-lock.json)@eslint/js 9.39.5 (npm, package.json)@eslint/js 9.39.5 (npm, pnpm-lock.yaml)@modelcontextprotocol/sdk 1.32.2 (npm, package-lock.json)@modelcontextprotocol/sdk 1.32.2 (npm, package.json)@modelcontextprotocol/sdk 1.32.2 (npm, pnpm-lock.yaml)@types/node 20.19.43 (npm, package-lock.json)@types/node 20.19.43 (npm, package.json)@types/node 20.19.43 (npm, pnpm-lock.yaml)eslint 9.39.5 (npm, package-lock.json)eslint 9.39.5 (npm, package.json)eslint 9.39.5 (npm, pnpm-lock.yaml)typescript 5.9.3 (npm, package-lock.json)typescript 5.9.3 (npm, package.json)typescript 5.9.3 (npm, pnpm-lock.yaml)typescript-eslint 8.67.0 (npm, package.json)typescript-eslint 8.67.0 (npm, pnpm-lock.yaml)typescript-eslint 8.72.1 (npm, package-lock.json)zod 4.6.7 (npm, package-lock.json)zod 4.6.7 (npm, package.json)zod 4.6.7 (npm, pnpm-lock.yaml)@eslint-community/eslint-utils 4.10.1 (npm, package-lock.json)@eslint-community/eslint-utils 4.10.1 (npm, pnpm-lock.yaml)@eslint-community/regexpp 4.12.2 (npm, package-lock.json)@eslint-community/regexpp 4.12.2 (npm, pnpm-lock.yaml)@eslint/config-array 0.21.2 (npm, package-lock.json)@eslint/config-array 0.21.2 (npm, pnpm-lock.yaml)@eslint/config-helpers 0.4.2 (npm, package-lock.json)@eslint/config-helpers 0.4.2 (npm, pnpm-lock.yaml)@eslint/core 0.17.0 (npm, package-lock.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_9e22f13d_bb8e_4037_a4c9_0fe996571642["9e22f13d-bb8e-4037-a4c9-0fe996571642"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_ci_yml_npm_compatibility["ci.yml#npm-compatibility"]:::atlasJob
job_ci_yml_pnpm["ci.yml#pnpm"]:::atlasJob
job_ci_yml_publish["ci.yml#publish"]:::atlasJob
end
mod_9e22f13d_bb8e_4037_a4c9_0fe996571642 -->|BUILT_BY| job_ci_yml_npm_compatibility
mod_9e22f13d_bb8e_4037_a4c9_0fe996571642 -->|BUILT_BY| job_ci_yml_pnpm
mod_9e22f13d_bb8e_4037_a4c9_0fe996571642 -->|DEPLOYED_BY| job_ci_yml_publish
9e22f13d-bb8e-4037-a4c9-0fe996571642 (code_module) —[BUILT_BY]—> ci.yml#npm-compatibility (ci_job)9e22f13d-bb8e-4037-a4c9-0fe996571642 (code_module) —[BUILT_BY]—> ci.yml#pnpm (ci_job)9e22f13d-bb8e-4037-a4c9-0fe996571642 (code_module) —[DEPLOYED_BY]—> ci.yml#publish (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 CI_0["CI"]
direction TB
0_pnpm["pnpm"]:::atlasJob
0_npm_compatibility["npm-compatibility"]:::atlasJob
0_publish["publish"]:::atlasJob
0_pnpm --> 0_publish
0_npm_compatibility --> 0_publish
endavg_cc=5.62, max_cc=53, duplication=82.60%, dead_code=0
vulnerabilities=0, secrets=1, pipeline_security_findings=4
avg_cognitive=4.93, max_cognitive=126, fitness_violations=3, oversized_files=2
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=397, outdated=0, vulnerable=0, has_lockfile=True
workflows=1, operational_antipatterns=4, parallel_branches=True
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/site/directories.ts:1Repository duplication_pct (82.6) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/site/directories.ts:1Repository max_cognitive_complexity (126.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/site/directories.ts:1Repository max_cyclomatic_complexity (53.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 397 parsed dependencies.
ATRUSS-SEC-004src/test/webhooks.test.ts:45Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]Single-package repository or no monorepo workspace manifests.