[Insight-developers] coverage

Damion Shelton beowulf@cs.cmu.edu
Wed, 21 May 2003 11:03:29 -0400


A few questions...

There are lots of cases with my files where the coverage reports are:

BasicFilters/itkGaussianImageSource.h   46.15
BasicFilters/itkGaussianImageSource.txx 90.16

It's not clear to me why the coverage amounts differ for a given class. 
It looks like the coverage is good for the .txx but not the .h, despite 
being the same class. In other cases it's even more extreme:

Common/itkBloxBoundaryPointPixel.h      0.00
Common/itkBloxBoundaryPointPixel.txx    100.00

How is coverage "improved"? If there is "not enough", what is "more"? 
Do the tests need to do more, or does the object need to be created in 
a greater number of tests?

What about completely virtual base classes? e.g.

Common/itkBloxCoreAtomItem.h    0.00
Common/itkBloxCoreAtomItem.txx  0.00

Thanks,
-Damion-

---------
Damion Shelton
Carnegie Mellon University, Robotics Institute
A408-o Newell Simon Hall
412.268.3866 (office)
412.818.8829 (cell)
http://www.cs.cmu.edu/~beowulf
---------
During the Middle Ages, probably one of the biggest mistakes was not 
putting on your armor because you were "just going down to the corner."