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
Highlighted

Code Coverage Metrics against Legacy code vs New code

Our company analyzing various code coverage tools, one of major deciding factor is getting metrics for Code Coverage against new code written after our tool adoption.

It  is 4-5 year old application we want to measure code coverage % for new code. Is there any report which can help us to get such data ?

1 comment

Clover can't detect changes in a code and measure coverage only for new parts. I don't think any code coverage tool can do that.

 

However, I think you can use two Clover features which may satisfy your demand:
* Include/exclude sources and measure coverage only for new/modern modules, packages files

* Generate historical report and analyze coverage trends. If you assume new code should be covered by tests then when the overall coverage stats should go up.

 

 

Cheers,

Grzegorz

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence Cloud

Bring information from GitHub into Confluence

I’ve got a couple of questions for you. Do you write technical documentation? What about technical documentation that references code and files from GitHub? In this article you will learn how to in...

97 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