Converts lcov output to Cobertura-compatible XML for CI
Switch branches/tags
Nothing to show
Pull request Compare This branch is 51 commits behind eriwen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

lcov to cobertura XML converter

This project does as the name implies: it coverts code coverage report files in lcov format to Cobertura's XML report format so that CI servers like Jenkins can aggregate results and determine build stability etc.


python lcov-file.dat
  • -b/--base-dir - (Optional) Directory where source files are located. Defaults to the current directory
  • -e/--excludes - (Optional) Comma-separated list of regexes of packages to exclude
  • -o/--output - (Optional) Path to store cobertura xml file. Defaults to ./coverage.xml


This was originally intended to convert JsTestDriver coverage results, so it may not work properly with all LCOV constructs. If you have any problems or suggestions, feel free to file an issue and it'll be addressed


This project is provided under the Apache License, Version 2.0.