[vtk-developers] An experiment with code coverage

Matt McCormick matt.mccormick at kitware.com
Wed Feb 5 17:01:24 EST 2014


Hi Bill,

That is cool!

A suggestion: if it is pushed to the gh-pages [1] branch instead of
master, it will a hosted website at

  http://lorensen.github.io/VTKCodeCoverage

HTH,
Matt


[1] http://pages.github.com/

On Wed, Feb 5, 2014 at 4:51 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Folks,
>
> I think we all agree that CDash's code coverage presentation is
> difficult to navigate.
>
> I have been using the linux lcov and genhtml tools to produce a more
> friendly presentation. These are supported by two vtk scripts in
> Utilities/Maintenance
> computeCodeCoverageLocallyForOneTest.sh
> computeCodeCoverageLocally.sh
>
> I have created a github repo that I populated with recent code
> coverage. I am experimenting with this to see if I can generate
> periodic coverage for VTK.
>
> To view the coverage you need to clone this repo:
> git clone https://github.com/lorensen/VTKCodeCoverage.git
>
> To view the coverage:
> cd VTKCodeCoverage
> firefox index.html  # for linux
> open index.html # for Mac
>
> There is still some flakiness in the output (e.g. it shows some of my
> home tree). But it might be useful until we can figure out what we
> want CDash to do.
>
> Bill
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>



More information about the vtk-developers mailing list