[Insight-developers] Deceptive Coverage Numbers
Luis Ibanez
luis.ibanez at kitware.com
Thu Apr 16 12:22:59 EDT 2009
Hi Bill,
Good catch...
Visual inspection is probably the best idea at this point,
since it also provides a code review and will prompt many
improvements.
Another option that comes to mind is to wrap this classes,
(for some common instantiations) in which case, all the
templated methods will be instantiated.
Luis
----------------------
Bill Lorensen wrote:
> Luis,
>
> Take a look at the coverage for this file:
> http://www.cdash.org/CDash/viewCoverageFile.php?buildid=314097&fileid=10830502
>
> Note that several methods do not show up as program lines and thus do
> not show up as uncovered lines. This is not limited to the new
> statistics coverage, we have the same issues in ITK.
>
> I believe it is because the template code is never referenced and
> therefore is not considered code. I think the only remedy for now is a
> visual inspection.
>
> Bill
>
More information about the Insight-developers
mailing list