Get total number of excluded lines #1475
Replies: 2 comments
-
|
Please use ReportGenerator and check whether the created report does not show the missed lines correctly.
|
Beta Was this translation helpful? Give feedback.
-
|
thanks @Bertk . I've checked this years ago. the line coverage and it wasn't good enough .If i remember wellm it was counting file lines instead of checking coverable code (i.e. blank lines, interfaces, comments, etc) In my organisation we will probably fork coverlet to add this feature, but it would be nice to include it as an extra column (lines excluded) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
In .net, when annotating a class or member with ExcludeFromCodeCoverage, there is no way (afaik) to work out how many lines were ignored. In my organisation, this is a valuable piece of information.
The total lines excludes those excluded, so there is no way to know they exist but were annotated with the attribute.
Is there any way to work out the stat I need from the report?
If not, would you consider such feature (and I can create an Issue for it)
thanks
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions