Condition Coverage

blib/lib/A1z/HTML5/Template.pm
Criterion Covered Total %
condition 1 126 0.7


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 0 $ARGV and $ARGV > 0
0 0 0 $ARGV and $ARGV > 0 and scalar @keys > 0
159 0 0 0 $args and $args >= 0
308 0 0 0 $ARGV and $ARGV > 0
336 0 0 0 $ARGV and $ARGV > 0
537 0 0 0 $ARGV and $ARGV > 0
573 0 0 0 $ARGV and $ARGV > 0
623 0 0 0 $ARGV and $ARGV > 0
693 0 0 0 $ARGV and $ARGV > 0
742 0 0 0 $form_vars[4] and $form_vars[4] =~ /\,/
755 0 0 0 $form_vars[3] and $form_vars[3] =~ /^select/
1158 0 0 1 $in{'-titleRotatingText'} and $in{'-titleRotatingText'} =~ /\,/
1765 0 0 0 -e -f "$in{'file'},bak.txt" and -e -f "$in{'file'}"
1819 0 0 0 -e -d "$in{'images_dir'}" and "$in{'thumbs_dir'}"
1827 0 0 0 $_ and $_ =~ /(.jpg|.gif|.jpeg|.png|.tiff)$/

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 not defined $key or $key eq ''
308 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
336 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
537 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
573 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
623 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
661 0 0 0 not defined $in{'content'} or $in{'content'} eq ''
693 0 0 0 $ARGV and $ARGV > 0 or scalar @keys > 0
1308 0 0 0 "$in{'file'}" || "$_[0]"
1310 0 0 0 "$in{'output_format'}" || "$_[1]"
1312 0 0 0 "$in{'output_header'}" || "$_[2]"
1374 0 0 0 $h1 =~ /^\s+/ or $div =~ /^\s+/
1376 0 0 0 $h1 =~ /^\s+==/ or $div =~ /^\s+==/
1382 0 0 0 $h1 =~ /^==/ or $div =~ /^==/
1446 0 0 0 $h1 =~ /^\s+/ or $div =~ /^\s+/
1448 0 0 0 $h1 =~ /^\s+#/ or $div =~ /^\s+#/
1454 0 0 0 $h1 =~ /^#/ or $div =~ /^#/
1464 0 0 0 $h1 =~ /^\s+/ or $div =~ /^\s+/
1466 0 0 0 $h1 =~ /^\s+--/ or $div =~ /^\s+--/
1472 0 0 0 $h1 =~ /^--/ or $div =~ /^--/
1487 0 0 0 $h1 =~ /^#http/ or $div =~ /^#http/
1491 0 0 0 $h1 =~ /^\s+/ or $div =~ /^\s+/
1493 0 0 0 $h1 =~ /^\s+http/ or $div =~ /^\s+http/
1499 0 0 0 $h1 =~ /^http/ or $div =~ /^http/
1509 0 0 0 $h1 =~ /^\s+/ or $div =~ /^\s+/
1511 0 0 0 $h1 =~ /^\s+==/ or $div =~ /^\s+==/
1517 0 0 0 $h1 =~ /^==/ or $div =~ /^==/