Skip to content

Commit c42e704

Browse files
updates
1 parent 8908f2d commit c42e704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coverlet.core/Reporters/CoberturaReporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public string Report(CoverageResult result)
3939
package.Add(new XAttribute("name", Path.GetFileNameWithoutExtension(module.Key)));
4040
package.Add(new XAttribute("line-rate", (summary.CalculateLineCoverage(module.Value).Percent / 100).ToString(CultureInfo.InvariantCulture)));
4141
package.Add(new XAttribute("branch-rate", (summary.CalculateBranchCoverage(module.Value).Percent / 100).ToString(CultureInfo.InvariantCulture)));
42-
package.Add(new XAttribute("complexity", summary.CalculateCyclomaticComplexity(module.Value).ToString(CultureInfo.InvariantCulture)));
42+
package.Add(new XAttribute("complexity", summary.CalculateCyclomaticComplexity(module.Value)));
4343

4444
XElement classes = new XElement("classes");
4545
foreach (var document in module.Value)

0 commit comments

Comments
 (0)