eriwen / lcov-to-cobertura-xml

Converts lcov output to Cobertura-compatible XML for CI
https://eriwen.github.io/lcov-to-cobertura-xml/
Apache License 2.0
187 stars 73 forks source link

Incorrect line hit counts with multiple files #1

Closed walterbrebels closed 12 years ago

walterbrebels commented 12 years ago

When using lcov-to-cobertura-xml on a lcov file that contains coverage results for multiple source files, the line hit counts in the produced XML are the same for each source file. They match the line hit counts of the last source file mentioned in the lcov file.

Seen on Ubuntu 10.04 with Pyton 2.6.5 and Ubuntu 11.10 with Pyton 2.7.2