Code Quality
Weight 20%avg_cc=7.40, max_cc=50, duplication=73.57%, dead_code=2
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | Next.js |
| Detected Frameworks | Next.js; React (Vite); React; TypeScript; Docker Compose; Container |
| Deployable Types | API; Frontend |
| Technology Stack | JavaScript/TypeScript, Docker |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:10:27 AM |
| Source Repository | Open on GitHub |
182a8f4e6c2800300ea17d41cdea5efecdd52f7emetabase/dataset-generator182a8f4e6c2800300ea17d41cdea5efecdd52f7egraph 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
dataset_generator["dataset-generator : MODULE"]:::atlasJob
RootLayout["RootLayout : UI_COMPONENT"]:::atlasJob
Home["Home : UI_COMPONENT"]:::atlasJob
API_clear_route["API_clear_route : API_ROUTE"]:::atlasJob
API_stats_route["API_stats_route : API_ROUTE"]:::atlasJob
API_generate_route["API_generate_route : API_ROUTE"]:::atlasJob
API_start_route["API_start_route : API_ROUTE"]:::atlasJob
API_status_route["API_status_route : API_ROUTE"]:::atlasJob
API_stop_route["API_stop_route : API_ROUTE"]:::atlasJob
DataTable["DataTable : UI_COMPONENT"]:::atlasJob
ExportButtons["ExportButtons : UI_COMPONENT"]:::atlasJob
MultiSelect["MultiSelect : UI_COMPONENT"]:::atlasJob
repo_root(["metabase/dataset-generator"]):::atlasRoot
repo_root --> API_clear_route
repo_root --> API_generate_route
repo_root --> API_start_route
repo_root --> API_stats_route
repo_root --> API_status_route
repo_root --> API_stop_route
repo_root --> DataTable
repo_root --> ExportButtons
repo_root --> Home
repo_root --> MultiSelect
repo_root --> RootLayout
repo_root --> dataset_generator
package.json): MODULEapp/layout.tsx): UI_COMPONENTapp/page.tsx): UI_COMPONENTapp/api/cache/clear/route.ts): API_ROUTEapp/api/cache/stats/route.ts): API_ROUTEapp/api/generate/route.ts): API_ROUTEapp/api/metabase/start/route.ts): API_ROUTEapp/api/metabase/status/route.ts): API_ROUTEapp/api/metabase/stop/route.ts): API_ROUTEcomponents/DataTable.tsx): UI_COMPONENTcomponents/ExportButtons.tsx): UI_COMPONENTcomponents/ui/select.tsx): UI_COMPONENTF (56.25/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 28.40 | 0.20 | avg_cc=7.40, max_cc=50, duplication=73.57%, dead_code=2 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=568, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | F | 23.77 | 0.15 | avg_cognitive=9.41, max_cognitive=84, fitness_violations=3, oversized_files=5 |
| Pipeline Health | F | 40.00 | 0.15 | workflows=0 |
| Security | A | 100.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=0 |
| Test Coverage | F | 40.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=False |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (73.57) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (84.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (50.0) exceeds policy threshold (20.0).@faker-js/faker 9.8.0 (npm, package.json)@faker-js/faker 9.9.0 (npm, package-lock.json)@radix-ui/react-select 2.2.5 (npm, package-lock.json)@radix-ui/react-select 2.2.5 (npm, package.json)@radix-ui/react-slot 1.2.3 (npm, package-lock.json)@radix-ui/react-slot 1.2.3 (npm, package.json)@types/node 20 (npm, package.json)@types/node 20.19.4 (npm, package-lock.json)@types/react 19 (npm, package.json)@types/react 19.1.8 (npm, package-lock.json)@types/react-dom 19 (npm, package.json)@types/react-dom 19.1.6 (npm, package-lock.json)@vercel/analytics 1.5.0 (npm, package-lock.json)@vercel/analytics 1.5.0 (npm, package.json)autoprefixer 10.4.21 (npm, package-lock.json)autoprefixer 10.4.21 (npm, package.json)axios 1.10.0 (npm, package-lock.json)axios 1.6.0 (npm, package.json)class-variance-authority 0.7.1 (npm, package-lock.json)class-variance-authority 0.7.1 (npm, package.json)clsx 2.1.1 (npm, package-lock.json)clsx 2.1.1 (npm, package.json)dotenv 17.2.1 (npm, package-lock.json)dotenv 17.2.1 (npm, package.json)eslint 9.29.0 (npm, package-lock.json)eslint 9.29.0 (npm, package.json)eslint-config-next 15.3.4 (npm, package-lock.json)eslint-config-next 15.3.4 (npm, package.json)jszip 3.10.1 (npm, package-lock.json)jszip 3.10.1 (npm, package.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_0d3c241a_a0f5_4c7b_832b_7d9acb80d274["0d3c241a-a0f5-4c7b-832b-7d9acb80d274"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_Dockerfile["Dockerfile"]:::atlasWorkflow
art_docker_compose_yml["docker-compose.yml"]:::atlasWorkflow
end
mod_0d3c241a_a0f5_4c7b_832b_7d9acb80d274 -->|PACKAGED_BY| art_Dockerfile
mod_0d3c241a_a0f5_4c7b_832b_7d9acb80d274 -->|PACKAGED_BY| art_docker_compose_yml
0d3c241a-a0f5-4c7b-832b-7d9acb80d274 (code_module) —[PACKAGED_BY]—> Dockerfile (container)0d3c241a-a0f5-4c7b-832b-7d9acb80d274 (code_module) —[PACKAGED_BY]—> docker-compose.yml (container)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 NoWorkflows[No Workflows Detected]:::atlasMore
avg_cc=7.40, max_cc=50, duplication=73.57%, dead_code=2
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=9.41, max_cognitive=84, fitness_violations=3, oversized_files=5
coverage=unavailable, ci_test_job=False, test_files_detected=False
dependencies=568, outdated=0, vulnerable=0, has_lockfile=True
workflows=0
extractForeignKeyIdslib/data-factory.ts:81findForeignKeyNamelib/data-factory.ts:140ATRUSS-ARCH-005COMPLEXITY_THRESHOLDlib/enforcers/data-enforcer.ts:1Repository duplication_pct (73.57) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDlib/enforcers/data-enforcer.ts:1Repository max_cognitive_complexity (84.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDlib/enforcers/data-enforcer.ts:1Repository max_cyclomatic_complexity (50.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 568 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.