Source code quality checks
In a perfect world, you are the best programmer alive and you are effortlessly able to mind control every other programmer in your entire team and force him / her to code the way you want.
In the real world, you and your team can, at best, agree upon a set of programming standards and implement automated source code quality checks into your project build to verify that a certain level of code quality is upheld.
These automated source code quality checks and verifications still cannot ensure that the application itself is designed correctly. However, it can help some of the lesser experienced programmers adhere to standards expected of them.
The Apache Maven PMD plugin automatically runs the PMD code analysis ...