Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 942
Michal Avatar asked Nov 15 '12 14:11

Michal


1 Answers

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.

like image 78
Michal Avatar answered Nov 04 '22 08:11

Michal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!