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

Code Coverage Metrics against Legacy code vs New code

Amit Singh February 22, 2018

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

Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2018

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
AUG Leaders

Atlassian Community Events