Branch Coverage

blib/lib/CGI/SHTML.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
135 0 0 unless ($self->_noprint)
136 0 0 if defined $text and $text ne ''
138 0 0 if (scalar @parts and $parts[0] =~ /^\s*$/m)
141 0 0 $ssi[0] ? :
142 0 0 unless ($self->_noprint)
143 0 0 if defined $ssival and $ssival ne ''
158 0 0 if (defined $val)
159 0 0 unless $$array[$if]
183 0 0 unless defined $1
186 0 0 if defined $val
191 0 0 if (lc $command eq 'if' or lc $command eq 'elif') { }
0 0 elsif (lc $command eq 'else') { }
0 0 elsif (lc $command eq 'endif') { }
192 0 0 if (lc $command eq 'if')
193 0 0 if ($self->_ifdone)
195 0 0 if ($val) { }
202 0 0 if ($self->_ifdone) { }
214 0 0 if (lc $command eq 'include') { }
0 0 elsif (lc $command eq 'set') { }
0 0 elsif (lc $command eq 'echo') { }
0 0 elsif (lc $command eq 'exec') { }
0 0 elsif (lc $command eq 'fsize') { }
0 0 elsif (lc $command eq 'flastmod') { }
215 0 0 if (defined $hash{'virtual'}) { }
0 0 elsif (defined $hash{'file'}) { }
222 0 0 unless $ENV{$1}
230 0 0 unless $self->_execute($hash{'cmd'})
0 0 if (defined $hash{'cmd'}) { }
0 0 elsif (defined $hash{'cgi'}) { }
234 0 0 if (defined $hash{'virtual'}) { }
0 0 elsif (defined $hash{'file'}) { }
238 0 0 if (defined $hash{'virtual'}) { }
0 0 elsif (defined $hash{'file'}) { }
259 0 0 if (lc $key eq '-title')
299 0 0 if ($filename =~ /^\$\{?(\S+)\}?$/)
303 0 0 if $hostname =~ /^www/
307 0 0 if ($filename =~ m[^~(\w+)/(.*)$]) { }
0 0 elsif ($filename =~ m[^[^/]]) { }
321 0 0 unless open FILE, "<$file"
335 0 0 unless open COMMAND, "$command |"
339 0 0 unless scalar @list > 0
341 0 0 if (scalar @list > 1 and $list[0] =~ /^Content-type: (.*)$/i)
344 0 0 wantarray ? :
353 0 0 if ($size >= 1048576) { }
0 0 elsif ($size >= 1024) { }
370 0 0 $var ? :
0 0 if (my $var = $$hash{'var'})
371 0 0 if (my $eval = $$hash{'expr'})
375 0 0 $val ? :