watabou/pixel-dungeon
Traditional roguelike game with pixel-art graphics and simple interface
- Repository: https://github.com/watabou/pixel-dungeon
- Commit:
ca458a28f053612973d5d6059dae5f6f2ca4fcb7 - Generated: 2026-11-13T23:27:00+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 | none-detected | 45% | 100% |
| Code quality | 44 | poor | 90% | 100% |
| Security | 80 | 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 |
|---|---|---|
| 2014-07 | 55,891 | 0% |
| 2014-10 | 2,479 | 0% |
| 2015-01 | 3,694 | 0% |
| 2015-02 | 1 | 0% |
| 2015-10 | 2,504 | 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 poor: test-to-source ratio 0.00, no CI test run detected; 9% of function code in complex or long functions; 25% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 76 |
| Duplication | 22 |
| Code smells (Opengrep) | 96 |
| Tests and CI | 0 |
| Documentation | 45 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 3,292; mean complexity 2.4, 90th percentile 5; 35 complex and 5 long functions
- Duplicated lines: 25.3% of 34,946 compared
- Tests: 0 test lines for 60,846 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
- Docs missing or thin: readme, contributing, changelog
Most complex functions:
- State::highlight in src/com/watabou/pixeldungeon/effects/BadgeBanner.java: complexity 64, 148 lines
- Feeling::tileName in src/com/watabou/pixeldungeon/levels/Level.java: complexity 46, 85 lines
- CavesLevel::decorate in src/com/watabou/pixeldungeon/levels/CavesLevel.java: complexity 43, 95 lines
- Speck::update in src/com/watabou/pixeldungeon/effects/Speck.java: complexity 42, 83 lines
- Speck::reset in src/com/watabou/pixeldungeon/effects/Speck.java: complexity 40, 187 lines
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 97 |
| Static analysis (Opengrep) | 99 |
| 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] |
AndroidManifest.xml:29 |
| medium | opengrep/java.lang.security.audit.unsafe-reflection: If an attacker can supply values that the application then uses to determine which class to instantiate or which method to invoke, the potential exists for the attacker to create control flow paths through the application that were not intended by the application developers. This attack vector may a [confidence low] |
src/com/watabou/pixeldungeon/ui/QuickSlot.java:290 |
| medium | opengrep/java.lang.security.audit.unsafe-reflection: If an attacker can supply values that the application then uses to determine which class to instantiate or which method to invoke, the potential exists for the attacker to create control flow paths through the application that were not intended by the application developers. This attack vector may a [confidence low] |
src/com/watabou/pixeldungeon/ui/QuickSlot.java:298 |
| low | gitleaks/generic-api-key: Possible generic-api-key secret in the current tree |
src/com/watabou/pixeldungeon/Assets.java:162 |
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: 60,846; test lines: 0
| Language | Lines |
|---|---|
| Java | 60,846 |