.github/workflows/build-authenticator.yml → bitwarden/android/.github/workflows/_version.ymlandroid
android
| Primary Language | Java |
|---|---|
| Primary Framework | Unknown |
| Detected Frameworks | TypeScript; Ruby |
| Deployable Types | API; Service |
| Technology Stack | Java, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:04:20 AM |
| Source Repository | Open on GitHub |
bitwarden/android — Pipeline Categories Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
.github/workflows/build-testharness.yml → bitwarden/android/.github/workflows/_version.yml.github/workflows/build.yml → bitwarden/android/.github/workflows/_version.yml.github/workflows/respond.yml → bitwarden/gh-actions/.github/workflows/_respond.yml.github/workflows/review-code.yml → bitwarden/gh-actions/.github/workflows/_review-code.yml.github/workflows/scan-ci.yml → bitwarden/gh-actions/.github/workflows/_sonar.yml.github/workflows/scan-ci.yml → bitwarden/gh-actions/.github/workflows/_checkmarx.ymlbitwarden/android — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: bitwarden/android
Metadata
- SHA:
d173d6837108f92e192f5ecf944aa250d72a0861 - Primary Ecosystem: Java
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 2.4
- avg_cyclomatic_complexity: 6.27
- component_count: 1
- dead_code_count: 6
- dead_code_symbols: 6 entry(ies)
- duplication_pct: 96.08
- file_complexities: 25 entry(ies)
- files_analyzed: 2521
- fitness_passed: False
- fitness_violation_count: 3
- framework: Unknown
- import_edges: 100 entry(ies)
- loc: 442746
- max_cognitive_complexity: 106
- max_cyclomatic_complexity: 327
- sloc: 361865
- test_file_count: 637
Architecture: bitwarden/android
Context
- Repository:
bitwarden/android - SHA:
d173d6837108f92e192f5ecf944aa250d72a0861 - Ecosystem: Java
- Framework: Unknown
Building Block View
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
_bitwarden_android_device_mcp["@bitwarden/android-device-mcp : MODULE"]:::atlasJob
Component Details
- @bitwarden/android-device-mcp (
.claude/mcp/android-device-server/package.json): MODULE
6-Dimension Repository Scorecard
- Overall Grade:
F(33.78/100) - Technical Debt Score: 66.22
- Estimated Remediation Effort: 144.77h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 24.92 | 0.20 | avg_cc=6.27, max_cc=327, duplication=96.08%, dead_code=6 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=14, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=2.40, max_cognitive=106, fitness_violations=3, oversized_files=15 |
| Pipeline Health | F | 0.00 | 0.15 | workflows=19, operational_antipatterns=34, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=7, pipeline_security_findings=28 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (96.08) exceeds policy threshold (15.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (106.0) exceeds policy threshold (25.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (327.0) exceeds policy threshold (20.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 14 | Vulnerabilities: 0 | Secrets: 7
Secret Findings (Redacted)
- [HIGH]
ATRUSS-SEC-005atapp/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:125(private const val CREATE_PASSKEY_ACTION = "com.***REDACTED***") - [HIGH]
ATRUSS-SEC-005atapp/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:127(private const val GET_PASSKEY_ACTION = "com.***REDACTED***") - [HIGH]
ATRUSS-SEC-005atapp/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:128(private const val CREATE_PASSWORD_ACTION = "com.***REDACTED***") - [HIGH]
ATRUSS-SEC-005atapp/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:129(private const val GET_PASSWORD_ACTION = "com.***REDACTED***") - [HIGH]
ATRUSS-SEC-005atapp/src/standardDebug/google-services.json:24("current_key": "AIza***REDACTED***") - [HIGH]
ATRUSS-SEC-005atapp/src/test/kotlin/com/x8bit/bitwarden/data/platform/datasource/network/ssl/CertificateManagerTest.kt:730(keyUri = "cert***REDACTED***",) - [HIGH]
ATRUSS-SEC-005atauthenticator/src/debug/google-services.json:18("current_key": "AIza***REDACTED***")
Inventory Sample
abbrev0.1.2(gem,Gemfile)csv3.3.5(gem,Gemfile)fastlane2.236.1(gem,Gemfile)logger1.7.0(gem,Gemfile)mutex_m0.3.0(gem,Gemfile)nkf0.2.0(gem,Gemfile)ostruct0.6.3(gem,Gemfile)time0.4.2(gem,Gemfile)@modelcontextprotocol/sdk1.27.1(npm,.claude/mcp/android-device-server/package.json)@types/node20.19.35(npm,.claude/mcp/android-device-server/package.json)fast-xml-parser4.5.0(npm,.claude/mcp/android-device-server/package.json)typescript5.8.3(npm,.claude/mcp/android-device-server/package.json)vitest3.1.1(npm,.claude/mcp/android-device-server/package.json)zod3.24.2(npm,.claude/mcp/android-device-server/package.json)
Section 7: Code-to-Cloud Deployment Traceability
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_app["app"]:::atlasCategory
mod_authenticator["authenticator"]:::atlasCategory
mod_data["data"]:::atlasCategory
mod_testharness["testharness"]:::atlasCategory
mod_ui["ui"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job__version_yml_calculate_version["_version.yml#calculate-version"]:::atlasJob
job_build_authenticator_yml_publish_playstore["build-authenticator.yml#publish_playstore"]:::atlasJob
job_build_testharness_yml_build["build-testharness.yml#build"]:::atlasJob
job_build_yml_publish_fdroid["build.yml#publish_fdroid"]:::atlasJob
job_build_yml_publish_playstore["build.yml#publish_playstore"]:::atlasJob
job_cron_sync_google_priviledged_browsers_yml_sync_privileged_browsers["cron-sync-google-priviledged-browsers.yml#sync-privileged-browsers"]:::atlasJob
job_github_release_yml_create_release["github-release.yml#create-release"]:::atlasJob
job_release_branch_yml_create_release_branch["release-branch.yml#create-release-branch"]:::atlasJob
job_sdlc_label_pr_yml_label_pr["sdlc-label-pr.yml#label-pr"]:::atlasJob
job_test_yml_test_sharded["test.yml#test-sharded"]:::atlasJob
end
mod_app -->|BUILT_BY| job__version_yml_calculate_version
mod_app -->|BUILT_BY| job_cron_sync_google_priviledged_browsers_yml_sync_privileged_browsers
mod_app -->|BUILT_BY| job_sdlc_label_pr_yml_label_pr
mod_app -->|BUILT_BY| job_test_yml_test_sharded
mod_app -->|DEPLOYED_BY| job_build_authenticator_yml_publish_playstore
mod_app -->|DEPLOYED_BY| job_build_yml_publish_fdroid
mod_app -->|DEPLOYED_BY| job_build_yml_publish_playstore
mod_app -->|DEPLOYED_BY| job_github_release_yml_create_release
mod_app -->|DEPLOYED_BY| job_release_branch_yml_create_release_branch
mod_authenticator -->|DEPLOYED_BY| job_build_authenticator_yml_publish_playstore
mod_authenticator -->|DEPLOYED_BY| job_github_release_yml_create_release
mod_authenticator -->|DEPLOYED_BY| job_release_branch_yml_create_release_branch
mod_data -->|BUILT_BY| job_cron_sync_google_priviledged_browsers_yml_sync_privileged_browsers
mod_data -->|BUILT_BY| job_sdlc_label_pr_yml_label_pr
mod_data -->|DEPLOYED_BY| job_github_release_yml_create_release
mod_testharness -->|BUILT_BY| job_build_testharness_yml_build
mod_ui -->|BUILT_BY| job_build_testharness_yml_build
mod_ui -->|BUILT_BY| job_cron_sync_google_priviledged_browsers_yml_sync_privileged_browsers
mod_ui -->|BUILT_BY| job_test_yml_test_sharded
mod_ui -->|DEPLOYED_BY| job_build_authenticator_yml_publish_playstore
mod_ui -->|DEPLOYED_BY| job_build_yml_publish_fdroid
mod_ui -->|DEPLOYED_BY| job_build_yml_publish_playstore
mod_ui -->|DEPLOYED_BY| job_github_release_yml_create_release
mod_ui -->|DEPLOYED_BY| job_release_branch_yml_create_release_branch
app(code_module) —[BUILT_BY]—>_version.yml#calculate-version(ci_job)app(code_module) —[BUILT_BY]—>cron-sync-google-priviledged-browsers.yml#sync-privileged-browsers(ci_job)app(code_module) —[BUILT_BY]—>sdlc-label-pr.yml#label-pr(ci_job)app(code_module) —[BUILT_BY]—>test.yml#test-sharded(ci_job)app(code_module) —[DEPLOYED_BY]—>build-authenticator.yml#publish_playstore(ci_job)app(code_module) —[DEPLOYED_BY]—>build.yml#publish_fdroid(ci_job)app(code_module) —[DEPLOYED_BY]—>build.yml#publish_playstore(ci_job)app(code_module) —[DEPLOYED_BY]—>github-release.yml#create-release(ci_job)app(code_module) —[DEPLOYED_BY]—>release-branch.yml#create-release-branch(ci_job)authenticator(code_module) —[DEPLOYED_BY]—>build-authenticator.yml#publish_playstore(ci_job)authenticator(code_module) —[DEPLOYED_BY]—>github-release.yml#create-release(ci_job)authenticator(code_module) —[DEPLOYED_BY]—>release-branch.yml#create-release-branch(ci_job)data(code_module) —[BUILT_BY]—>cron-sync-google-priviledged-browsers.yml#sync-privileged-browsers(ci_job)data(code_module) —[BUILT_BY]—>sdlc-label-pr.yml#label-pr(ci_job)data(code_module) —[DEPLOYED_BY]—>github-release.yml#create-release(ci_job)testharness(code_module) —[BUILT_BY]—>build-testharness.yml#build(ci_job)ui(code_module) —[BUILT_BY]—>build-testharness.yml#build(ci_job)ui(code_module) —[BUILT_BY]—>cron-sync-google-priviledged-browsers.yml#sync-privileged-browsers(ci_job)ui(code_module) —[BUILT_BY]—>test.yml#test-sharded(ci_job)ui(code_module) —[DEPLOYED_BY]—>build-authenticator.yml#publish_playstore(ci_job)ui(code_module) —[DEPLOYED_BY]—>build.yml#publish_fdroid(ci_job)ui(code_module) —[DEPLOYED_BY]—>build.yml#publish_playstore(ci_job)ui(code_module) —[DEPLOYED_BY]—>github-release.yml#create-release(ci_job)ui(code_module) —[DEPLOYED_BY]—>release-branch.yml#create-release-branch(ci_job)
CI/CD Pipeline Topology
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(["bitwarden/android (19 workflows)"]):::atlasRoot
subgraph sg_grp_0_Scheduled___Manual["Scheduled & Manual (13 workflows · 21 jobs)"]
direction TB
subgraph sg_wf_1_Build_Authenticator["Build Authenticator (2 jobs)"]
direction TB
wf_1_Build_Authenticator(["Trigger: Build Authenticator"]):::atlasWorkflow
job_1_version["version"]:::atlasJob
job_1_publish_playstore["publish_playstore"]:::atlasJob
wf_1_Build_Authenticator --> job_1_version
job_1_version --> job_1_publish_playstore
end
pipeline_root --> wf_1_Build_Authenticator
subgraph sg_wf_2_Build_Test_Harness["Build Test Harness (2 jobs)"]
direction TB
wf_2_Build_Test_Harness(["Trigger: Build Test Harness"]):::atlasWorkflow
job_2_version["version"]:::atlasJob
job_2_build["build"]:::atlasJob
wf_2_Build_Test_Harness --> job_2_version
job_2_version --> job_2_build
end
pipeline_root --> wf_2_Build_Test_Harness
subgraph sg_wf_3_Build["Build (3 jobs)"]
direction TB
wf_3_Build(["Trigger: Build"]):::atlasWorkflow
job_3_version["version"]:::atlasJob
job_3_publish_playstore["publish_playstore"]:::atlasJob
job_3_publish_fdroid["publish_fdroid"]:::atlasJob
wf_3_Build --> job_3_version
job_3_version --> job_3_publish_playstore
job_3_version --> job_3_publish_fdroid
end
pipeline_root --> wf_3_Build
subgraph sg_wf_18_Test["Test (3 jobs)"]
direction TB
wf_18_Test(["Trigger: Test"]):::atlasWorkflow
job_18_test_sharded["test-sharded"]:::atlasJob
job_18_coverage_notify["coverage-notify"]:::atlasJob
job_18_test["test"]:::atlasJob
wf_18_Test --> job_18_test_sharded
job_18_test_sharded --> job_18_coverage_notify
job_18_test_sharded --> job_18_test
end
pipeline_root --> wf_18_Test
end
subgraph sg_grp_1_CI___Verification["CI & Verification (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_9_Respond["Respond (1 jobs)"]
direction TB
wf_9_Respond(["Trigger: Respond"]):::atlasWorkflow
job_9_respond["respond"]:::atlasJob
wf_9_Respond --> job_9_respond
end
pipeline_root --> wf_9_Respond
subgraph sg_wf_10_Code_Review["Code Review (1 jobs)"]
direction TB
wf_10_Code_Review(["Trigger: Code Review"]):::atlasWorkflow
job_10_review["review"]:::atlasJob
wf_10_Code_Review --> job_10_review
end
pipeline_root --> wf_10_Code_Review
subgraph sg_wf_12_SDLC___Enforce_PR_labels["SDLC / Enforce PR labels (1 jobs)"]
direction TB
wf_12_SDLC___Enforce_PR_labels(["Trigger: SDLC / Enforce PR labels"]):::atlasWorkflow
job_12_enforce_label["enforce-label"]:::atlasJob
wf_12_SDLC___Enforce_PR_labels --> job_12_enforce_label
end
pipeline_root --> wf_12_SDLC___Enforce_PR_labels
end
subgraph sg_grp_2_Release___Deploy["Release & Deploy (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_7_Create_GitHub_Release["Create GitHub Release (1 jobs)"]
direction TB
wf_7_Create_GitHub_Release(["Trigger: Create GitHub Release"]):::atlasWorkflow
job_7_create_release["create-release"]:::atlasJob
wf_7_Create_GitHub_Release --> job_7_create_release
end
pipeline_root --> wf_7_Create_GitHub_Release
subgraph sg_wf_8_Cut_Release_Branch["Cut Release Branch (1 jobs)"]
direction TB
wf_8_Cut_Release_Branch(["Trigger: Cut Release Branch"]):::atlasWorkflow
job_8_create_release_branch["create-release-branch"]:::atlasJob
wf_8_Cut_Release_Branch --> job_8_create_release_branch
end
pipeline_root --> wf_8_Cut_Release_Branch
subgraph sg_wf_13_SDLC___Update_Linked_Issues_on_Release["SDLC / Update Linked Issues on Release (1 jobs)"]
direction TB
wf_13_SDLC___Update_Linked_Issues_on_Release(["Trigger: SDLC / Update Linked Issues on Release"]):::atlasWorkflow
job_13_update_linked_issues["update-linked-issues"]:::atlasJob
wf_13_SDLC___Update_Linked_Issues_on_Release --> job_13_update_linked_issues
end
pipeline_root --> wf_13_SDLC___Update_Linked_Issues_on_Release
end
wf_more["+9 more workflows"]:::atlasMore
pipeline_root --> wf_more6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=6.27, max_cc=327, duplication=96.08%, dead_code=6
Security
Weight 20%vulnerabilities=0, secrets=7, pipeline_security_findings=28
Maintainability
Weight 15%avg_cognitive=2.40, max_cognitive=106, fitness_violations=3, oversized_files=15
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=True, test_files_detected=True
Dependency Health
Weight 15%dependencies=14, outdated=0, vulnerable=0, has_lockfile=False
Pipeline Health
Weight 15%workflows=19, operational_antipatterns=34, parallel_branches=True
Module Complexity & Quality Heatmap
Unreferenced / Dead Code Symbols Preview (6)
handler.claude/mcp/android-device-server/src/tools/capture.ts:28handler.claude/mcp/android-device-server/src/tools/find-element.ts:28handler.claude/mcp/android-device-server/src/tools/input-text.ts:47handler.claude/mcp/android-device-server/src/tools/navigate.ts:33handler.claude/mcp/android-device-server/src/tools/tap-at.ts:31handler.claude/mcp/android-device-server/src/tools/tap-element.ts:32Architectural Fitness Rules
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDapp/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorViewModel.kt:1Repository duplication_pct (96.08) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDapp/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorViewModel.kt:1Repository max_cognitive_complexity (106.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDapp/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorViewModel.kt:1Repository max_cyclomatic_complexity (327.0) exceeds policy threshold (20.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 14 parsed dependencies.
Redacted Secret Findings
ATRUSS-SEC-005app/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:125High-entropy credential candidate (H=4.75 > 4.5) detected.
private const val CREATE_PASSKEY_ACTION = "com.***REDACTED***"ATRUSS-SEC-005app/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:127High-entropy credential candidate (H=4.76 > 4.5) detected.
private const val GET_PASSKEY_ACTION = "com.***REDACTED***"ATRUSS-SEC-005app/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:128High-entropy credential candidate (H=4.77 > 4.5) detected.
private const val CREATE_PASSWORD_ACTION = "com.***REDACTED***"ATRUSS-SEC-005app/src/main/kotlin/com/x8bit/bitwarden/data/credentials/manager/CredentialManagerPendingIntentManagerImpl.kt:129High-entropy credential candidate (H=4.80 > 4.5) detected.
private const val GET_PASSWORD_ACTION = "com.***REDACTED***"ATRUSS-SEC-005app/src/standardDebug/google-services.json:24High-entropy credential candidate (H=4.75 > 4.5) detected.
"current_key": "AIza***REDACTED***"ATRUSS-SEC-005app/src/test/kotlin/com/x8bit/bitwarden/data/platform/datasource/network/ssl/CertificateManagerTest.kt:730High-entropy credential candidate (H=4.54 > 4.5) detected.
keyUri = "cert***REDACTED***",ATRUSS-SEC-005authenticator/src/debug/google-services.json:18High-entropy credential candidate (H=4.75 > 4.5) detected.
"current_key": "AIza***REDACTED***"Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.