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

How to ignore files/namespaces from coverage report

We have long test cycles, it takes 10 days for a complete batch of testing. While instrumenting the code using clover we included an unwanted project as well. so now on generating the report, we have reduced numbers due to that, Is there any mechanism to ignore a (namespace/set of files) from the report generation? 

rebuilding and running testing again is not an option we have now. Any recommendations to get rid of unwanted project from the report? 

1 answer

0 votes

I don't believe it's possible at the point of generating HTML. Clover just gets all data from clover.db and generates coverage reports. 

If you want to exclude code parts from code coverage generation you shall do that at instrument level and simply exclude code from instrumentation. 

Other reporting tools offer this feature (ex: lcov ).. ! it can be helpful to generate more meaningful reports, every time compiling removing the instrumentation is not an option. 

please assume a scenario wherein we have few java files for which there is 0 coverage, we know its footprint but want to ignore from reports. then again going through the whole process is not feasible. 

Would be of great use if this feature can be provided in future atleast !

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...

175 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