Branch Coverage

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


line true false branch
97 68 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 119 if $self->complete
169 65 54 if ($self->has_package) { }
180 0 65 if @real_parents > 1
186 5 60 $parent ? :
187 5 60 if $parent
211 220 6 unless $self->is_dynamic
213 0 6 unless defined &blessed($object)
218 6 5 $_->isa('Form::Tiny::FieldDefinitionBuilder') ? :
230 0 295 unless scalar @parameters
234 243 52 if (ref $scalar_param eq "")
241 5 283 if $builder->isa("Form::Tiny::FieldDefinitionBuilder")
247 72 216 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 114 if (defined $parent)
304 39 80 if @{$self->meta_roles;}
308 65 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->[$_] ? :
396 25 3 if @args and has_form_meta($args[0])
399 24 4 if ($self->is_dynamic or @args) { }