Replies: 5 comments 1 reply
-
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: reportgenerator@palmmedia.de |
Beta Was this translation helpful? Give feedback.
-
Done. |
Beta Was this translation helpful? Give feedback.
-
I looked at your coverage file. But additional In total 39807 Not all of the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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