What are the best practices for Java development team?
At individual level
In Eclipse IDE use following files and share with team to maintain consistency.
PMD-rules-eclipse.xml
Eclipse-Clean-Config.xml
Eclipse-Code-Formatter.xml
Eclipse-Code-Template.xml
Eclipse-Import-Order.importorder
TestNG Test Cases
Emma plug in to check code coverage
Tie the memory and performance numbers to test cases
At team level
What happens in Hudson?
Configure following in Hudson, so that it is easy to check after each build.
Code Coverage Report
Open Tasks Report
PMD Report
Surefire Test Report
At organizational level
How to compare different projects / modules in organization?
Use SONAR and use maven plug in to push the data to Sonar server.
Code Coverage
Comments
Complexity
Lines of Code
PMD
Test Success
References:
http://java.net/projects/hudson/
http://www.sonarsource.org/
http://pmd.sourceforge.net/
http://emma.sourceforge.net/




