danielpalme / ReportGenerator

ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
https://reportgenerator.io
Apache License 2.0
2.62k stars 283 forks source link

LCov: branch hit count can overflow Int32. #619

Closed ericjulien closed 1 year ago

ericjulien commented 1 year ago

Getting the following error during report generation with lcov:

Error during reading report '/home/ejulien/lcov.info' (Size: 1.1MB): Value was either too large or too small for an Int32.

Branch hit count overflow protection seems to be missing here

Ref to commit fixing similar issues https://github.com/danielpalme/ReportGenerator/commit/eae8dd7cc290dde57f3c7a99324012f62fa8d73b

danielpalme commented 1 year ago

Fixed in https://github.com/danielpalme/ReportGenerator/commit/ce32b7c0f26251ee13a147a383bae598a7b39cc8