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 268 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)
203 68 279 5 @errors == 0 and my $validators = $self->addons->{'validators'}
214 65 0 7 ref $error eq "ARRAY" and $self->is_subform
217 0 0 7 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'