| June 27, 2005 | Phalanx from the Trenches | Prev Next | 
_param() always return undef here
First part of clause is never true; hence
Unreachable
Untestable
Eliminatable
Code now reads:
     my $fi_filename = $fi_self->{FILENAME} || 'template';
Coverage now reads:
     300          114           100                 5331     
     my $fi_filename = $fi_self->{FILENAME} || 'template';
... and in the condition part of the coverage report:
     or 2 conditions
     
     line  err      %      l     !l   expr
     ----- --- ------ ------ ------   ----
     ...
     300          100      8    106   $$fi_self{'FILENAME'} || 'template'
| Home Last TOC | Copyright © 2005 James E Keenan and Marc Prewitt | Prev Next |