Replies: 3 comments
-
This wiki page explains some of the metrics: I don't know how the coverage tool that you have used to generate the cobertura xml, counts the E.g. <line number="20" hits="2" branch="false" /> Maybe you can count the line elements with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Can you share the Cobertura file? Then I can have a closer look. You can send it privately via email: [email protected] |
Beta Was this translation helpful? Give feedback.
-
When we process a cobertura xml file with ReportGenerator, we notice a discrepancy between the general numbers about covered lines, branches, etc.
Example:
The numbers 11494 (covered) and 35927 (coverable) are not found in the
coverage
element of the corresponding cobertura file (lines-covered
andlines-valid
attributes):How does ReportGenerator calculate these numbers and why do they differ from Cobertura?
Beta Was this translation helpful? Give feedback.
All reactions