How to find unused Java classes and JSP files from a project

前端 未结 3 1339
栀梦
栀梦 2021-01-16 04:56

How do I find unused Java classes and JSP files from a project?

I am using Eclipse and Mercurial as the source control system.

相关标签:
3条回答
  • 2021-01-16 05:41

    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.

    0 讨论(0)
  • 2021-01-16 05:56

    I believe CodePro will do what you want.

    Also a quick way of identifying this if only on a few files is right click the file and select 'References' then workspace or project.

    0 讨论(0)
  • 2021-01-16 05:58

    ProGuard will do this as part of its "listing dead code" feature. The examples page shows you exactly how to do it.

    0 讨论(0)
提交回复
热议问题