How do I find unused Java classes and JSP files from a project?
I am using Eclipse and Mercurial as the source control system.
How do I find unused Java classes and JSP files from a project?
I am using Eclipse and Mercurial as the source control system.
ProGuard will do this as part of its "listing dead code" feature. The examples page shows you exactly how to do it.
It could be approached for an unused class in projects. See how Eclipse marks the Eclipse unused classes as yellow. As it is open source, it is easily available.