Leaderboard github.com
ivacf/archi
Repository that showcases 3 Android app architectures: "Standard Android", MVP and MVVM. The exact same app is built 3 times following the different patterns.
AI provenance
0%
none-detected
- Confidence
- 49%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
57/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
73/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
0% none-detected
No AI attribution or AI-consistent velocity signals detected.
How the score is built
- Explicitly attributed share0%
- Unattributed share in AI-pace bursts0%
- Estimated AI-generated share0%
- AI tool configuration files0
- Work sessions at AI pace0
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.00
Lines added per month all AI-attributed share
- 2015-092,869 · 0% AI
- 2015-10103 · 0% AI
- 2015-110 · 0% AI
- 2016-010 · 0% AI
- 2016-0432 · 0% AI
- 2017-020 · 0% AI
Evidence by analyzer
Explicit AI attributionok
- attributed_commit_share
- 0.0%
- attributed_commits
- 0
- attributed_loc
- 0
- attributed_loc_share
- 0.0%
- commits
- 34
- effective_loc
- 3,004
- tools_detected
- 0
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 0
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 518.59
- measured_loc
- 3,004
- median_loc_per_hour
- 78.87
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 3,004
- work_units
- 14
Release velocityskipped
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 0
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 0
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 0
- lines_scanned
- 2,257
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Code quality
57 weak
Code quality is weak: test-to-source ratio 0.25, no CI test run detected; 7% of function code in complex or long functions; 67% duplicated lines. Weakest area: duplication.
How the score is built
- Complexity80
- Duplication2
- Lint and smells100
- Tests and CI42
- Documentation65
- Type safetynot measured
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok6 items
- Repository::equals in app-mvp/src/main/java/uk/ivanc/archimvp/model/Repository.java: complexity 18, 18 lines
- Repository::equals in app-mvvm/src/main/java/uk/ivanc/archimvvm/model/Repository.java: complexity 18, 18 lines
- Repository::equals in app/src/main/java/uk/ivanc/archi/model/Repository.java: complexity 18, 18 lines
- User::equals in app-mvp/src/main/java/uk/ivanc/archimvp/model/User.java: complexity 16, 13 lines
- User::equals in app-mvvm/src/main/java/uk/ivanc/archimvvm/model/User.java: complexity 16, 13 lines
- User::equals in app/src/main/java/uk/ivanc/archi/model/User.java: complexity 16, 13 lines
- complex_functions
- 6
- function_nloc
- 1,241
- functions
- 202
- long_functions
- 0
- many_param_functions
- 0
- mean_ccn
- 2.01
- p90_ccn
- 3
- risky_nloc_share
- 7.5%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/ArchiApplication.java:10 and app-mvvm/src/main/java/uk/ivanc/archimvvm/ArchiApplication.java:10
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/RepositoryAdapter.java:15 and app/src/main/java/uk/ivanc/archi/RepositoryAdapter.java:15
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/RepositoryAdapter.java:20 and app-mvvm/src/main/java/uk/ivanc/archimvvm/RepositoryAdapter.java:19
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/model/GithubService.java:13 and app-mvvm/src/main/java/uk/ivanc/archimvvm/model/GithubService.java:13
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/model/Repository.java:8 and app-mvvm/src/main/java/uk/ivanc/archimvvm/model/Repository.java:8
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/model/Repository.java:36 and app-mvp/src/main/java/uk/ivanc/archimvp/model/User.java:29
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/model/User.java:8 and app-mvvm/src/main/java/uk/ivanc/archimvvm/model/User.java:8
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/presenter/MainPresenter.java:43 and app-mvvm/src/main/java/uk/ivanc/archimvvm/viewmodel/MainViewModel.java:105
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/presenter/RepositoryPresenter.java:35 and app-mvvm/src/main/java/uk/ivanc/archimvvm/viewmodel/RepositoryViewModel.java:103
- 6+ duplicated lines: app-mvp/src/main/java/uk/ivanc/archimvp/view/MainActivity.java:31 and app/src/main/java/uk/ivanc/archi/MainActivity.java:35
- compared_lines
- 1,305
- duplicated_lines
- 869
- duplicated_share
- 66.6%
- files
- 31
Lintok
- findings
- 0
- scanned_lines
- 2,257
- weighted_findings
- 0
Tests and CIok
- check:ci_present
- no
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- yes
- ci_files
- 0
- cochange_commits
- 16
- cochange_share
- 43.8%
- source_lines
- 2,257
- test_lines
- 560
- test_ratio
- 0.25
Documentationok2 items
- README.md
README.md - LICENSE
LICENSE
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 35
Type safetyskipped
Security
73 adequate
Security posture is adequate: no high-impact findings. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)76
- Vulnerable dependenciesnot measured
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesskipped
no registry dependencies declared
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 3
- findings_high
- 0
- findings_low
- 0
- findings_medium
- 3
- parse_errors
- 0
- scanned_lines
- 2,257
- weighted_findings
- 1.80
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 0.0%
- unpinned_manifests
- 0
Release downloadsok
- binary_assets
- 0
- signals
- 0
- suspicious
- 0
Findings
3 medium
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| medium | opengrep/java.android.security.exported_activity |
app-mvp/src/main/AndroidManifest.xml:14 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/java.android.security.exported_activity |
app-mvvm/src/main/AndroidManifest.xml:14 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
| medium | opengrep/java.android.security.exported_activity |
app/src/main/AndroidManifest.xml:14 | The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access... | Static analysis (opengrep) |
Tools and coverage
Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | skipped | — | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 0 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | skipped | — | 0 | |
| CI workflows (zizmor) | Security | skipped | — | 0 | |
| Dependencies (osv-scanner) | Security | skipped | — | 0 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | skipped | — | 0 | no registry dependencies declared |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 3 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 0 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 30f1c690bf2b | prov-5+qual-2+sec-2 | 0% | 57 | 73 |
| 2026-11-14 | 30f1c690bf2b | prov-4+qual-2+sec-2 | 0% | 57 | 73 |
Full text report
- Repository: https://github.com/ivacf/archi
- Commit:
30f1c690bf2b60c904fb3c968884b113780d935a - Generated: 2026-11-14T14:52:05+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | none-detected | 49% | 100% |
| Code quality | 57 | weak | 90% | 100% |
| Security | 73 | adequate | 85% | 100% |
AI provenance
No AI attribution or AI-consistent velocity signals detected.
- Explicitly attributed share (lower bound): 0.0%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 0.0%
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2015-09 | 2,869 | 0% |
| 2015-10 | 103 | 0% |
| 2016-04 | 32 | 0% |
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is weak: test-to-source ratio 0.25, no CI test run detected; 7% of function code in complex or long functions; 67% duplicated lines. Weakest area: duplication.
| Area | Score |
|---|---|
| Complexity (lizard) | 80 |
| Duplication | 2 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 42 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 202; mean complexity 2.0, 90th percentile 3; 6 complex and 0 long functions
- Duplicated lines: 66.6% of 1,305 compared
- Tests: 560 test lines for 2,257 source lines (ratio 0.25); CI test commands: none detected; 44% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- Repository::equals in app-mvp/src/main/java/uk/ivanc/archimvp/model/Repository.java: complexity 18, 18 lines
- Repository::equals in app-mvvm/src/main/java/uk/ivanc/archimvvm/model/Repository.java: complexity 18, 18 lines
- Repository::equals in app/src/main/java/uk/ivanc/archi/model/Repository.java: complexity 18, 18 lines
- User::equals in app-mvp/src/main/java/uk/ivanc/archimvp/model/User.java: complexity 16, 13 lines
- User::equals in app-mvvm/src/main/java/uk/ivanc/archimvvm/model/User.java: complexity 16, 13 lines
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 76 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app-mvp/src/main/AndroidManifest.xml:14 |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app-mvvm/src/main/AndroidManifest.xml:14 |
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:14 |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Repository profile
- Source lines: 2,257; test lines: 560
| Language | Lines |
|---|---|
| Java | 2,817 |