On a recent project, we started to employ CheckStyle to help enforce good code quality and standards. I added the CheckStyle plugin to my IntelliJ IDEA client and introduce the
checkstyle.xml from another client’s project and ran the analysis.
I wasn’t completely sure what to expect, since the API had been created before I started the project. As it turns out, the results were not all that bad. Making sure spacing was standardized, setting private class constructors for utility classes, and removing the public prefix on interface classes were common items that needed to be fixed.