Skip to content

Commit 282bdbe

Browse files
committed
#623 Improved Cobertura output (complexity metric)
1 parent 340efe0 commit 282bdbe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ For further details take a look at LICENSE.txt.
6767

6868
CHANGELOG
6969

70+
5.1.26.0
71+
72+
* Fix: #623 Improved Cobertura output (complexity metric)
73+
7074
5.1.25.0
7175

7276
* Fix: OpenCover: Improved handling of generic classes

src/ReportGenerator.Core/Parser/CoberturaParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private static void SetCodeElements(CodeFile codeFile, IEnumerable<XElement> met
403403
int lastLine = int.Parse(lines.Last().Attribute("number").Value, CultureInfo.InvariantCulture);
404404

405405
codeFile.AddCodeElement(new CodeElement(
406-
fullName,
406+
methodName,
407407
methodName,
408408
methodName.StartsWith("get_") || methodName.StartsWith("set_") ? CodeElementType.Property : CodeElementType.Method,
409409
firstLine,

0 commit comments

Comments
 (0)