eclipse-code-coverage-eclemma
Eclipse does tons of nifty things (code completion, building getter/setters, etc.)
Plugins like JUnit drastically reduce brittleness, but once you get enough Classes how do you
know you've written enough tests?
Code Coverage Tools (ideally an Eclipse Plugin) make it easy to take your code to the next level:
Help -> Eclipse Market Place -> Find eclemma
After install (and Eclipse restart) right click on a Project -> "Coverage As" -> Junit test
Each class details how many executable paths are tested
(assuming JUnit ClassnameTest.java and testMethodName )
http://www.eclemma.org/userdoc/coverageview.html
This helps identify the "gold diamond" of branches that haven't been tested
When you've fixed your Test (and it passes!) then you can "Relaunch Coverage Session"
This opens the view "Coverage" at the bottom where you can relaunch.
TO REMOVE ALL OF THE ANNOYING RED SYNTAX HIGHLIGHTING WHEN NOT IN USE
Use the grayed out (bad UI design) X (remove active session) and XX (remove all sessions)