Condition Coverage

blib/lib/Data/DynamicValidator.pm
Criterion Covered Total %
condition 29 41 70.7


and 3 conditions

line !l l&&!r l&&r condition
60 0 0 41 $on and $should
0 0 41 $on and $should and $because
76 0 3 3 $error_routes && @$error_routes == 1
83 6 24 11 not @$errors and $each
137 19 18 9 $current_base && !($selector =~ m[^/{2,}])
227 95 234 0 $type eq 'HASH' and exists $current->{$element}
7 0 94 $type eq 'ARRAY' and &looks_like_number($element)
7 94 0 $type eq 'ARRAY' and &looks_like_number($element) and $element >= 0 && $element < @$current || $element < 0 && abs $element <= @$current
293 384 0 20 @parts == 3 and defined $parts[2]
315 5 4 45 $values && @$values && &$should(@$values)

or 2 conditions

line l !l condition
28 0 9 $ENV{'DATA_DYNAMICVALIDATOR_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
94 6 1 0 $path //= $self->{'_current_path'}
227 90 0 4 $element >= 0 && $element < @$current || $element < 0 && abs $element <= @$current
280 99 3 85 defined $current || $can_be_accessed && $i == @$elements