blib/lib/Data/DynamicValidator/Path.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
39 | 40 | 249 | if (@parts > 1) |
52 | 28 | 562 | m[/] ? : |
65 | 0 | 6 | unless exists $$self{'_labels'}{$label} |
72 | 0 | 38 | unless exists $$self{'_labels'}{$label} |
85 | 11 | 9 | if $idx <= $index and $name ne '_' |
96 | 0 | 95 | unless exists $$self{'_labels'}{$label} |
102 | 147 | 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) { } |