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-to-cobertura-xml.py lcov-file.dat [-b source/files/dir] [-e <exclude packages regex>] [-o output.file]'
-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.