frappe / erpnext
pythondevelop6c5aca0735.5K linessynced on Aug 11, 2026
Code health
5.3out of 10Needs work
Hotspots average 3.4, the place fixes pay off most.
Explore this codebase
- Code health map389hotspots across 4,833 files
- Ownership2,145sole-owned files: one author, no second reader
- Architecture4modules, 11 entry points
- Decisions26recorded, of which 0 in force and 26 background
- Refactoring408open 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 thing worth doing this quarter.
Worth planning
Delete 990 unused symbols and files (48,210 lines)
Nothing in the graph reaches them, across 697 files; every reader and agent pays to skip them.
- symbols
- 990
- lines
- 48,210
- safe to delete
- Yes(inferred)
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 health5,904 open findingsCriticalUntested hotspot · erpnext/stock/serial_batch_bundle.py38 findings · 9.6 deducted
- Refactoring408 open opportunitiesMediumvisit_Call+1.5 health, M effort · .github/helper/postgres_compat.py
- Decisions0 drifting from the codeMediumerpnext/tests/utils.pyHigh-churn file with no governing decision
- Ownership2,145 sole-owned filesMediumerpnext/controllers/subcontracting_inward_controller.pyOne author, no second reader
- Dead code1,913Lowerpnext/accounts/doctype/bank/bank_dashboard.pyUnreachable symbol (10 lines)