Branch Coverage

blib/lib/HTML/FormFu/ObjectUtil.pm
Criterion Covered Total %
branch 47 62 75.8


line true false branch
59 1 140 if (scalar @filenames == 1 and ref $filenames[0] eq 'ARRAY')
66 2 139 if (defined $config_callback)
71 1 140 $use_stems ? :
72 1 140 $use_stems ? :
76 4 137 if (my $config_file_path = $self->config_file_path) { }
78 3 1 if (ref $config_file_path eq 'ARRAY') { }
95 149 0 if (defined $config_file_path and not 'File::Spec'->file_name_is_absolute($file)) { }
110 8 141 unless @$config
118 1 141 unless $loaded
127 2 139 if (defined $data_visitor)
131 1 140 ref $data eq 'ARRAY' ? :
160 2 0 if ($self->can('_plugins'))
165 2 0 ref $self->languages ? :
181 0 111 if @_
189 0 1187 if @_
197 0 0 if @_
205 1616 3509 unless exists $self->{'stash'}
206 1819 3306 unless @_
208 3306 0 @_ == 1 ? :
238 1 2 if (&blessed($source))
248 2 7 unless defined $self->get_field($col)
250 0 7 unless defined $info->{'data_type'}
254 3 4 if ($type =~ /(char|text|binary)\z/ and defined $info->{'size'}) { }
2 2 elsif ($type =~ /int/) { }
2 0 elsif ($type =~ /enum|set/ and defined $info->{'extra'}{'list'}) { }
262 2 0 if ($info->{'extra'}{'unsigned'})
314 2468 14002 if (@_)
328 1 69 unless @_
338 67 68 if ($parent->can($name) and defined($value = $parent->$name) and $value eq $args{$name})
355 0 0 &blessed($b) ? :
363 0 0 &blessed($b) ? :