Branch Coverage

blib/lib/HTML/FormEngine/Handler.pm
Criterion Covered Total %
branch 0 122 0.0


line true false branch
32 0 0 if (defined $templ and defined $$self{'skin_obj'}->get_templ($templ))
34 0 0 @args ? :
84 0 0 unless defined $res
92 0 0 if (defined $$self{'loop_var'}{'VALUE'}) { }
105 0 0 unless $checked ne ''
110 0 0 if (ref $checked eq 'ARRAY') { }
0 0 elsif ($checked eq $value) { }
111 0 0 if (grep {$_ eq $value;} @{$checked;})
150 0 0 if (ref $res eq 'ARRAY')
152 0 0 if (ref $$self{'_handle_value'} ne 'HASH')
159 0 0 if (not $same) { }
0 0 elsif ($same > 0) { }
0 0 elsif ($same < 0) { }
167 0 0 defined $$self{'_handle_value'}{$_} && $$self{'_handle_value'}{$_} > 0 ? :
170 0 0 defined $res && $res ne '' ? :
202 0 0 if ($self->is_submitted and $$self{'check_error'})
204 0 0 if defined $check and ref $check ne 'ARRAY' and $check ne ''
205 0 0 if (ref $check eq 'ARRAY' and @{$check;})
210 0 0 if ($caller eq '#error_in' and ref $value eq 'ARRAY') { }
0 0 elsif ($caller eq '#error_check') { }
211 0 0 if (ref $$self{'_handle_error'} ne 'HASH')
222 0 0 if ref $value ne 'ARRAY'
224 0 0 if (grep {$optval eq $_;} @$value) { }
232 0 0 unless ($nocheck)
236 0 0 if (ref $chk ne 'CODE')
238 0 0 if (ref $chk eq 'ARRAY') { }
242 0 0 if @{$chk;} >= 3
251 0 0 if (ref $chk eq 'CODE')
253 0 0 if ($_ = &$chk($value, $self, @args))
304 0 0 if $_ ne ''
335 0 0 unless $label
340 0 0 unless defined $accesskey
359 0 0 if defined $value
378 0 0 unless $readonlyvar
379 0 0 if $self->_get_var($readonlyvar, 1)
396 0 0 unless $multiplevar
397 0 0 if $self->_get_var($multiplevar, 1)
431 0 0 unless $perline
434 0 0 unless ref $value eq 'ARRAY'
437 0 0 ref $option eq 'ARRAY' ? :
440 0 0 ref $optval eq 'ARRAY' ? :
452 0 0 if (defined $option{$_})
457 0 0 unless ($i % $perline)
471 0 0 if @optcache
472 0 0 if @valcache
531 0 0 unless $$self{'seperate'}
534 0 0 if (ref $$self{'_handle_seperate'} ne 'ARRAY')
541 0 0 if ($clear or defined $old and $old ne $name)
542 0 0 defined $old ? :
544 0 0 defined $attach ? :
0 0 unless $caller eq '#seperate_conly'
551 0 0 $clear ? :
569 0 0 unless defined $var
601 0 0 if (defined $val)
631 0 0 unless defined $err
632 0 0 unless ref $err eq 'ARRAY'
633 0 0 if defined $_
0 0 if grep {$_ eq 'not_null' if defined $_;} @$err
654 0 0 unless defined $var
677 0 0 if (ref $$self{'_handle_default'}[$_] eq 'ARRAY') { }
685 0 0 if defined $res