# Coverage report formats supported for CDash upload

**URL:** https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950
**Category:** Usage
**Tags:** tool:ctest
**Created:** [January 27, 2024, 5:07pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950 "2024-01-27T17:07:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [January 27, 2024, 5:07pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/1 "2024-01-27T17:07:28Z")

</div>

Hello,

I could not find documentation on the supported coverage report formats ( like cobertura xml, gcov, lcov etc) or the coverage tools, which can be used with ctest\_coverage to be uploaded to CDash.

Where can I find this and is it possible to add this to the documentation.

Thanks

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [February 4, 2024, 2:15pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/2 "2024-02-04T14:15:34Z")

</div>

Cc: @zackgalbreath

---

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [February 21, 2024, 9:31am UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/3 "2024-02-21T09:31:12Z")

</div>

Hello,

Would you say this article is still accurate? [Additional Coverage Features in CDash (kitware.com)](https://www.kitware.com/additional-coverage-features-in-cdash/)

I see that cobertura is also supported? [CTEST\_COVERAGE\_COMMAND — CMake 3.29.0-rc1 Documentation](https://cmake.org/cmake/help/v3.29/variable/CTEST_COVERAGE_COMMAND.html#variable:CTEST_COVERAGE_COMMAND)

Thanks

---

<div class="post-metadata">

### Author: ![zackgalbreath](https://discourse.cmake.org/user_avatar/discourse.cmake.org/zackgalbreath/32/94_2.png) [@zackgalbreath](https://discourse.cmake.org/u/zackgalbreath)
#### Post date: [March 1, 2024, 2:17pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/4 "2024-03-01T14:17:16Z")

</div>

You’re right that documentation is sparse here, that is something that we should work to improve.

In the meantime, here are some tests that demonstrate the various additional coverage formats that CTest understands:

- [GCOV tarball (branch coverage)](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/CTestCoverageCollectGCOV)
- [Cobertura](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/CoberturaCoverage)
- [Delphi](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/DelphiCoverage)
- [Jacoco](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/JacocoCoverage)
- [JSCover](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/JavascriptCoverage)
- [Mumps](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/MumpsCoverage)
- [Python coverage.py](https://gitlab.kitware.com/cmake/cmake/-/tree/v3.28.3/Tests/PythonCoverage?ref_type=tags)

HTH!

---

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [March 1, 2024, 7:24pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/5 "2024-03-01T19:24:54Z")

</div>

Thank you very much! Really appreciate it!

---

<div class="post-metadata">

### Author: ![HellMaster](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/h/8edcca/32.png) [@HellMaster](https://discourse.cmake.org/u/HellMaster)
#### Post date: [August 1, 2026, 11:15pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/6 "2026-08-01T23:15:20Z")

</div>

@zackgalbreath Hey Zack, I was trying to figure out, how to use the cobertura output with line coverage, branch coverage and submit it to cdash dashboard. However, without success. Can you share instructions how to?  
The language used is C/C++, but I guess this is irrelevant? I’m on cmake 3.28.3.

---

<div class="post-metadata">

### Author: ![zackgalbreath](https://discourse.cmake.org/user_avatar/discourse.cmake.org/zackgalbreath/32/94_2.png) [@zackgalbreath](https://discourse.cmake.org/u/zackgalbreath)
#### Post date: [August 5, 2026, 4:35pm UTC](https://discourse.cmake.org/t/coverage-report-formats-supported-for-cdash-upload/9950/7 "2026-08-05T16:35:23Z")

</div>

To the best of my knowledge, CTest’s Cobertura parser currently only captures line coverage (not branch coverage).
