[vtk-developers] An experiment with code coverage

Bill Lorensen bill.lorensen at gmail.com
Wed Feb 5 18:46:59 EST 2014


Folks,

Thanks  to Matt McCormick, you do not have to clone the code coverage repo.

Now just point you browser to:
http://lorensen.github.io/VTKCodeCoverage/index.html

I'll work on updating this nightly.

Bill

On Wed, Feb 5, 2014 at 5:54 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Cool. I'll check it out.
>
> On Feb 5, 2014 5:09 PM, "Matt McCormick" <matt.mccormick at kitware.com> wrote:
>>
>> 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
>> >



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list