How to check code coverage with tests for methods with specified level of complexity in Java
- 阅读更多 关于 How to check code coverage with tests for methods with specified level of complexity in Java
问题 I want to be able to check test coverage of those of my methods that have complexity above some given level. Are there any plugins for Eclipse, Sonar, Hudson for that? Thanks! 回答1: I've found simpler solution. I can use a filter in SONAR http://docs.codehaus.org/display/SONAR/Filters where given metric can be used. 回答2: For good code coverage you should check out this tool. It's availiable for Eclipse. Emma Code Coverage 回答3: http://eclipse-metrics.sourceforge.net/ The Eclipse Metrics plugin