Code Quality
Weight 20%avg_cc=2.04, max_cc=6, duplication=52.57%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | Express / Node API |
| Detected Frameworks | Express / Node API; TypeScript |
| Deployable Types | Database |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:19:44 AM |
| Source Repository | Open on GitHub |
0c113a61c6b4d03fcc70ea694213425e2185fd71bitwarden/passwordless-client-js0c113a61c6b4d03fcc70ea694213425e2185fd71graph 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
passwordless_client_js_simple_example["passwordless-client-js-simple-example : MODULE"]:::atlasJob
_passwordlessdev_passwordless_client["@passwordlessdev/passwordless-client : MODULE"]:::atlasJob
POST_users_register["POST_users_register : API_ROUTE"]:::atlasJob
POST_users_login["POST_users_login : API_ROUTE"]:::atlasJob
UserRepository["UserRepository : DATA_ACCESS_LAYER"]:::atlasJob
Client["Client : SERVICE"]:::atlasJob
repo_root(["bitwarden/passwordless-client-js"]):::atlasRoot
repo_root --> Client
repo_root --> _passwordlessdev_passwordless_client
repo_root --> passwordless_client_js_simple_example
POST_users_login --> UserRepository
POST_users_register --> UserRepository
linkStyle 3 stroke:#ba1a1a,stroke-width:2px,stroke-dasharray: 5 5
linkStyle 4 stroke:#ba1a1a,stroke-width:2px,stroke-dasharray: 5 5
examples/simple-example/package.json): MODULEpackage.json): MODULEexamples/simple-example/src/index.ts): API_ROUTE (deps: UserRepository)examples/simple-example/src/index.ts): API_ROUTE (deps: UserRepository)examples/simple-example/src/repositories/UserRepository.ts): DATA_ACCESS_LAYERsrc/passwordless.ts): SERVICEC (74.45/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 75.00 | 0.20 | avg_cc=2.04, max_cc=6, duplication=52.57%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=504, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | D | 65.00 | 0.15 | avg_cognitive=1.14, max_cognitive=7, fitness_violations=3, oversized_files=1 |
| Pipeline Health | C | 76.00 | 0.15 | workflows=1, operational_antipatterns=4, parallel_branches=False |
| Security | D | 64.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=3 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
ATRUSS-ARCH-001 (LAYER_VIOLATION): API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (POST_users_login -> UserRepository)ATRUSS-ARCH-001 (LAYER_VIOLATION): API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (POST_users_register -> UserRepository)ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (52.57) exceeds policy threshold (15.0).@eslint/js 9.35.0 (npm, package-lock.json)@eslint/js 9.35.0 (npm, package.json)@passwordlessdev/passwordless-nodejs 1.0.1 (npm, examples/simple-example/package.json)@rollup/plugin-terser 0.4.4 (npm, package-lock.json)@rollup/plugin-terser 0.4.4 (npm, package.json)@rollup/plugin-typescript 12.1.4 (npm, package-lock.json)@rollup/plugin-typescript 12.1.4 (npm, package.json)@types/body-parser 1.19.2 (npm, examples/simple-example/package.json)@types/dotenv 8.2.0 (npm, examples/simple-example/package.json)@types/express 4.17.17 (npm, examples/simple-example/package.json)@types/jest 29.5.14 (npm, package-lock.json)@types/jest 29.5.14 (npm, package.json)@types/node 16.18.38 (npm, examples/simple-example/package.json)@types/uuid 9.0.2 (npm, examples/simple-example/package.json)body-parser 1.20.2 (npm, examples/simple-example/package.json)concurrently 8.2.0 (npm, examples/simple-example/package.json)dotenv 16.3.1 (npm, examples/simple-example/package.json)eslint 9.35.0 (npm, package-lock.json)eslint 9.35.0 (npm, package.json)eslint-config-prettier 10.1.8 (npm, package-lock.json)eslint-config-prettier 10.1.8 (npm, package.json)express 4.18.2 (npm, examples/simple-example/package.json)jest 29.7.0 (npm, package-lock.json)jest 29.7.0 (npm, package.json)jest-environment-jsdom 29.7.0 (npm, package-lock.json)jest-environment-jsdom 29.7.0 (npm, package.json)nodemon 3.0.1 (npm, examples/simple-example/package.json)prettier 3.6.2 (npm, package-lock.json)prettier 3.6.2 (npm, package.json)prettier-plugin-organize-imports 4.2.0 (npm, package-lock.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
subgraph Main_0["Main"]
direction TB
0_format["format"]:::atlasJob
0_deploy["deploy"]:::atlasJob
0_format --> 0_deploy
endavg_cc=2.04, max_cc=6, duplication=52.57%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=3
avg_cognitive=1.14, max_cognitive=7, fitness_violations=3, oversized_files=1
coverage=unavailable, ci_test_job=False, test_files_detected=True
dependencies=504, outdated=0, vulnerable=0, has_lockfile=True
workflows=1, operational_antipatterns=4, parallel_branches=False
ATRUSS-ARCH-001LAYER_VIOLATIONexamples/simple-example/src/index.ts:1API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (POST_users_login -> UserRepository)
ATRUSS-ARCH-001LAYER_VIOLATIONexamples/simple-example/src/index.ts:1API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (POST_users_register -> UserRepository)
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/passwordless.ts:1Repository duplication_pct (52.57) exceeds policy threshold (15.0).
No known OSV vulnerabilities detected across 504 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.