Branch Coverage

blib/lib/Gantry/Plugins/AutoCRUD.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
39 0 0 $$self{'__PID__'} ? :
47 0 0 if ($action eq 'add_another')
49 0 0 $$self{'__PID__'} ? :
55 0 0 $$self{'__PID__'} ? :
73 0 0 if ($$params{'cancel'})
84 0 0 unless ($form)
90 0 0 unless $form
99 0 0 if keys %{$params;} == 0
106 0 0 unless $self->is_post
107 0 0 if $results->has_invalid
108 0 0 if $results->has_missing
113 0 0 if (defined $permissions)
123 0 0 if ($show_form) { }
129 0 0 if ($self->method eq 'POST')
142 0 0 if ($self->can('add_pre_action'))
151 0 0 if ($self->can('add_post_action'))
157 0 0 if ($submit_add_another) { }
180 0 0 if ($params{'cancel'})
193 0 0 unless $self->is_post
194 0 0 if keys %params == 0
203 0 0 unless ($form)
209 0 0 unless $form
219 0 0 if $results->has_invalid
220 0 0 if $results->has_missing
225 0 0 if (defined $permissions)
237 0 0 if ($show_form) { }
242 0 0 if ($self->method eq 'POST')
256 0 0 if ($self->can('edit_pre_action'))
264 0 0 if ($self->can('edit_post_action'))
270 0 0 if ($submit_add_another) { }
288 0 0 if ($pid =~ /yes|no/) { }
299 0 0 if ($self->params->{'cancel'})
311 0 0 if (defined $permissions)
321 0 0 if (defined $yes and $yes eq 'yes') { }
324 0 0 if ($self->can('delete_pre_action'))
332 0 0 if ($self->can('delete_post_action'))
355 0 0 if ($gantry_site->can('get_orm_helper')) { }
377 0 0 if ($self->can('get_relocation')) { }
382 0 0 if ($self->can('get_submit_loc')) { }
399 0 0 if ($self->can('get_relocation')) { }
404 0 0 if ($self->can('get_cancel_loc')) { }