Branch Coverage

blib/lib/Form/Tiny/Meta.pm
Criterion Covered Total %
branch 49 56 87.5


line true false branch
97 66 0 if (not $package->can("form_meta"))
114 3 61 if (defined $message)
129 0 2 if $hook->is_modifying
149 65 198 if $hook->is_modifying
166 0 117 if $self->complete
169 63 54 if ($self->has_package) { }
180 0 63 if @real_parents > 1
186 5 58 $parent ? :
187 5 58 if $parent
211 215 6 unless $self->is_dynamic
213 0 6 unless defined &blessed($object)
218 6 5 $_->isa('Form::Tiny::FieldDefinitionBuilder') ? :
230 0 292 unless scalar @parameters
234 240 52 if (ref $scalar_param eq "")
241 5 280 if $builder->isa("Form::Tiny::FieldDefinitionBuilder")
247 70 215 if $self->is_dynamic or @{$builder->get_name_path->path;} > 1
266 41 26 if (defined &blessed($hook) and $hook->isa('Form::Tiny::Hook')) { }
287 1 3 unless not $err and $isa
298 5 112 if (defined $parent)
304 39 78 if @{$self->meta_roles;}
308 63 54 if $self->has_package and @{$self->form_roles;}
317 0 5 unless defined &blessed($parent) and $parent->isa("Form::Tiny::Meta")
358 4 169 if ($def->is_subform and $recurse)
369 2 25 if $self->is_dynamic and not $context
374 23 2 $context ? :
381 35 239 $meta[$_] eq 'ARRAY' ? :
401 25 3 if @args and has_form_meta($args[0])
404 24 4 if ($self->is_dynamic or @args) { }