Code Quality
Weight 20%avg_cc=2.30, max_cc=16, duplication=16.31%, dead_code=0
| Primary Language | Ruby |
|---|---|
| Primary Framework | Ruby on Rails |
| Detected Frameworks | Ruby on Rails; Ruby; React (Vite) |
| Deployable Types | API; Frontend |
| Technology Stack | Ruby, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:11:28 AM |
| Source Repository | Open on GitHub |
c344dea12478caac2109b1cdeae9d95e31bfb2d3discourse/logsterc344dea12478caac2109b1cdeae9d95e31bfb2d3graph 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(["discourse/logster (55 components)"]):::atlasRoot
subgraph sg_dir_0_lib["lib (22)"]
direction TB
dir_0_lib["lib (22)"]:::atlasCategory
sub_0_0_logster["logster (20)"]:::atlasWorkflow
dir_0_lib --> sub_0_0_logster
sub_0_1__module_root_["(module root) (1)"]:::atlasWorkflow
dir_0_lib --> sub_0_1__module_root_
sub_0_2_examples["examples (1)"]:::atlasWorkflow
dir_0_lib --> sub_0_2_examples
end
repo_root --> dir_0_lib
subgraph sg_dir_1_test["test (22)"]
direction TB
dir_1_test["test (22)"]:::atlasCategory
sub_1_0_logster["logster (13)"]:::atlasWorkflow
dir_1_test --> sub_1_0_logster
sub_1_1__module_root_["(module root) (4)"]:::atlasWorkflow
dir_1_test --> sub_1_1__module_root_
sub_1_2_dummy["dummy (3)"]:::atlasWorkflow
dir_1_test --> sub_1_2_dummy
sub_1_more["+2 more submodules (2)"]:::atlasMore
dir_1_test --> sub_1_more
end
repo_root --> dir_1_test
dir_2_website["website (5)"]:::atlasCategory
repo_root --> dir_2_website
dir_3_client_app["client-app (4)"]:::atlasCategory
repo_root --> dir_3_client_app
dir_4__root_["(root) (2)"]:::atlasCategory
repo_root --> dir_4__root_
dev_server_process.rb): modulefrontend_assets.rb): moduleclient-app/preload-json-manager.rb): modulelib/logster.rb): modulelib/examples/sidekiq_logster_reporter.rb): modulelib/logster/base_store.rb): modulelib/logster/cache.rb): modulelib/logster/configuration.rb): modulelib/logster/defer_logger.rb): modulelib/logster/group.rb): modulelib/logster/grouping_pattern.rb): modulelib/logster/ignore_pattern.rb): modulelib/logster/logger.rb): modulelib/logster/message.rb): modulelib/logster/pattern.rb): modulelib/logster/redis_rate_limiter.rb): modulelib/logster/redis_store.rb): modulelib/logster/scheduler.rb): modulelib/logster/suppression_pattern.rb): modulelib/logster/version.rb): modulelib/logster/web.rb): modulelib/logster/middleware/debug_exceptions.rb): modulelib/logster/middleware/reporter.rb): modulelib/logster/middleware/viewer.rb): modulelib/logster/rails/railtie.rb): moduletest/test_dev_server.rb): moduletest/test_frontend_assets.rb): moduletest/test_gemspec.rb): moduletest/test_helper.rb): moduletest/dummy/config/application.rb): moduletest/dummy/config/boot.rb): moduletest/dummy/config/environment.rb): moduletest/examples/test_sidekiq_reporter_example.rb): moduletest/fake_data/generate.rb): moduletest/logster/test_base_store.rb): moduletest/logster/test_cache.rb): moduletest/logster/test_defer_logger.rb): moduletest/logster/test_group.rb): moduletest/logster/test_ignore_pattern.rb): moduletest/logster/test_logger.rb): moduletest/logster/test_message.rb): moduletest/logster/test_pattern.rb): moduletest/logster/test_railtie.rb): moduletest/logster/test_redis_rate_limiter.rb): moduletest/logster/test_redis_store.rb): moduletest/logster/middleware/test_reporter.rb): moduletest/logster/middleware/test_viewer.rb): modulewebsite/sample.rb): modulewebsite/sample_loader.rb): modulewebsite/scripts/persist_logs.rb): modulewebsite/test/sample_app_test.rb): modulewebsite/test/sample_loader_test.rb): moduleclient-app/package.json): MODULEclient-app/app/controllers/index.js): API_ROUTEclient-app/app/controllers/show.js): API_ROUTED (60.71/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 74.03 | 0.20 | avg_cc=2.30, max_cc=16, duplication=16.31%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1182, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | D | 67.00 | 0.15 | avg_cognitive=1.79, max_cognitive=34, fitness_violations=2, oversized_files=0 |
| Pipeline Health | D | 69.00 | 0.15 | workflows=1, operational_antipatterns=8, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=11 |
| 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 (16.31) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (34.0) exceeds policy threshold (25.0).logster * (gem, test/fake_data/Gemfile)logster * (gem, website/Gemfile)minitest * (gem, website/Gemfile)puma * (gem, website/Gemfile)rack 3.2.0 (gem, Gemfile)rails 8.1.0 (gem, Gemfile)rake * (gem, website/Gemfile)redis * (gem, test/fake_data/Gemfile)redis * (gem, website/Gemfile)sinatra * (gem, website/Gemfile)@babel/core 7.29.0 (npm, client-app/package.json)@babel/core 7.29.7 (npm, client-app/pnpm-lock.yaml)@babel/eslint-parser 7.28.6 (npm, client-app/package.json)@babel/eslint-parser 7.29.7 (npm, client-app/pnpm-lock.yaml)@babel/plugin-proposal-decorators 7.29.0 (npm, client-app/package.json)@babel/plugin-proposal-decorators 7.29.7 (npm, client-app/pnpm-lock.yaml)@babel/plugin-transform-runtime 7.29.0 (npm, client-app/package.json)@babel/plugin-transform-runtime 7.29.7 (npm, client-app/pnpm-lock.yaml)@babel/runtime 7.29.7 (npm, client-app/package.json)@babel/runtime 7.29.7 (npm, client-app/pnpm-lock.yaml)@ember/optional-features 3.0.0 (npm, client-app/package.json)@ember/optional-features 3.0.0 (npm, client-app/pnpm-lock.yaml)@ember/string 4.0.1 (npm, client-app/package.json)@ember/string 4.0.1 (npm, client-app/pnpm-lock.yaml)@ember/test-helpers 5.4.1 (npm, client-app/package.json)@ember/test-helpers 5.4.3 (npm, client-app/pnpm-lock.yaml)@embroider/compat 4.1.17 (npm, client-app/package.json)@embroider/compat 4.1.22 (npm, client-app/pnpm-lock.yaml)@embroider/config-meta-loader 1.0.0 (npm, client-app/package.json)@embroider/config-meta-loader 1.0.0 (npm, client-app/pnpm-lock.yaml)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_client_app["client-app"]:::atlasCategory
mod_website["website"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_ci_yml_backend["ci.yml#backend"]:::atlasJob
job_ci_yml_frontend["ci.yml#frontend"]:::atlasJob
job_ci_yml_linting["ci.yml#linting"]:::atlasJob
job_ci_yml_publish["ci.yml#publish"]:::atlasJob
job_ci_yml_rack["ci.yml#rack"]:::atlasJob
job_ci_yml_website["ci.yml#website"]:::atlasJob
end
mod_client_app -->|BUILT_BY| job_ci_yml_backend
mod_client_app -->|BUILT_BY| job_ci_yml_frontend
mod_client_app -->|BUILT_BY| job_ci_yml_linting
mod_client_app -->|BUILT_BY| job_ci_yml_rack
mod_client_app -->|DEPLOYED_BY| job_ci_yml_publish
mod_website -->|BUILT_BY| job_ci_yml_website
client-app (code_module) —[BUILT_BY]—> ci.yml#backend (ci_job)client-app (code_module) —[BUILT_BY]—> ci.yml#frontend (ci_job)client-app (code_module) —[BUILT_BY]—> ci.yml#linting (ci_job)client-app (code_module) —[BUILT_BY]—> ci.yml#rack (ci_job)client-app (code_module) —[DEPLOYED_BY]—> ci.yml#publish (ci_job)website (code_module) —[BUILT_BY]—> ci.yml#website (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
subgraph CI_0["CI"]
direction TB
0_backend["backend"]:::atlasJob
0_rack["rack"]:::atlasJob
0_frontend["frontend"]:::atlasJob
0_website["website"]:::atlasJob
0_linting["linting"]:::atlasJob
0_publish["publish"]:::atlasJob
0_backend --> 0_publish
0_rack --> 0_publish
0_frontend --> 0_publish
0_website --> 0_publish
0_linting --> 0_publish
wf_entry_0(["Trigger: CI"]):::atlasWorkflow
wf_entry_0 --> 0_backend
wf_entry_0 --> 0_rack
wf_entry_0 --> 0_frontend
wf_entry_0 --> 0_website
wf_entry_0 --> 0_linting
endavg_cc=2.30, max_cc=16, duplication=16.31%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=11
avg_cognitive=1.79, max_cognitive=34, fitness_violations=2, oversized_files=0
coverage=unavailable, ci_test_job=False, test_files_detected=True
dependencies=1182, outdated=0, vulnerable=0, has_lockfile=True
workflows=1, operational_antipatterns=8, parallel_branches=True
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDclient-app/app/lib/utilities.js:1Repository duplication_pct (16.31) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDclient-app/app/lib/utilities.js:1Repository max_cognitive_complexity (34.0) exceeds policy threshold (25.0).
No known OSV vulnerabilities detected across 1182 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.