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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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 exclude classes or packages from the Clover coverage html report (using command line tool)? Edited

We are using Clover HTML command line tool for report generation.

java com.atlassian.clover.reporters.html.HtmlReporter

Excluded few classes while instrumentation itself.But still we have few other classes which are not been using in the project.

So is there any way to exclude/ignore them while Generating the HMTL report to move out them while calculating the coverage %.

Please suggest

1 answer

The solution is to exclude them from instrumentation (in clover:setup). 

The HtmlReporter does not have such feature. However, it allows to exclude code contexts, see `-f, --filter <string>` option

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

📹 What is a Trello board?

Hi, Atlassian Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Tre...

14 views 0 3
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