Code Quality
Weight 20%avg_cc=2.89, max_cc=19, duplication=78.11%, dead_code=4
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | Next.js |
| Detected Frameworks | Next.js; React (Vite); React; TypeScript; Container |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:13:36 AM |
| Source Repository | Open on GitHub |
9fc722c2276c3e33e6274d1e89dff49e477fbaa7mastodon/joinmastodon9fc722c2276c3e33e6274d1e89dff49e477fbaa7graph 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
repo_root(["mastodon/joinmastodon (27 components)"]):::atlasRoot
subgraph sg_dir_0_components["components (21)"]
direction TB
dir_0_components["components (21)"]:::atlasCategory
sub_0_0__module_root_["(module root) (17)"]:::atlasWorkflow
dir_0_components --> sub_0_0__module_root_
sub_0_1_donate["donate (4)"]:::atlasWorkflow
dir_0_components --> sub_0_1_donate
end
repo_root --> dir_0_components
dir_1_pages["pages (3)"]:::atlasCategory
repo_root --> dir_1_pages
dir_2__root_["(root) (1)"]:::atlasCategory
repo_root --> dir_2__root_
dir_3_data["data (1)"]:::atlasCategory
repo_root --> dir_3_data
dir_4_donate["donate (1)"]:::atlasCategory
repo_root --> dir_4_donate
dir_1_pages -.->|"7 deps"| sub_0_1_donate
sub_0_1_donate -.->|"4 deps"| sub_0_0__module_root_
dir_1_pages -.->|"1 dep"| sub_0_0__module_root_
dir_4_donate -.->|"1 dep"| sub_0_0__module_root_
sub_0_0__module_root_ -.->|"1 dep"| dir_4_donate
sub_0_0__module_root_ -.->|"1 dep"| sub_0_1_donate
package.json): MODULEcomponents/AppCard.tsx): UI_COMPONENTcomponents/AppHero.tsx): UI_COMPONENTcomponents/AppsGrid.tsx): UI_COMPONENT (deps: AppCard, Category, SelectMenu)components/BasicPage.tsx): UI_COMPONENTcomponents/Button.tsx): UI_COMPONENTcomponents/Category.tsx): UI_COMPONENTcomponents/DonateTabs.tsx): UI_COMPONENT (deps: DonatePopup)components/Footer.tsx): UI_COMPONENTcomponents/IconCard.tsx): UI_COMPONENTcomponents/Input.tsx): UI_COMPONENTcomponents/Layout.tsx): UI_COMPONENT (deps: DonateFooter, Footer)components/MenuToggle.tsx): UI_COMPONENTcomponents/PolicyPage.tsx): UI_COMPONENTcomponents/RoadmapStatus.tsx): UI_COMPONENTcomponents/SelectMenu.tsx): UI_COMPONENTcomponents/SkeletonText.tsx): UI_COMPONENTcomponents/TestimonialCard.tsx): UI_COMPONENTcomponents/donate/DonateCheckout.tsx): UI_COMPONENT (deps: Button, Input)components/donate/DonateFooter.tsx): UI_COMPONENTcomponents/donate/DonateWidget.tsx): UI_COMPONENT (deps: Button, Input)components/donate/DonateWrapper.tsx): UI_COMPONENTdata/hosting.ts): UI_COMPONENTdonate/DonatePopup.tsx): UI_COMPONENT (deps: Button)pages/donate/checkout.tsx): UI_COMPONENT (deps: DonateCheckout, DonateFooter, DonateWrapper)pages/donate/complete.tsx): UI_COMPONENT (deps: Button, DonateWrapper)pages/donate/index.tsx): UI_COMPONENT (deps: DonateFooter, DonateWidget, DonateWrapper)F (49.45/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | D | 61.00 | 0.20 | avg_cc=2.89, max_cc=19, duplication=78.11%, dead_code=4 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=47, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 43.00 | 0.15 | avg_cognitive=2.55, max_cognitive=40, fitness_violations=2, oversized_files=4 |
| Pipeline Health | F | 45.00 | 0.15 | workflows=5, operational_antipatterns=7, parallel_branches=False |
| Security | F | 4.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=8 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (78.11) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (40.0) exceeds policy threshold (25.0).@eslint/eslintrc 3.3.6 (npm, package.json)@formatjs/cli 6.16.16 (npm, package.json)@headlessui/react 2.2.10 (npm, package.json)@stripe/react-stripe-js 3.10.0 (npm, package.json)@stripe/stripe-js 7.9.0 (npm, package.json)@svgr/webpack 8.1.0 (npm, package.json)@tanstack/react-query 5.101.4 (npm, package.json)@tanstack/react-query-devtools 5.101.4 (npm, package.json)@types/lodash 4.17.25 (npm, package.json)@types/node 24.13.3 (npm, package.json)@types/react 19.2.18 (npm, package.json)@types/react-dom 19.2.4 (npm, package.json)@typescript-eslint/eslint-plugin 8.67.0 (npm, package.json)@typescript-eslint/parser 8.67.0 (npm, package.json)autoprefixer 10.5.4 (npm, package.json)blurhash 2.0.5 (npm, package.json)classnames 2.5.1 (npm, package.json)cookie 1.1.1 (npm, package.json)dotenv 17.0.0 (npm, package.json)eslint 9 (npm, package.json)eslint-config-next 16.3.5 (npm, package.json)eslint-config-prettier 10.1.8 (npm, package.json)gray-matter 4.0.3 (npm, package.json)husky 9.1.7 (npm, package.json)javascript-stringify 2.1.0 (npm, package.json)keen-slider 6.8.6 (npm, package.json)lint-staged 17.0.0 (npm, package.json)lodash 4.18.1 (npm, package.json)next 16.0.0 (npm, package.json)node-gyp 13.0.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_b989623f_5d3a_4f3d_a637_76d357d216a4["b989623f-5d3a-4f3d-a637-76d357d216a4"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_Dockerfile["Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_crowdin_download_yml_download_translations["crowdin-download.yml#download-translations"]:::atlasJob
job_crowdin_upload_yml_upload_translations["crowdin-upload.yml#upload-translations"]:::atlasJob
job_lint_yml_lint["lint.yml#lint"]:::atlasJob
job_release_staging_yml_build_and_push_image["release-staging.yml#build-and-push-image"]:::atlasJob
job_release_yml_build_and_push_image["release.yml#build-and-push-image"]:::atlasJob
end
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|BUILT_BY| job_crowdin_download_yml_download_translations
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|BUILT_BY| job_crowdin_upload_yml_upload_translations
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|BUILT_BY| job_lint_yml_lint
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|BUILT_BY| job_release_staging_yml_build_and_push_image
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|BUILT_BY| job_release_yml_build_and_push_image
mod_b989623f_5d3a_4f3d_a637_76d357d216a4 -->|PACKAGED_BY| art_Dockerfile
art_Dockerfile -->|BUILT_BY| job_release_staging_yml_build_and_push_image
art_Dockerfile -->|BUILT_BY| job_release_yml_build_and_push_image
b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[BUILT_BY]—> crowdin-download.yml#download-translations (ci_job)b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[BUILT_BY]—> crowdin-upload.yml#upload-translations (ci_job)b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[BUILT_BY]—> lint.yml#lint (ci_job)b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[BUILT_BY]—> release-staging.yml#build-and-push-image (ci_job)b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[BUILT_BY]—> release.yml#build-and-push-image (ci_job)b989623f-5d3a-4f3d-a637-76d357d216a4 (code_module) —[PACKAGED_BY]—> Dockerfile (container)Dockerfile (container) —[BUILT_BY]—> release-staging.yml#build-and-push-image (ci_job)Dockerfile (container) —[BUILT_BY]—> release.yml#build-and-push-image (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
pipeline_root(["mastodon/joinmastodon (5 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_1_Crowdin___Upload_translations["Crowdin / Upload translations (1 jobs)"]
direction TB
wf_1_Crowdin___Upload_translations(["Trigger: Crowdin / Upload translations"]):::atlasWorkflow
job_1_upload_translations["upload-translations"]:::atlasJob
wf_1_Crowdin___Upload_translations --> job_1_upload_translations
end
pipeline_root --> wf_1_Crowdin___Upload_translations
subgraph sg_wf_2_Lint_files["Lint files (1 jobs)"]
direction TB
wf_2_Lint_files(["Trigger: Lint files"]):::atlasWorkflow
job_2_lint["lint"]:::atlasJob
wf_2_Lint_files --> job_2_lint
end
pipeline_root --> wf_2_Lint_files
end
subgraph sg_grp_1_Release___Deploy["Release & Deploy (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_3_Release_Docker_image_to_staging["Release Docker image to staging (1 jobs)"]
direction TB
wf_3_Release_Docker_image_to_staging(["Trigger: Release Docker image to staging"]):::atlasWorkflow
job_3_build_and_push_image["build-and-push-image"]:::atlasJob
wf_3_Release_Docker_image_to_staging --> job_3_build_and_push_image
end
pipeline_root --> wf_3_Release_Docker_image_to_staging
subgraph sg_wf_4_Release_Docker_image["Release Docker image (1 jobs)"]
direction TB
wf_4_Release_Docker_image(["Trigger: Release Docker image"]):::atlasWorkflow
job_4_build_and_push_image["build-and-push-image"]:::atlasJob
wf_4_Release_Docker_image --> job_4_build_and_push_image
end
pipeline_root --> wf_4_Release_Docker_image
end
subgraph sg_grp_2_Scheduled___Manual["Scheduled & Manual (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_0_Crowdin___Download_translations["Crowdin / Download translations (1 jobs)"]
direction TB
wf_0_Crowdin___Download_translations(["Trigger: Crowdin / Download translations"]):::atlasWorkflow
job_0_download_translations["download-translations"]:::atlasJob
wf_0_Crowdin___Download_translations --> job_0_download_translations
end
pipeline_root --> wf_0_Crowdin___Download_translations
endavg_cc=2.89, max_cc=19, duplication=78.11%, dead_code=4
vulnerabilities=0, secrets=0, pipeline_security_findings=8
avg_cognitive=2.55, max_cognitive=40, fitness_violations=2, oversized_files=4
coverage=unavailable, ci_test_job=False, test_files_detected=True
dependencies=47, outdated=0, vulnerable=0, has_lockfile=False
workflows=5, operational_antipatterns=7, parallel_branches=False
redirectsnext.config.ts:123capitalizepages/servers.tsx:51DonateCardpages/sponsors.tsx:36Emphasispages/sponsors.tsx:76ATRUSS-ARCH-005COMPLEXITY_THRESHOLDcomponents/Header.tsx:1Repository duplication_pct (78.11) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDcomponents/Header.tsx:1Repository max_cognitive_complexity (40.0) exceeds policy threshold (25.0).
No known OSV vulnerabilities detected across 47 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.