Branch Coverage

blib/lib/Mojolicious/Plugin/Form/Base.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
29 0 0 if ($el =~ s/^\+//)
35 0 0 if (ref $elems[0])
39 0 0 unless exists $$elements{$el}
51 0 0 unless $self->order_by
64 0 0 unless $self->id_field
65 0 0 unless $self->name_field
69 0 0 if $self->form_debug
74 0 0 if $relationship
80 0 0 if $relationship
83 0 0 unless $self->elements
84 0 0 unless $self->ordered_elements
89 0 0 if (my $rel_element = $self->exchanges_field($rel_elements, $column)) { }
94 0 0 $$columns_info{$column}{'is_nullable'} ? :
101 0 0 if (exists $$columns_info{$column}{'default_value'} and $$columns_info{$column}{'default_value'})
106 0 0 if ($column eq $self->id_field)
117 0 0 if $self->form_debug
118 0 0 if $self->form_debug
125 0 0 if (exists $$rel_elements{$rel_element}{'exchanges_field'} and $$rel_elements{$rel_element}{'exchanges_field'} eq $column)
136 0 0 unless $source
145 0 0 unless $$rel_info{'attrs'}{'accessor'} eq 'single'
180 0 0 unless $source
189 0 0 unless $$rel_info{'attrs'}{'accessor'} eq 'multi'
224 0 0 unless $source
236 0 0 if scalar @source_ids
237 0 0 if scalar @columns
242 0 0 unless $source
251 0 0 unless scalar @source_ids >= 2
273 0 0 $$data2elem{$data_type} ? :