Leaderboard github.com
HikariCalyx/lmnflash_android
Portable smartphone flash tool for L/M/N brand smartphones
AI provenance
0%
possible
- Confidence
- 48%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
66/100
adequate
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
79/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
- Repository: https://github.com/HikariCalyx/lmnflash_android
- Commit:
a0a846a2a86d12c7255c7322bd8ed4a623c19e94 - Generated: 2026-11-13T23:58:12+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | possible | 48% | 100% |
| Code quality | 66 | adequate | 90% | 100% |
| Security | 79 | adequate | 85% | 100% |
AI provenance
Weak signals consistent with AI-assisted development.
- Explicitly attributed share (lower bound): 0.0%
- Unattributed share in AI-consistent velocity bursts: 26.7%
- Estimated AI-generated share: 0.0%
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-09 | 2,715 | 0% |
| 2026-10 | 3,648 | 0% |
Evidence
- 1,696 lines of first-party code in ~0.9h (1,822 lines/hour, 1 commit session) (3e9fb0f3f799)
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 adequate: test-to-source ratio 0.00, no CI test run detected; 7% of function code in complex or long functions; 2% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 81 |
| Duplication | 88 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 22 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 343; mean complexity 2.6, 90th percentile 6; 3 complex and 1 long functions
- Duplicated lines: 2.0% of 3,821 compared
- Tests: 17 test lines for 5,458 source lines (ratio 0.00); CI test commands: none detected; 4% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- (anonymous) in app/src/main/java/com/hikaricalyx/lmnflash/firmwareflash/FlashPackage.kt: complexity 21, 40 lines
- (anonymous) in app/src/main/java/com/hikaricalyx/lmnflash/firmwareflash/FirmwareFlashViewModel.kt: complexity 18, 47 lines
- lenovoLocale in app/src/main/java/com/hikaricalyx/lmnflash/firmware/FirmwareRepository.kt: complexity 17, 7 lines
- (anonymous) in app/src/main/java/com/hikaricalyx/lmnflash/MainActivity.kt: complexity 13, 134 lines
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 93 |
| 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/kotlin.lang.security.ecb-cipher: Cipher in ECB mode is detected. ECB mode produces the same output for the same input each time which allows an attacker to intercept and replay the data. Further, ECB mode does not provide any integrity checking. See https://find-sec-bugs.github.io/bugs.htm#CIPHER_INTEGRITY. [confidence medium] |
app/src/main/java/com/hikaricalyx/lmnflash/firmware/FirmwareRepository.kt:402 |
| medium | opengrep/kotlin.lang.security.use-of-md5: Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] |
app/src/main/java/com/hikaricalyx/lmnflash/firmwareflash/FlashPackage.kt:209 |
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.
Distribution signals
- binary-release-asset: release 2.1 ships com.hikaricalyx.lmnflash_2.1.apk (802 downloads)
- binary-release-asset: release 2.0 ships com.hikaricalyx.lmnflash_2.0.apk (54 downloads)
- binary-release-asset: release 1.2 ships com.hikaricalyx.lmnflash_1.2.apk (126 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 5,458; test lines: 17
| Language | Lines |
|---|---|
| Kotlin | 5,475 |