blib/lib/JIP/DataPath.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 41 | 51.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 2 | 0 | 8 | $type eq 'HASH' and length $last_part |
0 | 0 | 2 | $type eq 'ARRAY' and $last_part =~ /^\d+$/x | |
80 | 0 | 0 | 1 | $type eq 'HASH' and length $last_part |
0 | 0 | 0 | $type eq 'ARRAY' and $last_part =~ /^\d+$/x | |
113 | 1 | 0 | 4 | $type eq 'HASH' and length $last_part |
0 | 0 | 1 | $type eq 'ARRAY' and $last_part =~ /^\d+$/x | |
150 | 25 | 6 | 49 | $type eq 'HASH' and exists $context->{$part} |
16 | 0 | 15 | $type eq 'ARRAY' and $part =~ /^\d+$/x | |
16 | 0 | 15 | $type eq 'ARRAY' and $part =~ /^\d+$/x and @{$context;} > $part |
line | l | !l | condition |
---|---|---|---|
53 | 10 | 0 | $path_parts->[-1] // '' |
54 | 10 | 0 | ref $context // '' |
77 | 1 | 0 | $path_parts->[-1] // '' |
78 | 1 | 0 | ref $context // '' |
110 | 5 | 0 | $path_parts->[-1] // '' |
111 | 5 | 0 | ref $context // '' |
147 | 80 | 0 | ref $context // '' |