Code Quality
Weight 20%73.0
avg_cc=1.39, max_cc=9, duplication=77.25%, dead_code=1
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | TypeScript |
| Detected Frameworks | TypeScript |
| Deployable Types | API |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | mobile |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:15:58 AM |
| Source Repository | Open on GitHub |
ecf4fedcf8ab6121e62a6b95bb48823afd805afdRocketChat/Rocket.Chat.js.SDKecf4fedcf8ab6121e62a6b95bb48823afd805afdgraph 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
_rocket_chat_sdk["@rocket.chat/sdk : MODULE"]:::atlasJob
Client["Client : SERVICE"]:::atlasJob
RocketChatClient["RocketChatClient : SERVICE"]:::atlasJob
FakeClient["FakeClient : SERVICE"]:::atlasJob
FakeClient --> Client
package.json): MODULElib/api/api.ts): SERVICElib/clients/Rocketchat.ts): SERVICEtest/fakeClient.ts): SERVICE (deps: Client)B (83.35/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 73.00 | 0.20 | avg_cc=1.39, max_cc=9, duplication=77.25%, dead_code=1 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=568, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | C | 74.00 | 0.15 | avg_cognitive=0.39, max_cognitive=7, fitness_violations=1, oversized_files=5 |
| Pipeline Health | A | 97.00 | 0.15 | workflows=1, operational_antipatterns=1, parallel_branches=False |
| Security | B | 88.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 (77.25) exceeds policy threshold (15.0).@babel/core 8.0.1 (npm, package-lock.json)@babel/core 8.0.1 (npm, package.json)@babel/preset-env 8.0.2 (npm, package-lock.json)@babel/preset-env 8.0.2 (npm, package.json)@babel/preset-typescript 8.0.1 (npm, package-lock.json)@babel/preset-typescript 8.0.1 (npm, package.json)@types/jest 30.0.0 (npm, package-lock.json)@types/jest 30.0.0 (npm, package.json)@types/node 25.0.3 (npm, package.json)@types/node 25.9.5 (npm, package-lock.json)babel-jest 30.4.1 (npm, package-lock.json)babel-jest 30.4.1 (npm, package.json)jest 30.4.2 (npm, package-lock.json)jest 30.4.2 (npm, package.json)js-sha256 0.9.0 (npm, package-lock.json)js-sha256 0.9.0 (npm, package.json)oxlint 1.75.0 (npm, package.json)oxlint 1.78.0 (npm, package-lock.json)tiny-events 1.0.1 (npm, package-lock.json)tiny-events 1.0.1 (npm, package.json)typescript 7.0.2 (npm, package-lock.json)typescript 7.0.2 (npm, package.json)universal-websocket-client 1.0.2 (npm, package.json)universal-websocket-client 1.0.3 (npm, package-lock.json)@babel/code-frame 7.29.7 (npm, package-lock.json)@babel/code-frame 7.29.7 (npm, package-lock.json)@babel/code-frame 7.29.7 (npm, package-lock.json)@babel/code-frame 7.29.7 (npm, package-lock.json)@babel/code-frame 7.29.7 (npm, package-lock.json)@babel/code-frame 7.29.7 (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_8827baeb_7c68_4d85_a843_c01c0114dce3["8827baeb-7c68-4d85-a843-c01c0114dce3"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_ci_yml_checks["ci.yml#checks"]:::atlasJob
end
mod_8827baeb_7c68_4d85_a843_c01c0114dce3 -->|BUILT_BY| job_ci_yml_checks
8827baeb-7c68-4d85-a843-c01c0114dce3 (code_module) —[BUILT_BY]—> ci.yml#checks (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_checks["checks"]:::atlasJob
endavg_cc=1.39, max_cc=9, duplication=77.25%, dead_code=1
vulnerabilities=0, secrets=0, pipeline_security_findings=1
avg_cognitive=0.39, max_cognitive=7, fitness_violations=1, oversized_files=5
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=568, outdated=0, vulnerable=0, has_lockfile=True
workflows=1, operational_antipatterns=1, parallel_branches=False
warnlib/log.ts:12ATRUSS-ARCH-005COMPLEXITY_THRESHOLDlib/api/api.ts:1Repository duplication_pct (77.25) exceeds policy threshold (15.0).
No known OSV vulnerabilities detected across 568 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.