Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Clover html report not showing line by line coverage

vandana subburathinam December 5, 2013

I'm currently evaluating clover and I'm using an evaluation license. The report does not show the source files with lines covered and uncovered. I only see the overall coverage. Is that a limitation on the evaluation licence or do i miss any configuration?

for example : If I click on a file on a link, It shoule display the source code for the file with coverage

example link : http://www.displaytag.org/1.2/displaytag/clover/index.html

2 answers

0 votes
Chee-Hong Hsia June 9, 2014

Same problem here but I'm using Clover PHP plugin which is on version 0.3.3.
Does Clover PHP plugin support line by line coverage?

Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2014

The Clover PHP Plugin is not an Atlassian tool. Please have a look at plugin's home page: https://wiki.jenkins-ci.org/display/JENKINS/Clover+PHP+Plugin

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2013

Hi Vandana,

According to the report you're using very old version of Clover - 1.3 ("Report generated by Clover Code Coverage v1.3.13"), which was released in 2007. The latest Clover version is 3.2.0 and I really suggest upgrading to it.

I opened the report and I can see source code with coverage highlighting, for instance:

http://www.displaytag.org/1.2/displaytag/clover/org/displaytag/filter/BufferedResponseWrapper13Impl.html

although I noticed that it highlights uncovered lines only. It might be due to report generation settings, but as I wrote, please upgrade first. If you need an updated license key (I see that you're using Clover license for open source tools), just contact sales@atlassian.com.

Cheers
Marek

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events