Condition Coverage

blib/lib/HTML/FormEngine.pm
Criterion Covered Total %
condition 1 160 0.6


and 2 conditions

line l !l condition
790 0 0 $$self{'seperate'} = $sep and return 1
1598 0 0 $c == 0 ? $c = $i : 1 and ++$f{$p} and next
1791 0 0 ++$tmp and last
1800 0 0 ++$tmp and last

and 3 conditions

line !l l&&!r l&&r condition
739 0 0 0 defined $$input{$_} and not ref $$input{$_}
0 0 0 defined $$input{$_} and not ref $$input{$_} and $$input{$_} =~ /\0/o
822 0 0 0 defined $varval and ref $varval eq 'HASH'
990 0 0 0 $self->is_submitted && !$self->get_error_count && !$self->confirmation_canceled
1036 0 0 0 $self->is_submitted && $self->get_error_count
1074 0 0 0 ref $res eq 'ARRAY' and @$res == 1
1422 0 0 0 ref $conf eq 'ARRAY' and ref $$conf[0] eq 'HASH'
0 0 0 ref $conf eq 'HASH' and ref $$conf{'sub'} eq 'HASH'
0 0 0 ref $conf eq 'HASH' and ref $$conf{'sub'} eq 'ARRAY'
1522 0 0 0 defined $res and ref $res eq ''
1523 0 0 0 @history and grep {$res =~ /<&$_&>/;} @history
1535 0 0 0 ref $res eq 'ARRAY' and defined $$self{'loop_var'}{$var} || @{$$self{'loop'};} > 0
1598 0 0 0 $c == 0 ? $c = $i : 1 and ++$f{$p}
0 0 0 $old eq '<' and grep {$p eq $_;} '&', '~', '!'
1600 0 0 0 $c > 0 and grep {$old eq $_;} '&', '~', '!'
0 0 0 $c > 0 and grep {$old eq $_;} '&', '~', '!' and $p eq '>'
1633 0 0 0 ref $$self{'nconf'}{$templ} eq 'ARRAY' and ref $$self{'nconf'}{$templ}[0] eq 'HASH'
1724 0 0 0 $_ ne 'TEMPL' and $_ ne 'HIDDEN'
1786 0 0 0 defined $2 and $2 ne ''
0 0 0 defined $3 and $3 ne ''
1791 0 0 0 defined $_ and $_ ne ''
0 0 0 defined $_ and $_ ne '' and not ref $_
1800 0 0 0 defined $_ and $_ ne ''
0 0 0 defined $_ and $_ ne '' and not ref $_
1812 0 0 0 ref $res eq 'ARRAY' and $c == 1
0 0 0 ref $res eq 'ARRAY' and $c == 1 and $i == length($cont) - 1
1851 0 0 0 $_ ne 'TEMPL' and $_ ne 'HIDDEN'
1896 0 0 0 $self->is_submitted and $$self{'use_input'}
0 0 0 $self->is_submitted and $$self{'use_input'} and not $self->_get_var('force_value')
1913 0 0 0 $templ and ref $def eq 'HASH'
1936 0 0 0 defined $fname and $fname ne ''
1952 0 0 0 defined $$self{'input'}{$fname} && (!$$self{'seperate'} || $$self{'input'}{$fname} ne ($$self{'conf'}{'SEPVAl'} || $$self{'skin_obj'}->get_default('main', 'SEPVAL')))

or 2 conditions

line l !l condition
889 0 0 shift() || 0
905 0 0 shift() || 0
1279 0 0 shift() || 0
1839 0 0 $name or 'varstack'
1866 0 0 $name or 'varstack'
1881 0 0 $name or 'varstack'
1900 0 0 $$self{'values'}{$_} or 0

or 3 conditions

line l !l&&r !l&&!r condition
713 0 1 0 ref $class || $class
1052 0 0 0 $$self{'conf'}{'CONFIRM_CANCEL'} or $$self{'skin_obj'}->get_default('main', 'CONFIRM_CANCEL')
1136 0 0 0 $$self{'conf'}{'CONFIRMED'} or $$self{'skin_obj'}->get_default('main', 'CONFIRMED')
0 0 0 $$self{'conf'}{'CONFIRMED'} or $$self{'skin_obj'}->get_default('main', 'CONFIRMED') or $$self{'skin_obj'}->get_default('default', 'CONFIRMED')
1219 0 0 0 $$self{'conf'}{'METHOD'} || $$self{'skin_obj'}->get_default('main', 'METHOD') || $$self{'skin_obj'}->get_default('default', 'METHOD')
1236 0 0 0 $$self{'conf'}{'FORMNAME'} || $$self{'skin_obj'}->get_default('main', 'FORMNAME') || $$self{'skin_obj'}->get_default('default', 'FORMNAME')
1428 0 0 0 $$_{'templ'} || $$self{'skin_obj'}->get_default('default', 'templ')
1498 0 0 0 $var eq 'TEMPL' or $var eq 'HIDDEN'
1535 0 0 0 defined $$self{'loop_var'}{$var} || @{$$self{'loop'};} > 0
1896 0 0 0 $self->is_submitted and $$self{'use_input'} and not $self->_get_var('force_value') or $force
1943 0 0 0 $$self{'conf'}{'SEPVAL'} || $$self{'skin_obj'}->get_default('main', 'SEPVAL')
0 0 0 not $$self{'seperate'} or $_ ne ($$self{'conf'}{'SEPVAL'} || $$self{'skin_obj'}->get_default('main', 'SEPVAL'))
1944 0 0 0 $$self{'conf'}{'SEPVAL'} || $$self{'skin_obj'}->get_default('main', 'SEPVAL')
0 0 0 $_ eq ($$self{'conf'}{'SEPVAL'} || $$self{'skin_obj'}->get_default('main', 'SEPVAL')) or $i + 1 == @{$$self{'input'}{$fname};}