Branch Coverage

blib/lib/Data/DynamicValidator/Path.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
36 40 253 if (@parts > 1)
50 28 575 m[/] ? :
63 0 6 unless exists $self->{'_labels'}{$label}
70 0 38 unless exists $self->{'_labels'}{$label}
82 11 9 if $idx <= $index and $name ne '_'
94 0 98 unless exists $self->{'_labels'}{$label}
99 150 74 if (ref $value and ref $value eq 'HASH' and exists $value->{$element}) { }
74 0 elsif (ref $value and ref $value eq 'ARRAY' and &looks_like_number($element) and $element < @$value) { }