PMD(CPD) to find duplicate code
http://www.parleys.com/display/PARLEYS/Spring%20is%20Swinging
GUI Framework - JGoodies
Code coverage tool: http://www.eclemma.org/index.html
Agile Practice:
*)Use PMD, CPD and CheckStyle
*)TDD: Test-Driven Development: A Practical Guide By David Astels
*)Duplicate of logic: DRY - Don't Repeat Yourself, OAOO - Once and Only Once
Refactor principal:
1. Small Method: One method does one thing.
2. Comment is not always useful if you name variable and method clearly.