[Insight-developers] STEP 1: Code coverage push
Luis Ibanez
luis . ibanez at kitware . com
Thu, 07 Aug 2003 09:16:25 -0400
Hi Robert,
Yes, 0% is ok IIF it is GREEN in the report.
The GREEN files are those that are reasonably
covered OR have few lines uncovered. e.g. a file
with 2 executable lines, which has only one
covered is considered a GREEN file even though
its coverage is just 50%.
The real scary cases are classes like
http://www . itk . org/Testing/Sites/esopus . crd/SunOS-5 . 7-c++/Coverage/__Code_Algorithms_itkBinaryMask3DMeshSource_txx . html
with 49% coverage but 1059!!! lines of
uncovered code.
This is 1059 that have NEVER been compiled.
So, it is as covered as the file with 2
executable lines, but I guess everyone
will agree in that 1059 uncovered lines
offer a much bigger risk than 1 uncovered
line.
Thanks for helping in the process of
increasing coverage.
Luis
----------------------
Robert Tamburo wrote:
>
> Just to clarify 0.00% is ok if it's GREEN????
>
> -Rob
>