I'm using Clover with eclipse and I set up a rule to ignore certain methods. In the class it shows the methods greyed out and says they are excluded, however I see that it is still counting that method towards coverage % and showing that method as all red instead of greyed out. How do I get Clover to stop including the method in the coverage % number?
I have created a CLOV-1108 bug report for this.
As a workaround you can use HTML report - it shows filtered-out methods correctly. Alternatively, you could use ///CLOVER:OFF + ///CLOVER:ON comments to disable certain code blocks from instrumentation.
Thanks for fixing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.