Skip to content

Commit 299c0b0

Browse files
committed
#751: Improved suport for large numbers in LCOV files
1 parent 8cdf130 commit 299c0b0

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.4.13.0
71+
72+
* Fix: #751: Improved suport for large numbers in LCOV files
73+
7074
5.4.12.0
7175

7276
* Fix: #750: Cobertura reports now contain timestamp in UTC format

src/ReportGenerator.Core/Parser/LCovParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private void ProcessClass(Class @class, string fileName, string[] lines, ref int
183183

184184
line = line.Substring(5);
185185
string[] tokens = line.Split(',');
186-
int executionCount = int.Parse(tokens[0], CultureInfo.InvariantCulture);
186+
int executionCount = tokens[0].ParseLargeInteger();
187187

188188
if (executionCount == 0)
189189
{

0 commit comments

Comments
 (0)