How to see itk current code coverage

Hello,

I can’t find a way to see the current coverage of itk, file per file…
I’m sure I’m missing something, any help ?

Thanks,
Y.

2 Likes

Hi @asertyuio,
looks like the last coverage report dates back to a couple of days ago:
https://open.cdash.org/index.php?project=Insight&date=2019-09-01

Clicking on the percentage figure you should be able to see the coverage module-wise and file-wise.

HTH,
JON HAITZ

3 Likes

Thanks!

1 Like

A followup to @asertyuio’s question above: I see that cdash provides a very nice module-by-module breakdown of the code coverage:

https://open.cdash.org/viewCoverage.php?buildid=6522564

Is there a similar breakdown including remote modules? Or if not, what is the preferred way of determining code coverage for a remote module?

Hi @DVigneault,
there is no automated code coverage reporting from remote modules to my knowledge.

I guess this could be automated as a first step on a per-remote-module basis by adding the appropriate coverage commands to the corresponding GitHub Actions workflow scripts (which are being deployed progressively and substituting other CI services).

But not sure if or how it would work.

Otherwise, if want to try locally, and if you have a Linux system, you may run the gcov or lcov commands with the appropriate options. You should be able to get an HTML report with a similar module breakdown as for the ITK base code.

Maybe IDEs for macOS and Windows allow you to do this as well, but I ignore that.