Code Quality
Weight 20%avg_cc=3.27, max_cc=54, duplication=73.43%, dead_code=7
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); TypeScript; Docker Compose; Container |
| Deployable Types | API; Frontend; Database |
| Technology Stack | JavaScript/TypeScript, Docker, CI/CD, Kubernetes |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:02:54 AM |
| Source Repository | Open on GitHub |
843f17e6e0ebe1f6c6ef01efa1ec96ae9bb2f85cappwrite/console843f17e6e0ebe1f6c6ef01efa1ec96ae9bb2f85cgraph 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
_appwrite_console["@appwrite/console : MODULE"]:::atlasJob
package.json): MODULEF (35.78/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 34.92 | 0.20 | avg_cc=3.27, max_cc=54, duplication=73.43%, dead_code=7 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=78, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=2.63, max_cognitive=38, fitness_violations=3, oversized_files=4 |
| Pipeline Health | F | 0.00 | 0.15 | workflows=8, operational_antipatterns=18, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=1, pipeline_security_findings=8 |
| 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 (73.43) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (38.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (54.0) exceeds policy threshold (20.0).ATRUSS-SEC-004 at src/routes/(console)/project-[region]-[project]/auth/(providers)/mainOAuth.svelte:345 (-----BEGIN ... PRIVATE KEY----- [REDACTED])@ai-sdk/svelte 1.1.24 (npm, package.json)@appwrite.io/console * (npm, package.json)@appwrite.io/pink-icons 0.25.0 (npm, package.json)@appwrite.io/pink-icons-svelte * (npm, package.json)@appwrite.io/pink-legacy 1.0.3 (npm, package.json)@appwrite.io/pink-svelte * (npm, package.json)@codemirror/autocomplete 6.20.2 (npm, package.json)@codemirror/commands 6.10.3 (npm, package.json)@codemirror/language 6.12.3 (npm, package.json)@codemirror/lint 6.9.6 (npm, package.json)@codemirror/search 6.7.0 (npm, package.json)@codemirror/state 6.6.0 (npm, package.json)@codemirror/view 6.43.0 (npm, package.json)@eslint/compat 1.4.1 (npm, package.json)@eslint/js 9.39.4 (npm, package.json)@faker-js/faker 10.6.0 (npm, package.json)@lezer/common 1.5.2 (npm, package.json)@lezer/highlight 1.2.3 (npm, package.json)@melt-ui/pp 0.3.2 (npm, package.json)@melt-ui/svelte 0.86.6 (npm, package.json)@plausible-analytics/tracker 0.4.5 (npm, package.json)@playwright/test 1.60.0 (npm, package.json)@popperjs/core 2.11.8 (npm, package.json)@sentry/sveltekit 8.55.2 (npm, package.json)@stripe/stripe-js 3.5.0 (npm, package.json)@sveltejs/adapter-static 3.0.10 (npm, package.json)@sveltejs/kit 2.61.1 (npm, package.json)@sveltejs/vite-plugin-svelte 5.1.1 (npm, package.json)@testing-library/dom 10.4.1 (npm, package.json)@testing-library/jest-dom 6.9.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_dba78fe4_6a54_448a_a0db_9f036cc62a8f["dba78fe4-6a54-448a-a0db-9f036cc62a8f"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_Dockerfile["Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_copilot_setup_steps_yml_copilot_setup_steps["copilot-setup-steps.yml#copilot-setup-steps"]:::atlasJob
job_dockerize_profiles_yml_dockerize_profiles["dockerize-profiles.yml#dockerize-profiles"]:::atlasJob
job_e2e_yml_e2e["e2e.yml#e2e"]:::atlasJob
job_production_yml_build["production.yml#build"]:::atlasJob
job_production_yml_deploy["production.yml#deploy"]:::atlasJob
job_publish_yml_publish_cloud_no_regions["publish.yml#publish-cloud-no-regions"]:::atlasJob
job_publish_yml_publish_self_hosted["publish.yml#publish-self-hosted"]:::atlasJob
job_staging_yml_build["staging.yml#build"]:::atlasJob
job_staging_yml_deploy["staging.yml#deploy"]:::atlasJob
job_stale_yml_stale["stale.yml#stale"]:::atlasJob
job_tests_yml_build["tests.yml#build"]:::atlasJob
end
subgraph runtime_envs["Runtime Environments"]
env_staging["staging"]:::atlasTarget
end
job_staging_yml_build -->|DEPLOYS_TO| env_staging
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_copilot_setup_steps_yml_copilot_setup_steps
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_dockerize_profiles_yml_dockerize_profiles
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_e2e_yml_e2e
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_production_yml_build
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_stale_yml_stale
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|BUILT_BY| job_tests_yml_build
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|DEPLOYED_BY| job_production_yml_deploy
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|DEPLOYED_BY| job_publish_yml_publish_cloud_no_regions
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|DEPLOYED_BY| job_publish_yml_publish_self_hosted
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|DEPLOYED_BY| job_staging_yml_build
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|DEPLOYED_BY| job_staging_yml_deploy
mod_dba78fe4_6a54_448a_a0db_9f036cc62a8f -->|PACKAGED_BY| art_Dockerfile
art_Dockerfile -->|BUILT_BY| job_dockerize_profiles_yml_dockerize_profiles
art_Dockerfile -->|BUILT_BY| job_production_yml_build
art_Dockerfile -->|BUILT_BY| job_publish_yml_publish_cloud_no_regions
art_Dockerfile -->|BUILT_BY| job_publish_yml_publish_self_hosted
art_Dockerfile -->|BUILT_BY| job_staging_yml_build
art_Dockerfile -->|DEPLOYED_BY| job_production_yml_deploy
art_Dockerfile -->|DEPLOYED_BY| job_staging_yml_deploy
staging.yml#build (ci_job) —[DEPLOYS_TO]—> staging (environment)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> copilot-setup-steps.yml#copilot-setup-steps (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> dockerize-profiles.yml#dockerize-profiles (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> e2e.yml#e2e (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> production.yml#build (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> stale.yml#stale (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[BUILT_BY]—> tests.yml#build (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[DEPLOYED_BY]—> production.yml#deploy (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[DEPLOYED_BY]—> publish.yml#publish-cloud-no-regions (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[DEPLOYED_BY]—> publish.yml#publish-self-hosted (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[DEPLOYED_BY]—> staging.yml#build (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[DEPLOYED_BY]—> staging.yml#deploy (ci_job)dba78fe4-6a54-448a-a0db-9f036cc62a8f (code_module) —[PACKAGED_BY]—> Dockerfile (container)Dockerfile (container) —[BUILT_BY]—> dockerize-profiles.yml#dockerize-profiles (ci_job)Dockerfile (container) —[BUILT_BY]—> production.yml#build (ci_job)Dockerfile (container) —[BUILT_BY]—> publish.yml#publish-cloud-no-regions (ci_job)Dockerfile (container) —[BUILT_BY]—> publish.yml#publish-self-hosted (ci_job)Dockerfile (container) —[BUILT_BY]—> staging.yml#build (ci_job)Dockerfile (container) —[DEPLOYED_BY]—> production.yml#deploy (ci_job)Dockerfile (container) —[DEPLOYED_BY]—> staging.yml#deploy (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(["appwrite/console (8 workflows)"]):::atlasRoot
subgraph sg_grp_0_Release___Deploy["Release & Deploy (3 workflows · 6 jobs)"]
direction TB
subgraph sg_wf_3_Production_deployment["Production deployment (2 jobs)"]
direction TB
wf_3_Production_deployment(["Trigger: Production deployment"]):::atlasWorkflow
job_3_build["build"]:::atlasJob
job_3_deploy["deploy"]:::atlasJob
wf_3_Production_deployment --> job_3_build
job_3_build --> job_3_deploy
end
pipeline_root --> wf_3_Production_deployment
subgraph sg_wf_4_Publish["Publish (2 jobs)"]
direction TB
wf_4_Publish(["Trigger: Publish"]):::atlasWorkflow
job_4_publish_self_hosted["publish-self-hosted"]:::atlasJob
job_4_publish_cloud_no_regions["publish-cloud-no-regions"]:::atlasJob
wf_4_Publish --> job_4_publish_self_hosted
wf_4_Publish --> job_4_publish_cloud_no_regions
end
pipeline_root --> wf_4_Publish
subgraph sg_wf_5_Staging_deployment["Staging deployment (2 jobs)"]
direction TB
wf_5_Staging_deployment(["Trigger: Staging deployment"]):::atlasWorkflow
job_5_build["build"]:::atlasJob
job_5_deploy["deploy"]:::atlasJob
wf_5_Staging_deployment --> job_5_build
job_5_build --> job_5_deploy
end
pipeline_root --> wf_5_Staging_deployment
end
subgraph sg_grp_1_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_2_E2E["E2E (1 jobs)"]
direction TB
wf_2_E2E(["Trigger: E2E"]):::atlasWorkflow
job_2_e2e["e2e"]:::atlasJob
wf_2_E2E --> job_2_e2e
end
pipeline_root --> wf_2_E2E
subgraph sg_wf_7_Tests["Tests (1 jobs)"]
direction TB
wf_7_Tests(["Trigger: Tests"]):::atlasWorkflow
job_7_build["build"]:::atlasJob
wf_7_Tests --> job_7_build
end
pipeline_root --> wf_7_Tests
end
subgraph sg_grp_2_Scheduled___Manual["Scheduled & Manual (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_Copilot_Setup_Steps["Copilot Setup Steps (1 jobs)"]
direction TB
wf_0_Copilot_Setup_Steps(["Trigger: Copilot Setup Steps"]):::atlasWorkflow
job_0_copilot_setup_steps["copilot-setup-steps"]:::atlasJob
wf_0_Copilot_Setup_Steps --> job_0_copilot_setup_steps
end
pipeline_root --> wf_0_Copilot_Setup_Steps
subgraph sg_wf_1_Dockerize_Profiles["Dockerize Profiles (1 jobs)"]
direction TB
wf_1_Dockerize_Profiles(["Trigger: Dockerize Profiles"]):::atlasWorkflow
job_1_dockerize_profiles["dockerize-profiles"]:::atlasJob
wf_1_Dockerize_Profiles --> job_1_dockerize_profiles
end
pipeline_root --> wf_1_Dockerize_Profiles
end
subgraph sg_grp_3_Security___Governance["Security & Governance (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_6_Mark_stale_issues["Mark stale issues (1 jobs)"]
direction TB
wf_6_Mark_stale_issues(["Trigger: Mark stale issues"]):::atlasWorkflow
job_6_stale["stale"]:::atlasJob
wf_6_Mark_stale_issues --> job_6_stale
end
pipeline_root --> wf_6_Mark_stale_issues
endavg_cc=3.27, max_cc=54, duplication=73.43%, dead_code=7
vulnerabilities=0, secrets=1, pipeline_security_findings=8
avg_cognitive=2.63, max_cognitive=38, fitness_violations=3, oversized_files=4
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=78, outdated=0, vulnerable=0, has_lockfile=False
workflows=8, operational_antipatterns=18, parallel_branches=True
Windowsrc/global.d.ts:2Errorsrc/global.d.ts:5HandleClientErrorsrc/global.d.ts:9callbacksrc/lib/commandCenter/searchers/buckets.ts:47callbacksrc/lib/commandCenter/searchers/buckets.ts:60callbacksrc/lib/commandCenter/searchers/buckets.ts:72callbacksrc/lib/commandCenter/searchers/buckets.ts:83ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/(components)/editor/helpers/errorMessages.ts:1Repository duplication_pct (73.43) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/(components)/editor/helpers/errorMessages.ts:1Repository max_cognitive_complexity (38.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/(components)/editor/helpers/errorMessages.ts:1Repository max_cyclomatic_complexity (54.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 78 parsed dependencies.
ATRUSS-SEC-004src/routes/(console)/project-[region]-[project]/auth/(providers)/mainOAuth.svelte:345Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]Single-package repository or no monorepo workspace manifests.