Code Quality
Weight 20%avg_cc=5.29, max_cc=7, duplication=0.02%, dead_code=0
| Primary Language | Go |
|---|---|
| Primary Framework | Go Service |
| Detected Frameworks | Go Service |
| Deployable Types | Service; Database |
| Technology Stack | Go, CI/CD |
| Default Branch | master |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:17:58 AM |
| Source Repository | Open on GitHub |
0c01f932782178340f1d9dc7c6bb1fea22317d09appwrite/sdk-for-cli0c01f932782178340f1d9dc7c6bb1fea22317d09graph 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(["appwrite/sdk-for-cli (252 components)"]):::atlasRoot
subgraph sg_dir_0_internal["internal (250)"]
direction TB
dir_0_internal["internal (250)"]:::atlasCategory
sub_0_0_cmd["cmd (114)"]:::atlasWorkflow
dir_0_internal --> sub_0_0_cmd
sub_0_1_apns["apns (18)"]:::atlasWorkflow
dir_0_internal --> sub_0_1_apns
sub_0_2_app["app (17)"]:::atlasWorkflow
dir_0_internal --> sub_0_2_app
sub_0_more["+18 more submodules (101)"]:::atlasMore
dir_0_internal --> sub_0_more
end
repo_root --> dir_0_internal
dir_1__root_["(root) (1)"]:::atlasCategory
repo_root --> dir_1__root_
dir_2_npm["npm (1)"]:::atlasCategory
repo_root --> dir_2_npm
Showing top 60 representative components out of 252 across 3 module group(s):
Module internal (250 components — module: 249, MODULE: 1)
Module (root) (1 components — module: 1)
Module npm (1 components — MODULE: 1)
account (internal/cmd/services/account.go): module
activities (internal/cmd/services/activities.go): module
adapter (internal/apns/appwrite/adapter.go): module
adapter (internal/apns/expo/adapter.go): module
adapter (internal/apns/fastlane/adapter.go): module
adapter_test (internal/apns/appwrite/adapter_test.go): module
adapter_test (internal/apns/expo/adapter_test.go): module
adapter_test (internal/apns/fastlane/adapter_test.go): module
advisor (internal/cmd/services/advisor.go): module
ambient_js (internal/cmd/ambient_js.go): module
ambient_js (internal/sdk/ambient_js.go): module
ambient_native (internal/cmd/ambient_native.go): module
ambient_native (internal/sdk/ambient_native.go): module
analytics (internal/cmd/services/analytics.go): module
analytics_test (internal/cmd/analytics_test.go): module
api (internal/terminal/appwrite/api.go): module
apierror_test (internal/client/apierror_test.go): module
apns (internal/apns/apns.go): module
apns_test (internal/apns/apns_test.go): module
apnstest (internal/apns/apnstest/apnstest.go): module
appid (internal/apns/appwrite/appid.go): module
apps (internal/cmd/services/apps.go): module
appwrite-apple-helper (internal/apns/expo/helper/package.json): MODULE
appwrite-cli (npm/package.json): MODULE
attributes (internal/schema/attributes.go): module
attributes_test (internal/schema/attributes_test.go): module
auth (internal/apns/appwrite/auth.go): module
backups (internal/cmd/services/backups.go): module
capture (internal/sdk/capture.go): module
capture_test (internal/sdk/capture_test.go): module
client (internal/app/client.go): module
client (internal/client/client.go): module
client (internal/cmd/client.go): module
client (internal/terminal/appwrite/client.go): module
client_test (internal/cmd/client_test.go): module
client_test (internal/terminal/appwrite/client_test.go): module
collections (internal/output/collections.go): module
commands_host (internal/cmd/commands_host.go): module
commands_host_stub (internal/cmd/commands_host_stub.go): module
commands_portable (internal/cmd/commands_portable.go): module
completion (internal/cmd/completion.go): module
completion_test (internal/cmd/completion_test.go): module
concurrency_test (internal/client/concurrency_test.go): module
config_test (internal/config/config_test.go): module
convert (internal/app/convert.go): module
convert_test (internal/app/convert_test.go): module
database (internal/schema/database.go): module
databases (internal/cmd/services/databases.go): module
deploy (internal/deploy/deploy.go): module
deploy_test (internal/deploy/deploy_test.go): module
deploylog (internal/output/deploylog.go): module
deploylog_test (internal/output/deploylog_test.go): module
detector (internal/generator/detector.go): module
device (internal/auth/device.go): module
device_test (internal/auth/device_test.go): module
doc (internal/terminal/appwrite/doc.go): module
docker (internal/docker/docker.go): module
docker_test (internal/docker/docker_test.go): module
documentsdb (internal/cmd/services/documentsdb.go): module
domains (internal/cmd/services/domains.go): module
D (69.31/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 90.81 | 0.20 | avg_cc=5.29, max_cc=7, duplication=0.02%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=18, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=4.36, max_cognitive=9, fitness_violations=0, oversized_files=0 |
| Pipeline Health | C | 71.00 | 0.15 | workflows=1, operational_antipatterns=3, parallel_branches=False |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=8, pipeline_security_findings=1 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
ATRUSS-SEC-004 at internal/apns/appwrite/adapter_test.go:32 (-----BEGIN ... PRIVATE KEY----- [REDACTED])ATRUSS-SEC-004 at internal/apns/expo/adapter_test.go:34 (-----BEGIN ... PRIVATE KEY----- [REDACTED])ATRUSS-SEC-004 at internal/apns/fastlane/adapter_test.go:37 (-----BEGIN ... PRIVATE KEY----- [REDACTED])ATRUSS-SEC-004 at internal/cmd/services/project.go:1152 (-----BEGIN ... PRIVATE KEY----- [REDACTED])ATRUSS-SEC-005 at internal/output/json_test.go:19 ("apiKey": "stan***REDACTED***")ATRUSS-SEC-005 at internal/output/json_test.go:32 (const sourceDocument = {“name”:“proj”,“url”:“https://x.io/?a=1&b=2”,“nested”:{“apiKey”:“stan***REDACTED***”},“list”:[{“secret”:“short”},1,null,true]}“)ATRUSS-SEC-005 at internal/output/redact_test.go:112 ("nested": map[string]any{"apiKey": "stan***REDACTED***"},)ATRUSS-SEC-005 at internal/output/redact_test.go:140 (input := map[string]any{"secret": "stan***REDACTED***"})charm.land/bubbles/v2 2.2.1 (golang, go.mod)charm.land/bubbletea/v2 2.1.1 (golang, go.mod)charm.land/lipgloss/v2 2.0.6 (golang, go.mod)github.com/appwrite/sdk-for-go/v7 7.19.0 (golang, go.mod)github.com/charmbracelet/colorprofile 0.4.3 (golang, go.mod)github.com/charmbracelet/huh 1.0.0 (golang, go.mod)github.com/charmbracelet/lipgloss 1.1.0 (golang, go.mod)github.com/charmbracelet/x/ansi 0.11.9 (golang, go.mod)github.com/fsnotify/fsnotify 1.10.1 (golang, go.mod)github.com/spf13/cobra 1.10.2 (golang, go.mod)github.com/spf13/pflag 1.0.9 (golang, go.mod)github.com/zalando/go-keyring 0.2.6 (golang, go.mod)golang.org/x/sync 0.22.0 (golang, go.mod)golang.org/x/term 0.33.0 (golang, go.mod)@expo/apple-utils 2.2.1 (npm, internal/apns/expo/helper/package-lock.json)@expo/apple-utils 2.2.1 (npm, internal/apns/expo/helper/package.json)github.com/charmbracelet/bubbletea 1.3.10 (golang, go.mod)github.com/charmbracelet/x/cellbuf 0.0.15 (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_npm["npm"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_publish_yml_publish["publish.yml#publish"]:::atlasJob
end
mod_npm -->|DEPLOYED_BY| job_publish_yml_publish
npm (code_module) —[DEPLOYED_BY]—> publish.yml#publish (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 Publish_0["Publish"]
direction TB
0_publish["publish"]:::atlasJob
endavg_cc=5.29, max_cc=7, duplication=0.02%, dead_code=0
vulnerabilities=0, secrets=8, pipeline_security_findings=1
avg_cognitive=4.36, max_cognitive=9, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=False, test_files_detected=True
dependencies=18, outdated=0, vulnerable=0, has_lockfile=True
workflows=1, operational_antipatterns=3, parallel_branches=False
All architectural boundary, cycle, and complexity thresholds passed.
No known OSV vulnerabilities detected across 18 parsed dependencies.
ATRUSS-SEC-004internal/apns/appwrite/adapter_test.go:32Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-004internal/apns/expo/adapter_test.go:34Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-004internal/apns/fastlane/adapter_test.go:37Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-004internal/cmd/services/project.go:1152Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-005internal/output/json_test.go:19High-entropy credential candidate (H=4.53 > 4.5) detected.
"apiKey": "stan***REDACTED***"ATRUSS-SEC-005internal/output/json_test.go:32High-entropy credential candidate (H=4.53 > 4.5) detected.
const sourceDocument = `{"name":"proj","url":"https://x.io/?a=1&b=2","nested":{"apiKey":"stan***REDACTED***"},"list":[{"secret":"short"},1,null,true]}`ATRUSS-SEC-005internal/output/redact_test.go:112High-entropy credential candidate (H=4.53 > 4.5) detected.
"nested": map[string]any{"apiKey": "stan***REDACTED***"},ATRUSS-SEC-005internal/output/redact_test.go:140High-entropy credential candidate (H=4.53 > 4.5) detected.
input := map[string]any{"secret": "stan***REDACTED***"}Single-package repository or no monorepo workspace manifests.