citizenfx / fivem
cppmaster8cbec36913.9K linessynced on Nov 23, 2026
Code health
5.9out of 10Fair
Hotspots average 1.5, the place fixes pay off most.
Explore this codebase
- Code health map13hotspots across 4,075 files
- Ownership2,010sole-owned files: one author, no second reader
- Architecture4modules, 25 entry points
- Decisions22recorded, of which 0 in force and 22 background
- Refactoring170open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1 · 1 setup step
2 things worth doing in the week to Nov 17, the last indexed commit, 1 of them now · 1 setup step.
Worth planning
Tidy the code shape this week's commits left: 2 findings in 2 files
2 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
code/components/gta-core-five/src/CrashFixes.cpp(1 finding): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 2
- files
- 2
- commits
- 2
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
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health4,868 open findingsCriticalChange entropy · code/components/citizen-server-impl/src/state/ServerGameState.cpp155 findings · 15.0 deducted
- Refactoring170 open opportunitiesLowwrite_interface+0.7 health, M effort · code/tools/idl/xpidl/header.py
- Doc drift262MediumTHIRD_PARTY_NOTICES.mdLink points at #3-notes-on-specific-components, which THIRD_PARTY_NOTICES.md no longer declares.
- Decisions0 drifting from the codeMediumcode/components/glue/src/GtaNui.cppHigh-churn file with no governing decision
- Ownership2,010 sole-owned filesMediumcode/components/nui-core/include/EpoxyScript.hOne author, no second reader