Coverage Percentage of package in Clover for Eclipse

I'm using the Clover Eclipse plugin, and I'm trying to figure out why some packages are reporting something lower than 100% coverage, when expanding everything in that package shows 100%? I have attached an image showing this.

5 answers

This widget could not be displayed.

Quite weird, I admit :-) Could you tell something about these 0% elements in the tree? Do you have interfaces / empty classes / empty methods there? Do you use some block context, method or statement filters?

This widget could not be displayed.

Some of them are files that are interfaces (the two at the top), the others are things turned off through context filters. Constructors and also methods (like toString) that I added to the Custom Coverage Context Filters section.

This widget could not be displayed.

What version of Eclipse and Clover are you using?

This widget could not be displayed.

Eclipse

Version: Indigo Service Release 2

Clover

Clover 3

Version: 3.1.7.v20120831000000

This widget could not be displayed.

I wasn't able to reproduce it, unfortunately. May I ask you for providing a code sample and raising a ticket on support.atlassian.com?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

121 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you