openmrs / openmrs-core
javamaster5167075157.5K linessynced on Jul 20, 2026
Code health
7.4out of 10Good
Hotspots average 2.7, the place fixes pay off most.
Explore this codebase
- Code health map2hotspots across 1,350 files
- Ownership879sole-owned files: one author, no second reader
- Architecture6modules, 228 entry points
- Decisions126recorded, of which 0 in force and 126 background
- Refactoring143open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
3 things worth doing this quarter, 2 of them now.
Worth planning
Delete 56 unused symbols and files (5,341 lines)
Nothing in the graph reaches them, across 51 files; every reader and agent pays to skip them.
- symbols
- 56
- lines
- 5,341
- 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 health1,829 open findingsCriticalUntested hotspot · api/src/main/java/org/openmrs/module/ModuleUtil.java45 findings · 10.0 deducted
- Refactoring143 open opportunitiesMedium<anonymous>+1.5 health, L effort · webapp/src/main/webapp/WEB-INF/csrfguard.js
- Decisions0 drifting from the codeMediumweb/src/test/java/org/openmrs/web/filter/initialization/InitializationFilterE2ETest.javaHigh-churn file with no governing decision
- Ownership879 sole-owned filesMediumapi/src/main/java/org/openmrs/logging/LoggingConfigurationGlobalPropertyListener.javaOne author, no second reader
- Dead code79LowOpenmrsYamlConfigurationUnreachable class (11 lines)