- Formatting Guidelines – There should be a common set of formatting guidelines published at project level. Also, the eclipse plug-in should be customized so that when any developer formats the code, the code is formatted on similar guidelines.
- Checkstyle & FindBugs Plugin – Checkstyle & FindBugs plugin should be installed on each developer’s machine including the team/technical leads. Whenever any module is declared as complete by a developer, he/she should make sure that executing the Checkstyle & FindBugs plugin is an item in the checklist. Also, team/technical leads should also run these tools on the modules which are marked as complete to perform sanity to check if there any no pending issues.
- Sonar Plugin integrated with Build Process – Sonar is an open platform to manage code quality. Sonar uses various static code analysis tools such as Checkstyle, PMD, FindBugs to extract software metrics, which then can be used to improve software quality. Integrating Sonar with the build process will ensure that the code quality is not compromised with the subsequent builds. In case the quality has gone down as compared to the historical quality results, teams can take appropriate actions.