-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method Coverage #2
Comments
The Cobertura format doesn't include a method coverage value. It would be possible while looping through the packages in the coverage file to loop through classes, loop through their methods and count the number of methods with line-rate > 0.0 and total number of methods. Method coverage could then be calculated as the ratio of |
Optional would be fine. |
Feature Request
It would also be useful to have Method coverage reported by the tool.
Expected Behaviour
There would be an additional column that reports Method coverage
Additional Context
Similar to what is printed out by dotnet test:
Calculating coverage result...
Generating report './bin/test-results/coverage.cobertura.xml'
+------------------+--------+--------+--------+
| Module | Line | Branch | Method |
+------------------+--------+--------+--------+
| RCS.Libs.ArgUtil | 93.82% | 95.83% | 92.3% |
+------------------+--------+--------+--------+
+---------+--------+--------+--------+
| | Line | Branch | Method |
+---------+--------+--------+--------+
| Total | 93.82% | 95.83% | 92.3% |
+---------+--------+--------+--------+
| Average | 93.82% | 95.83% | 92.3% |
+---------+--------+--------+--------+
The text was updated successfully, but these errors were encountered: