Code Quality
Weight 20%100.0
avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
| Primary Language | Ruby |
|---|---|
| Primary Framework | Ruby |
| Detected Frameworks | Ruby; Container |
| Deployable Types | Service |
| Technology Stack | Ruby, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:00:38 AM |
| Source Repository | Open on GitHub |
0ba1841d589e77df3bc923774abca2720a320ec2discourse/discourse_docker0ba1841d589e77df3bc923774abca2720a320ec2graph 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
postgres_dev_template["postgres_dev.template : module"]:::atlasJob
wizard["wizard : module"]:::atlasJob
cli["cli : module"]:::atlasJob
config_generator["config_generator : module"]:::atlasJob
constants["constants : module"]:::atlasJob
launcher["launcher : module"]:::atlasJob
network_checks["network_checks : module"]:::atlasJob
prompts["prompts : module"]:::atlasJob
resource_scaler["resource_scaler : module"]:::atlasJob
system_checks["system_checks : module"]:::atlasJob
tui_components["tui_components : module"]:::atlasJob
ui["ui : module"]:::atlasJob
repo_root(["discourse/discourse_docker"]):::atlasRoot
repo_root --> cli
repo_root --> config_generator
repo_root --> constants
repo_root --> launcher
repo_root --> network_checks
repo_root --> postgres_dev_template
repo_root --> prompts
repo_root --> resource_scaler
repo_root --> system_checks
repo_root --> tui_components
repo_root --> ui
repo_root --> wizard
image/discourse_dev/postgres_dev.template.yml): moduleimage/setup_wizard/wizard.rb): moduleimage/setup_wizard/lib/discourse_setup/cli.rb): moduleimage/setup_wizard/lib/discourse_setup/config_generator.rb): moduleimage/setup_wizard/lib/discourse_setup/constants.rb): moduleimage/setup_wizard/lib/discourse_setup/launcher.rb): moduleimage/setup_wizard/lib/discourse_setup/network_checks.rb): moduleimage/setup_wizard/lib/discourse_setup/prompts.rb): moduleimage/setup_wizard/lib/discourse_setup/resource_scaler.rb): moduleimage/setup_wizard/lib/discourse_setup/system_checks.rb): moduleimage/setup_wizard/lib/discourse_setup/tui_components.rb): moduleimage/setup_wizard/lib/discourse_setup/ui.rb): moduleD (68.60/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 100.00 | 0.20 | avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=3, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0 |
| Pipeline Health | B | 84.00 | 0.15 | workflows=3, operational_antipatterns=7, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=18 |
| Test Coverage | F | 40.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=False |
base64 * (gem, image/setup_wizard/Gemfile)docker-api * (gem, image/setup_wizard/Gemfile)ratatui_ruby * (gem, image/setup_wizard/Gemfile)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_image_base["image/base"]:::atlasCategory
mod_image_discourse_dev["image/discourse_dev"]:::atlasCategory
mod_image_discourse_test["image/discourse_test"]:::atlasCategory
mod_image_setup_wizard["image/setup_wizard"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_image_base_Dockerfile["image/base/Dockerfile"]:::atlasWorkflow
art_image_discourse_dev_Dockerfile["image/discourse_dev/Dockerfile"]:::atlasWorkflow
art_image_discourse_test_Dockerfile["image/discourse_test/Dockerfile"]:::atlasWorkflow
art_image_setup_wizard_Dockerfile["image/setup_wizard/Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_build_yml_base["build.yml#base"]:::atlasJob
job_build_yml_setup_wizard["build.yml#setup_wizard"]:::atlasJob
end
mod_image_base -->|BUILT_BY| job_build_yml_base
mod_image_base -->|BUILT_BY| job_build_yml_setup_wizard
mod_image_base -->|PACKAGED_BY| art_image_base_Dockerfile
mod_image_base -->|PACKAGED_BY| art_image_discourse_dev_Dockerfile
mod_image_base -->|PACKAGED_BY| art_image_discourse_test_Dockerfile
mod_image_discourse_dev -->|BUILT_BY| job_build_yml_base
mod_image_discourse_dev -->|BUILT_BY| job_build_yml_setup_wizard
mod_image_discourse_dev -->|PACKAGED_BY| art_image_discourse_dev_Dockerfile
mod_image_discourse_test -->|BUILT_BY| job_build_yml_base
mod_image_discourse_test -->|BUILT_BY| job_build_yml_setup_wizard
mod_image_discourse_test -->|PACKAGED_BY| art_image_discourse_test_Dockerfile
mod_image_setup_wizard -->|BUILT_BY| job_build_yml_base
mod_image_setup_wizard -->|BUILT_BY| job_build_yml_setup_wizard
mod_image_setup_wizard -->|PACKAGED_BY| art_image_setup_wizard_Dockerfile
image/base (code_module) —[BUILT_BY]—> build.yml#base (ci_job)image/base (code_module) —[BUILT_BY]—> build.yml#setup_wizard (ci_job)image/base (code_module) —[PACKAGED_BY]—> image/base/Dockerfile (container)image/base (code_module) —[PACKAGED_BY]—> image/discourse_dev/Dockerfile (container)image/base (code_module) —[PACKAGED_BY]—> image/discourse_test/Dockerfile (container)image/discourse_dev (code_module) —[BUILT_BY]—> build.yml#base (ci_job)image/discourse_dev (code_module) —[BUILT_BY]—> build.yml#setup_wizard (ci_job)image/discourse_dev (code_module) —[PACKAGED_BY]—> image/discourse_dev/Dockerfile (container)image/discourse_test (code_module) —[BUILT_BY]—> build.yml#base (ci_job)image/discourse_test (code_module) —[BUILT_BY]—> build.yml#setup_wizard (ci_job)image/discourse_test (code_module) —[PACKAGED_BY]—> image/discourse_test/Dockerfile (container)image/setup_wizard (code_module) —[BUILT_BY]—> build.yml#base (ci_job)image/setup_wizard (code_module) —[BUILT_BY]—> build.yml#setup_wizard (ci_job)image/setup_wizard (code_module) —[PACKAGED_BY]—> image/setup_wizard/Dockerfile (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
pipeline_root(["discourse/discourse_docker"]):::atlasRoot
subgraph build_web_only_yml_0["build-web-only.yml"]
direction TB
0_version["version"]:::atlasJob
0_build["build"]:::atlasJob
0_version --> 0_build
0_manifest["manifest"]:::atlasJob
0_version --> 0_manifest
0_build --> 0_manifest
end
pipeline_root --> 0_version
subgraph build_yml_1["build.yml"]
direction TB
1_timestamp["timestamp"]:::atlasJob
1_base["base"]:::atlasJob
1_timestamp --> 1_base
1_setup_wizard["setup_wizard"]:::atlasJob
1_push_multi_arch_manifests["push_multi_arch_manifests"]:::atlasJob
1_base --> 1_push_multi_arch_manifests
1_setup_wizard --> 1_push_multi_arch_manifests
1_timestamp --> 1_push_multi_arch_manifests
1_bump_base_image["bump_base_image"]:::atlasJob
1_timestamp --> 1_bump_base_image
1_push_multi_arch_manifests --> 1_bump_base_image
end
pipeline_root --> 1_timestamp
subgraph cleanup_cache_yml_2["cleanup-cache.yml"]
direction TB
2_cleanup_cache["cleanup_cache"]:::atlasJob
end
pipeline_root --> 2_cleanup_cacheavg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=18
avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=False, test_files_detected=False
dependencies=3, outdated=0, vulnerable=0, has_lockfile=False
workflows=3, operational_antipatterns=7, parallel_branches=True
No per-file complexity hotspots recorded in this report.
All architectural boundary, cycle, and complexity thresholds passed.
No known OSV vulnerabilities detected across 3 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.