Code health
This codebase scores 6.1 out of 10 for code health, which we rate fair. It also scores maintainability 6.7 and static performance 9.7 out of 10. The three are scored separately and never blended into one number.
4 things worth doing this quarter.
Break up execute (CCN 53, 237 lines)
modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca/UpdatePublicKeyBlacklistCommand.java:267
execute nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy; 1 file imports it.
Break up doGet (CCN 26, 157 lines)
modules/admin-gui/src/org/ejbca/ui/web/admin/cainterface/CACertReqServlet.java:123
doGet nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy.
Delete 221 unused symbols and files (35,764 lines)
Nothing in the graph reaches them, across 176 files; every reader and agent pays to skip them.
Break up scepCertRequest (CCN 60, 283 lines)
modules/ejbca-ejb/src/org/ejbca/core/protocol/scep/ScepMessageDispatcherSessionBean.java:587
scepCertRequest nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy; 2 files import it.
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
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.