-
Notifications
You must be signed in to change notification settings - Fork 389
Switch expression 100% coverage #903
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
Labels
bug
Something isn't working
tenet-coverage
Issue related to possible incorrect coverage
with repro
Issue with repro
Comments
<?xml version="1.0" encoding="utf-8"?>
<coverage line-rate="1" branch-rate="0.0454" version="1.9" timestamp="1595165380" lines-covered="17" lines-valid="17" branches-covered="1" branches-valid="22">
<sources>
<source>C:\</source>
</sources>
<packages>
<package name="Test" line-rate="1" branch-rate="0.0454" complexity="22">
<classes>
<class name="Test.MyClass" filename="Users\sunga\source\repos\Test\Test\MyClass.cs" line-rate="1" branch-rate="0.0454" complexity="22">
<methods>
<method name="Serialize" signature="(System.Object)" line-rate="1" branch-rate="0.0454" complexity="22">
<lines>
<line number="9" hits="1" branch="True" condition-coverage="4.54% (1/22)">
<conditions>
<condition number="6" type="jump" coverage="50%" />
<condition number="26" type="jump" coverage="0%" />
<condition number="46" type="jump" coverage="0%" />
<condition number="66" type="jump" coverage="0%" />
<condition number="86" type="jump" coverage="0%" />
<condition number="107" type="jump" coverage="0%" />
<condition number="128" type="jump" coverage="0%" />
<condition number="149" type="jump" coverage="0%" />
<condition number="170" type="jump" coverage="0%" />
<condition number="191" type="jump" coverage="0%" />
<condition number="212" type="jump" coverage="0%" />
</conditions>
</line>
<line number="10" hits="1" branch="False" />
<line number="11" hits="1" branch="False" />
<line number="12" hits="1" branch="False" />
<line number="13" hits="1" branch="False" />
<line number="14" hits="1" branch="False" />
<line number="15" hits="1" branch="False" />
<line number="16" hits="1" branch="False" />
<line number="17" hits="1" branch="False" />
<line number="18" hits="1" branch="False" />
<line number="19" hits="1" branch="False" />
<line number="20" hits="1" branch="False" />
<line number="21" hits="1" branch="False" />
<line number="22" hits="1" branch="False" />
<line number="23" hits="1" branch="False" />
<line number="24" hits="1" branch="False" />
<line number="25" hits="1" branch="False" />
</lines>
</method>
</methods>
<lines>
<line number="9" hits="1" branch="True" condition-coverage="4.54% (1/22)">
<conditions>
<condition number="6" type="jump" coverage="50%" />
<condition number="26" type="jump" coverage="0%" />
<condition number="46" type="jump" coverage="0%" />
<condition number="66" type="jump" coverage="0%" />
<condition number="86" type="jump" coverage="0%" />
<condition number="107" type="jump" coverage="0%" />
<condition number="128" type="jump" coverage="0%" />
<condition number="149" type="jump" coverage="0%" />
<condition number="170" type="jump" coverage="0%" />
<condition number="191" type="jump" coverage="0%" />
<condition number="212" type="jump" coverage="0%" />
</conditions>
</line>
<line number="10" hits="1" branch="False" />
<line number="11" hits="1" branch="False" />
<line number="12" hits="1" branch="False" />
<line number="13" hits="1" branch="False" />
<line number="14" hits="1" branch="False" />
<line number="15" hits="1" branch="False" />
<line number="16" hits="1" branch="False" />
<line number="17" hits="1" branch="False" />
<line number="18" hits="1" branch="False" />
<line number="19" hits="1" branch="False" />
<line number="20" hits="1" branch="False" />
<line number="21" hits="1" branch="False" />
<line number="22" hits="1" branch="False" />
<line number="23" hits="1" branch="False" />
<line number="24" hits="1" branch="False" />
<line number="25" hits="1" branch="False" />
</lines>
</class>
</classes>
</package>
</packages>
</coverage> |
@sungam3r maybe you can post the actual code as a comment so that it's easier to copy/paste a repro |
Full repro (actual code) here. Small C# project with one class + 1 test + bat script to perform coverage. |
Dup of #936 I think it's an issue related to new pattern matching |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
tenet-coverage
Issue related to possible incorrect coverage
with repro
Issue with repro
Please see danielpalme/ReportGenerator#362
The text was updated successfully, but these errors were encountered: