newmcpe / rakclient
Code health
This codebase scores 7.9 out of 10 for code health, which we rate good. It also scores maintainability 7.8 and static performance 9.7 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 18 of 141 files are git hotspots, and they average 6.6 — which is where the fixes pay off most.
Do next
1 suggested
1 thing worth doing in the week to Aug 10, the last indexed commit, 1 of them now.
Now
- Critical
Clean up what this week's commits left: 19 serious findings in 6 files
1 commit in the last 7 days added or worsened them, and they are still open. Start with
crates/app/src/bin/navcalib.rs, which has 2 critical.- serious findings
- 19
- critical
- 5
- files
- 6
Medium effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
- Lines of code
- 27.5K
Recent activity
All commitsCommits
- 6ef94b50refactor(client): replace the driver god module with a world/entity engine2mo ago
- edcdc392@ docs: first-person authorship voice in EN README (parity with RU) @3mo ago
- 6107167d@ docs: typed-Luau framing + feminine authorship in RU README3mo ago
- 4e867173@ docs: refocus README on Arizona RP, trim protocol-recovery narrative3mo ago
- 799d1fd8@ feat(client,nav): AC-safe on-foot walker, path grounding, viewer scaling3mo ago
- 3da48e36docs: rewrite READMEs for the current project, add sawmill navmesh shots3mo ago
Decisions
- Subdivide path segments only when XY deviation may matterproposed · 7m ago
- Add pcap dissector tooling and MoonLoader capture toolingproposed · 7m ago
- Introduce per-packet Encode/Decode traits and rework Arizona login→spawn flowproposed · 7m ago
- Remove spawn-delay knob and auto-load scripts directoryproposed · 7m ago
- Introduce LocalPlayer model, weapon system, and Luau-owned client emulationproposed · 7m ago
- Keep entities in per-type pools rather than a flat entity-id spaceproposed · 7m ago
Everything we found
467 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health276Change entropy · crates/raknet/src/reliability.rs10 findings · 7.5 deducted
- worst item is low severity. Refactoring48step+0.4 health, S effort · crates/samp-client/src/world/motion.rs
- worst item is medium severity. Decisions33crates/app/src/main.rs15 awaiting review · 18 hotspots ungoverned
- worst item is medium severity. Ownership110crates/samp-client/src/lib.rs100% single-owner concentration, 11 commits in 90d
Composition
Open the graph- rust78%
- luau20%
- cpp2%
Explore this codebase
- Docs200 pages across 3 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files141 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 12 entry points
- Code healthPer-file scores, 303 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.