Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
as suggested in FINERACT-712, we really should enable Checkstyle in Fineract.
My past experience in such matters, confirmed by FINERACT-702, is that these things only ever work and have a lasting effect if you bulk fix all violations and switch on enforcement. If you only report, it's mostly useless.
As for specific Checkstyle rules, I have spent a fair amount of time in a past life on a project (which I'm currently no longer actively invoved in) to refine a what I believe to be "good" Checkstyle rule set, we could reuse this for Fineract (it's EPL licensed, so copy/pasting it is perfectly fine), see https://github.com/opendaylight/odlparent/blob/master/checkstyle/src/main/resources/odl_checks.xml
Attachments
Issue Links
- blocks
-
FINERACT-971 Activate a few additional recently introduced new Checkstyle rules
- Resolved
-
FINERACT-712 Fineract codebase should pass PMD, Findbugs and Checkstyle analysis
- Closed
- incorporates
-
FINERACT-942 Make Checkstyle detect bad logging anti-patterns (and fix problems found)
- Resolved
- relates to
-
FINERACT-1006 Auto Format Source Code
- Resolved
- links to