Skip to content

Commit

Permalink
#623 Improved Cobertura output (complexity metric)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Sep 16, 2023
1 parent 340efe0 commit 282bdbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ For further details take a look at LICENSE.txt.

CHANGELOG

5.1.26.0

* Fix: #623 Improved Cobertura output (complexity metric)

5.1.25.0

* Fix: OpenCover: Improved handling of generic classes
Expand Down
2 changes: 1 addition & 1 deletion src/ReportGenerator.Core/Parser/CoberturaParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ private static void SetCodeElements(CodeFile codeFile, IEnumerable<XElement> met
int lastLine = int.Parse(lines.Last().Attribute("number").Value, CultureInfo.InvariantCulture);

codeFile.AddCodeElement(new CodeElement(
fullName,
methodName,
methodName,
methodName.StartsWith("get_") || methodName.StartsWith("set_") ? CodeElementType.Property : CodeElementType.Method,
firstLine,
Expand Down

0 comments on commit 282bdbe

Please sign in to comment.