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

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.






Log in or Sign up to comment
Community showcase
Published in Jira

We're revolutionizing Jira for non-technical teams — join the exclusive admin group

Hello IT and Jira Admins! I’m on a brand-new team that’s working on an exciting initiative to help every team in your organization manage their work more effectively on Jira. Right now we’re focu...

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