我想知道 Eclipse 是否有任何插件可以查看在运行时执行的路径,即我想知道在 tun 时间没有到达哪些类或包?我不想调试我的代码我只想看看哪些包或类没有提示,反之亦然
问问题
41 次
1 回答
0
Install EclEmma, a code coverage tool for Eclipse. It will tell you which lines, methods and classes have been covered during a run and which have not.
Additionally, the Useless Code Detector plugin can tell you which of your code cannot even be reached (e.g. finding public methods which are not called from anywhere). This is done without execution by static code analysis.
于 2013-07-08T05:12:38.180 回答