Code Quality
Weight 20%100.0
avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
| Primary Language | Go |
|---|---|
| Primary Framework | Go Gin / Echo / Fiber |
| Detected Frameworks | Go Gin / Echo / Fiber; Go Service; Container |
| Deployable Types | API |
| Technology Stack | Go, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:18:19 AM |
| Source Repository | Open on GitHub |
e6d9bc66bfd9bb5a19f47f1f7478fe41b98f4ddfgoharbor/acceleration-servicee6d9bc66bfd9bb5a19f47f1f7478fe41b98f4ddfgraph 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(["goharbor/acceleration-service (49 components)"]):::atlasRoot
subgraph sg_dir_0_pkg["pkg (47)"]
direction TB
dir_0_pkg["pkg (47)"]:::atlasCategory
sub_0_0_driver["driver (10)"]:::atlasWorkflow
dir_0_pkg --> sub_0_0_driver
sub_0_1_content["content (8)"]:::atlasWorkflow
dir_0_pkg --> sub_0_1_content
sub_0_2_adapter["adapter (5)"]:::atlasWorkflow
dir_0_pkg --> sub_0_2_adapter
sub_0_more["+15 more submodules (24)"]:::atlasMore
dir_0_pkg --> sub_0_more
end
repo_root --> dir_0_pkg
dir_1_cmd["cmd (2)"]:::atlasCategory
repo_root --> dir_1_cmd
cmd/accelctl/main.go): modulecmd/acceld/main.go): modulepkg/adapter/adapter.go): modulepkg/adapter/rule.go): modulepkg/adapter/rule_test.go): modulepkg/adapter/worker.go): modulepkg/adapter/annotation/annotation.go): modulepkg/cache/cache.go): modulepkg/cache/cache_test.go): modulepkg/client/client.go): modulepkg/client/convert.go): modulepkg/config/config.go): modulepkg/content/bucket.go): modulepkg/content/cache_test.go): modulepkg/content/content.go): modulepkg/content/content_test.go): modulepkg/content/lease.go): modulepkg/content/local.go): modulepkg/content/ported.go): modulepkg/content/provider.go): modulepkg/converter/converter.go): modulepkg/converter/metric.go): modulepkg/converter/opts.go): modulepkg/daemon/daemon.go): modulepkg/driver/driver.go): modulepkg/driver/estargz/estargz.go): modulepkg/driver/nydus/nydus.go): modulepkg/driver/nydus/nydus_test.go): modulepkg/driver/nydus/parser/parser.go): modulepkg/driver/nydus/utils/archive.go): modulepkg/driver/nydus/utils/archive_test.go): modulepkg/driver/nydus/utils/constant.go): modulepkg/driver/nydus/utils/utils.go): modulepkg/driver/nydus/utils/utils_test.go): modulepkg/errdefs/errors.go): modulepkg/handler/handler.go): modulepkg/metrics/metrics.go): modulepkg/model/model.go): modulepkg/platformutil/platformutil.go): modulepkg/remote/ported.go): modulepkg/remote/resolve.go): modulepkg/router/health.go): modulepkg/router/router.go): modulepkg/router/task_create.go): modulepkg/router/task_list.go): modulepkg/server/server.go): modulepkg/server/util/util.go): modulepkg/task/manager.go): modulepkg/utils/utils.go): moduleD (60.35/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 | B | 85.00 | 0.15 | dependencies=118, 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 | F | 14.00 | 0.15 | workflows=6, operational_antipatterns=16, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=20 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
github.com/containerd/containerd/v2 2.0.2 (golang, go.mod)github.com/containerd/errdefs 1.0.0 (golang, go.mod)github.com/containerd/log 0.1.0 (golang, go.mod)github.com/containerd/nydus-snapshotter 0.15.7 (golang, go.mod)github.com/containerd/platforms 1.0.0-rc.1 (golang, go.mod)github.com/containerd/stargz-snapshotter 0.16.3 (golang, go.mod)github.com/containerd/stargz-snapshotter/estargz 0.16.3 (golang, go.mod)github.com/distribution/reference 0.6.0 (golang, go.mod)github.com/docker/cli 27.3.1+incompatible (golang, go.mod)github.com/dustin/go-humanize 1.0.1 (golang, go.mod)github.com/google/uuid 1.6.0 (golang, go.mod)github.com/hashicorp/golang-lru/v2 2.0.7 (golang, go.mod)github.com/labstack/echo-contrib 0.17.1 (golang, go.mod)github.com/labstack/echo/v4 4.12.0 (golang, go.mod)github.com/labstack/gommon 0.4.2 (golang, go.mod)github.com/opencontainers/go-digest 1.0.0 (golang, go.mod)github.com/opencontainers/image-spec 1.1.0 (golang, go.mod)github.com/pkg/errors 0.9.1 (golang, go.mod)github.com/prometheus/client_golang 1.20.5 (golang, go.mod)github.com/sirupsen/logrus 1.9.3 (golang, go.mod)github.com/stretchr/testify 1.10.0 (golang, go.mod)github.com/urfave/cli/v2 2.27.5 (golang, go.mod)go.etcd.io/bbolt 1.3.11 (golang, go.mod)golang.org/x/sync 0.9.0 (golang, go.mod)gopkg.in/yaml.v3 3.0.1 (golang, go.mod)github.com/AdaLogics/go-fuzz-headers 0.0.0-20240806141605-e8a1dd7889d6 (golang, go.mod)github.com/AdamKorcz/go-118-fuzz-build 0.0.0-20231105174938-2b5cbb29f3e2 (golang, go.mod)github.com/Microsoft/go-winio 0.6.2 (golang, go.mod)github.com/Microsoft/hcsshim 0.12.9 (golang, go.mod)github.com/aliyun/aliyun-oss-go-sdk 3.0.2+incompatible (golang, go.mod)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_3d5b7a4f_dcb8_4f89_ad72_9e39349138f0["3d5b7a4f-dcb8-4f89-ad72-9e39349138f0"]:::atlasCategory
mod_script_release["script/release"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_script_release_Dockerfile["script/release/Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_release_yml_build_image["release.yml#build_image"]:::atlasJob
end
mod_3d5b7a4f_dcb8_4f89_ad72_9e39349138f0 -->|BUILT_BY| job_release_yml_build_image
mod_script_release -->|PACKAGED_BY| art_script_release_Dockerfile
art_script_release_Dockerfile -->|BUILT_BY| job_release_yml_build_image
3d5b7a4f-dcb8-4f89-ad72-9e39349138f0 (code_module) —[BUILT_BY]—> release.yml#build_image (ci_job)script/release (code_module) —[PACKAGED_BY]—> script/release/Dockerfile (container)script/release/Dockerfile (container) —[BUILT_BY]—> release.yml#build_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(["goharbor/acceleration-service (6 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (5 workflows · 8 jobs)"]
direction TB
subgraph sg_wf_0_Concurrent_Test["Concurrent Test (2 jobs)"]
direction TB
wf_0_Concurrent_Test(["Trigger: Concurrent Test"]):::atlasWorkflow
job_0_concurrent_test_same["concurrent_test_same"]:::atlasJob
job_0_concurrent_test_diff["concurrent_test_diff"]:::atlasJob
wf_0_Concurrent_Test --> job_0_concurrent_test_same
wf_0_Concurrent_Test --> job_0_concurrent_test_diff
end
pipeline_root --> wf_0_Concurrent_Test
subgraph sg_wf_1_DCO_Check["DCO Check (1 jobs)"]
direction TB
wf_1_DCO_Check(["Trigger: DCO Check"]):::atlasWorkflow
job_1_dco_check["dco_check"]:::atlasJob
wf_1_DCO_Check --> job_1_dco_check
end
pipeline_root --> wf_1_DCO_Check
subgraph sg_wf_2_Integration_Test["Integration Test (3 jobs)"]
direction TB
wf_2_Integration_Test(["Trigger: Integration Test"]):::atlasWorkflow
job_2_accel_check["accel_check"]:::atlasJob
job_2_accel_build["accel_build"]:::atlasJob
job_2_integration_test["integration_test"]:::atlasJob
wf_2_Integration_Test --> job_2_accel_check
wf_2_Integration_Test --> job_2_accel_build
job_2_accel_build --> job_2_integration_test
end
pipeline_root --> wf_2_Integration_Test
subgraph sg_wf_4_Unit_Test["Unit Test (1 jobs)"]
direction TB
wf_4_Unit_Test(["Trigger: Unit Test"]):::atlasWorkflow
job_4_unit_test["unit_test"]:::atlasJob
wf_4_Unit_Test --> job_4_unit_test
end
pipeline_root --> wf_4_Unit_Test
subgraph sg_wf_5_Webhook_Test["Webhook Test (1 jobs)"]
direction TB
wf_5_Webhook_Test(["Trigger: Webhook Test"]):::atlasWorkflow
job_5_webhook_test["webhook_test"]:::atlasJob
wf_5_Webhook_Test --> job_5_webhook_test
end
pipeline_root --> wf_5_Webhook_Test
end
subgraph sg_grp_1_Release___Deploy["Release & Deploy (1 workflows · 5 jobs)"]
direction TB
subgraph sg_wf_3_Release["Release (5 jobs)"]
direction TB
wf_3_Release(["Trigger: Release"]):::atlasWorkflow
job_3_build_image["build_image"]:::atlasJob
job_3_release_image["release_image"]:::atlasJob
job_3_test_image["test_image"]:::atlasJob
wf_3_Release --> job_3_build_image
job_3_build_image --> job_3_release_image
job_3_release_image --> job_3_test_image
end
pipeline_root --> wf_3_Release
endavg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=20
avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=118, outdated=0, vulnerable=0, has_lockfile=False
workflows=6, operational_antipatterns=16, 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 118 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.