Condition Coverage

blib/lib/JIP/DataPath.pm
Criterion Covered Total %
condition 21 41 51.2


and 3 conditions

line !l l&&!r l&&r condition
70 2 0 8 $type eq "HASH" and length $last_part
0 0 2 $type eq "ARRAY" and $last_part =~ /^\d+$/x
94 0 0 1 $type eq "HASH" and length $last_part
0 0 0 $type eq "ARRAY" and $last_part =~ /^\d+$/x
127 1 0 4 $type eq "HASH" and length $last_part
0 0 1 $type eq "ARRAY" and $last_part =~ /^\d+$/x
164 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

or 2 conditions

line l !l condition
67 10 0 $path_parts->[-1] // ""
68 10 0 ref $context // ""
91 1 0 $path_parts->[-1] // ""
92 1 0 ref $context // ""
124 5 0 $path_parts->[-1] // ""
125 5 0 ref $context // ""
161 80 0 ref $context // ""