Skip to content

Current coverage value always lower than baseline coverage value [was: Different baseline coverage data] #112

@fsdschmidt

Description

@fsdschmidt

We have some trouble with coverage comparison. For example our current build successfully detected a baseline build:

Found baseline build with ID 97635.
Successfully read code coverage data from build.
Evaluating coverage data from 1 filtered code coverage data sets...
Total lines: 75747
Covered lines: 37405
Code Coverage (%): 49.3815

Unfortunately the detected baseline code coverage % ist wrong, to high and above our variance. Here is the quality check of baseline build with ID 97635:

Validating code coverage policy...
Successfully read code coverage data from build.
Evaluating coverage data from 1 filtered code coverage data sets...
Total lines: 75641
Covered lines: 36932
Code Coverage (%): 48.8254
Found baseline build with ID 97599.
Successfully read code coverage data from build.
Evaluating coverage data from 1 filtered code coverage data sets...
Total lines: 75747
Covered lines: 37408
Code Coverage (%): 49.3855

For any reason the detected coverage in a later comparison build is higher than the original one. And also total lines differ. TFS reports a coverage of 49.3 % (summary page), may be 48.8 % of the current build is wrong? We use line coverage.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions