Skip to content

Commit

Permalink
Relase 5.1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Jun 7, 2023
1 parent afc2976 commit 2881f43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<PackageReference Include="coverlet.msbuild" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
Expand Down
3 changes: 3 additions & 0 deletions src/ReportGenerator.Core/Parser/Analysis/CodeFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ internal void Merge(CodeFile file)
this.lineCoverage[i] = coverage;
}

this.coveredLines = this.lineCoverage.Count(l => l > 0);
this.coverableLines = this.lineCoverage.Count(l => l >= 0);

for (long i = 0; i < file.lineVisitStatus.LongLength; i++)
{
int lineVisitStatus = Math.Max((int)this.lineVisitStatus[i], (int)file.lineVisitStatus[i]);
Expand Down
2 changes: 1 addition & 1 deletion src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.5.0" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.6.3" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 2881f43

Please sign in to comment.