Condition Coverage

blib/lib/Form/Tiny/FieldDefinition.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
101 265 12 16 $self->coerce and ref $self->coerce ne "CODE"
105 0 0 15 $t->can("coerce") and $t->can("has_coercion")
0 1 14 $t->can("coerce") and $t->can("has_coercion") and $t->has_coercion
1 1 14 $self->has_type and ($t->can("coerce") and $t->can("has_coercion") and $t->has_coercion)
204 66 273 5 @errors == 0 and my $validators = $self->addons->{'validators'}
215 64 0 6 ref $error eq "ARRAY" and $self->is_subform
217 0 0 6 defined &blessed($exception) and $exception->isa("Form::Tiny::Error")

or 3 conditions

line l !l&&r !l&&!r condition
121 4 2 25 $self->required eq '1' || $self->required eq 'hard'