Skip to main content

Geertjan Wielenga: Dead Code Detection with NetBeans IDE

In NetBeans IDE, you can go to Source | Inspect to look for unused imports and assignments in your code. But that, of course, is only the tip of the iceberg. Michael Bishop, on the mailing list, asks: "I'm looking to clean up some of my code. Is there a tool out there that can find dead code across all my source modules?... I'm looking for a way to search for ALL unused code across all the sources I control." He then points to the DCD (dead code detector) project at

Community: NetBeans