Branch Coverage

blib/lib/Test/XHTML/Critic.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
241 0 0 if $$error{'ref'}
242 0 0 if $FIXED and $$error{'row'} || $$error{'col'}
271 0 0 if ($html) { }
272 0 0 $FIXED ? :
283 0 0 if ($token and $$token[0] eq 'D') { }
287 0 0 if ($declaration =~ /$type/)
298 0 0 if ($$tag[0] eq uc $$tag[0])
305 0 0 if ($$tag[0] eq 'map') { }
0 0 elsif ($$tag[0] eq 'img') { }
0 0 elsif ($$tag[0] eq 'a') { }
0 0 elsif ($$tag[0] eq 'script') { }
0 0 elsif ($$tag[0] eq 'title') { }
330 0 0 if ($$self{'ERRORS'}) { }
345 0 0 if ($$self{'dtdtype'} == 1) { }
0 0 elsif ($$self{'dtdtype'} == 2) { }
367 0 0 unless $deprecated{$$tag[0]}
372 0 0 if $deprecated{$$tag[0]}{$dtdtype}{'css'}
374 0 0 unless $$self{'dtdtype'} > $dtdtype
375 0 0 unless $deprecated{$$tag[0]}{$dtdtype}{'attr'}
378 0 0 if ($$tag[1]{$attr})
390 0 0 if ($elem and $elem != $$tag[0]) { }
0 0 elsif (@css) { }
412 0 0 if ($$tag[1]{'name'})
426 0 0 if (not $$tag[1]{'width'} && $$tag[1]{'height'})
440 0 0 if ($$tag[1]{'language'})
456 0 0 if ($x =~ /privacy policy/i or $$tag[1]{'title'} and $$tag[1]{'title'} =~ /privacy policy/i or $x =~ /terms.*conditions/i or $$tag[1]{'title'} and $$tag[1]{'title'} =~ /terms.*conditions/i)
463 0 0 if ($x =~ /home/i or $$tag[1]{'title'} and $$tag[1]{'title'} =~ /home/i)
472 0 0 unless ($$self{'policy'}{'privacy'})
480 0 0 if (not $$self{'policy'}{'home'})
494 0 0 if (length $x > 64)
504 0 0 if ($x =~ /['"(){}\[\]]/)
520 0 0 unless my $log = $self->logfile
521 0 0 unless -f $log
523 0 0 $self->logclean ? :
526 0 0 unless my $fh = 'IO::File'->new($log, $mode)