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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Clover report links not working

I use an instrumented build to collect test coverage data. I move the collected data to another system to generate the reports and use the <sourcepath> setting to point to my source code on the system where I generate the reports because it is different than when the instrumented build is created. I see a lot of errors in my ant log when building the report that look like this:

[clover-report] looking for /path/from/sourcepath/D:/path/from/instrumented/build/file.java: not found

where file.java is most if not all of my .java files.

It looks like instead of just the filename, the fully qualified path gets used. If it would have used the sourcepath/file.java it would find the file. I did a strings on the coverage.db file and see the D: before all of the files there also.

In the html report all of the links to drill down into the classes tries to go to a file at D: which does not exist on the system and the in the top of the report is says "Statistics for file D:\...

I am not sure how to fix this or what is wrong and I have not been able to find anything in the doc that is obfious to me. I am new to most of this. Is this something that I need to use the fullyQualifiedJavaLang option to deal with?

3 answers

0 votes

Could you paste your (part of) build.xml file, where clover-setup / clover-instr / clover-report tasks are declared?

I cannot figure out how to provide that information without including proprietary information. I was able to locate an SEN and will pursue this through the support channel.

0 votes

I believe your problem is related with this issue: https://jira.atlassian.com/browse/CLOV-1112, already implemented and scheduled for Clover 3.1.7 (which should be available very soon). You can also download a 3.1.7-SNAPSHOT version right now.

Regards
Marek

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

184 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you