[vtk-developers] Coverage

David E DeMarle dave.demarle at kitware.com
Mon Mar 4 08:29:07 EST 2013


I came up with this when I was working toward modularizing paraview.
It takes the file you want to inspect as the sole argument, then does a
find in the cwd for all of the headers and groups them together into
"modules".



David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Mon, Mar 4, 2013 at 1:32 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Is there a script that can automatically list what modules a
> particular .cxx file depends on?
>
> On Sat, Mar 2, 2013 at 4:49 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > I suspect that many of these were left out during modularization. Perhaps
> > because they caused dependencies on other modules.
> >
> >
> > On Saturday, March 2, 2013, David Gobbi wrote:
> >>
> >> I just sent a list of files to vtk-devel that shows what is
> >> newly-disabled in master as compared to release.
> >>
> >> And I've attached another file that includes the full path
> >> to each disabled test.
> >>
> >>  - David
> >>
> >> On Sat, Mar 2, 2013 at 4:10 PM, Berk Geveci <berk.geveci at kitware.com>
> >> wrote:
> >> > Can you generate this as a list of files? Then one or more of us has
> >> > to go through these and either remove them or make them work again.
> >> >
> >> > -berk
> >> >
> >> > On Sat, Mar 2, 2013 at 5:21 PM, David Gobbi <david.gobbi at gmail.com>
> >> > wrote:
> >> >> There are also a number of tests that aren't being run.  I wrote a
> >> >> python script (attached) that looks through all the Testing
> >> >> directories and identifies test programs that don't appear in a
> >> >> CMakeLists.txt file.  It reports:
> >> >>
> >> >>  166 out of 1770 tests are not enabled
> >> >>  44 are commented out, the rest are unlisted in cmake
> >> >>
> >> >> Compare this to VTK 5.10:
> >> >>
> >> >>  54 out of 1213 tests are not enabled
> >> >>  21 are commented out, the rest are unlisted in cmake
> >> >>
> >> >> It's probably more informative to list the tests by language:
> >> >>
> >> >> Cxx: 132 not enabled (39 in cmake but commented out)
> >> >> Tcl: 19 not enabled (2 in cmake but commented out)
> >> >> Python: 15 not enabled (3 in cmake but commented out)
> >> >>
> >> >> Recently Bill and others have done an awesome job of reactivating tcl
> >> >> and python tests, but a large number of C++ tests are still
> >> >> missing/disabled.
> >> >>
> >> >>  - David
> >> >>
> >> >>
> >> >> On Sat, Mar 2, 2013 at 1:46 PM, Berk Geveci <berk.geveci at kitware.com
> >
> >> >> wrote:
> >> >>> Yup. One other thing that we would like to try in the near future is
> >> >>> to look at combined VTK + ParaView coverage of VTK. ParaView tests
> >> >>> some of VTK more thoroughly and that should increase coverage
> further.
> >> >>> I am hoping for 70%. Beyond that, we will have to write more tests.
> >> >>>
> >> >>> -berk
> >> >>>
> >> >>> On Sat, Mar 2, 2013 at 10:08 AM, Bill Lorensen
> >> >>> <bill.lorensen at gmail.com> wrote:
> >> >>>> Berk,
> >> >>>>
> >> >>>> Looks like tcl and python were added to ubuntu coverage. Now it is
> >> >>>> showing
> >> >>>> 66%.
> >> >>>>
> >> >>>> Bill
> >
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
> >
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130304/d8d76a41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uses
Type: application/octet-stream
Size: 733 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130304/d8d76a41/attachment-0001.obj>


More information about the vtk-developers mailing list