Condition Coverage

blib/lib/Form/Tiny/Form.pm
Criterion Covered Total %
condition 22 25 88.0


and 3 conditions

line !l l&&!r l&&r condition
127 2 0 160 $self->_ft_mangle_field($validator, \$path_value->[1]) && $all_ok
156 4 112 6 $raise and not defined $def
172 306 21 0 $hooks{'reformat'} && try(sub { $fields = $hooks{'reformat'}->($self, $fields); } )
0 9 318 not $hooks{'reformat'} && try(sub { $fields = $hooks{'reformat'}->($self, $fields); } ) and ref $fields eq "HASH"
193 229 40 58 $hooks{'cleanup'} and not $self->has_errors

or 2 conditions

line l !l condition
66 307 18 $current // ""
261 3 3 $error->field // ""

or 3 conditions

line l !l&&r !l&&!r condition
66 33 294 31 ref $current or length($current // "")
327 25 6 ref $current or length($current // "") or not $def->hard_required