Code Quality
Weight 20%avg_cc=3.09, max_cc=22, duplication=77.75%, dead_code=0
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); React |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript |
| Default Branch | main |
| Documentation Priority | P3 |
| Last Repository Scan | 11/15/2026, 5:19:06 AM |
| Source Repository | Open on GitHub |
7646c316389d911d3e97f5b3f37ad5f6051f371emedusajs/gatsby-starter-medusa7646c316389d911d3e97f5b3f37ad5f6051f371egraph 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
gatsby_starter_medusa["gatsby-starter-medusa : MODULE"]:::atlasJob
CartProvider["CartProvider : UI_COMPONENT"]:::atlasJob
CustomerProvider["CustomerProvider : UI_COMPONENT"]:::atlasJob
MedusaProvider["MedusaProvider : UI_COMPONENT"]:::atlasJob
RegionProvider["RegionProvider : UI_COMPONENT"]:::atlasJob
repo_root(["medusajs/gatsby-starter-medusa"]):::atlasRoot
repo_root --> gatsby_starter_medusa
MedusaProvider --> CartProvider
MedusaProvider --> CustomerProvider
MedusaProvider --> RegionProvider
package.json): MODULEsrc/context/cart-context.js): UI_COMPONENTsrc/context/customer-context.js): UI_COMPONENTsrc/context/medusa-context.js): UI_COMPONENT (deps: CartProvider, CustomerProvider, RegionProvider)src/context/region-context.js): UI_COMPONENTD (66.13/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | D | 64.14 | 0.20 | avg_cc=3.09, max_cc=22, duplication=77.75%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=30, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 57.00 | 0.15 | avg_cognitive=4.14, max_cognitive=39, fitness_violations=3, oversized_files=0 |
| 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 (77.75) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (39.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (22.0) exceeds policy threshold (20.0).@babel/core 7.16.0 (npm, package.json)@headlessui/react 1.4.2 (npm, package.json)@mdx-js/mdx 1.6.22 (npm, package.json)@mdx-js/react 1.6.22 (npm, package.json)@medusajs/medusa-js 1.1.1 (npm, package.json)@stripe/react-stripe-js 1.7.0 (npm, package.json)@stripe/stripe-js 1.21.2 (npm, package.json)@tailwindcss/forms 0.4.0 (npm, package.json)autoprefixer 10.4.0 (npm, package.json)babel-loader 8.2.3 (npm, package.json)formik 2.2.9 (npm, package.json)gatsby 4.0.2 (npm, package.json)gatsby-plugin-image 2.0.0 (npm, package.json)gatsby-plugin-mdx 3.3.0 (npm, package.json)gatsby-plugin-postcss 5.0.0 (npm, package.json)gatsby-plugin-purgecss 6.1.0 (npm, package.json)gatsby-plugin-react-helmet 5.0.0 (npm, package.json)gatsby-plugin-sharp 4.0.1 (npm, package.json)gatsby-source-filesystem 4.0.0 (npm, package.json)gatsby-source-medusa 0.0.41 (npm, package.json)gatsby-transformer-sharp 4.0.0 (npm, package.json)lodash 4.17.21 (npm, package.json)postcss 8.4.5 (npm, package.json)prettier 2.4.1 (npm, package.json)prop-types 15.7.2 (npm, package.json)react 17.0.2 (npm, package.json)react-dom 17.0.2 (npm, package.json)react-helmet 6.1.0 (npm, package.json)tailwindcss 3.0.1 (npm, package.json)yup 0.32.11 (npm, 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 NoWorkflows[No Workflows Detected]:::atlasMore
avg_cc=3.09, max_cc=22, duplication=77.75%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=0
avg_cognitive=4.14, max_cognitive=39, fitness_violations=3, oversized_files=0
coverage=unavailable, ci_test_job=False, test_files_detected=False
dependencies=30, outdated=0, vulnerable=0, has_lockfile=False
workflows=0
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/hooks/use-return.js:1Repository duplication_pct (77.75) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/hooks/use-return.js:1Repository max_cognitive_complexity (39.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/hooks/use-return.js:1Repository max_cyclomatic_complexity (22.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 30 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.