Condition Coverage

blib/lib/Data/DynamicValidator.pm
Criterion Covered Total %
condition 27 38 71.0


and 3 conditions

line !l l&&!r l&&r condition
63 0 40 0 $on and $should
0 40 0 $on and $should and $because
79 5 24 11 not @$errors and $each
133 18 18 9 $current_base && !($selector =~ m[^/{2,}])
223 95 6 225 $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
289 381 0 18 @parts == 3 and defined $parts[2]
311 5 3 44 $values && @$values && &$should(@$values)

or 2 conditions

line l !l condition
31 0 8 $ENV{'DATA_DYNAMICVALIDATOR_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
90 5 1 0 $path //= $$self{'_current_path'}
223 90 0 4 $element >= 0 && $element < @$current || $element < 0 && abs $element <= @$current
276 96 0 86 defined $current || $can_be_accessed && $i == @$elements