Can I measure code coverage of C/C++ code?

Q: Can Clover measure code coverage of a C or C++ application?

No. Clover instruments Java and Groovy source code only - see Supported Platforms.

It is, however, possible to measure coverage using a native tool such as gcov and convert its output into Clover's XML report format. Such an XML file can then be consumed by tools understanding this format - for example to display coverage statistics and trend graphs on a continuous integration server.

Keep in mind that only the metrics present in the XML file are available: you will get summary statistics, but not source-level coverage browsing in Clover's HTML report.

See Using Clover for other programming languages for the general approach, and How can I download the report or extract coverage metrics? for the structure of the XML report.