| blib/lib/Struct/Path/JsonPointer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 21 | 95.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 83 | 1 | 1 | 1 | &looks_like_number($step->[0]) and int $step->[0] == $step->[0] |
| 93 | 1 | 1 | 8 | keys %{$step;} == 1 and exists $step->{'K'} |
| 140 | 1 | 6 | 1 | $last and $_{'opts'}{'insert'} |
| 145 | 1 | 6 | 1 | $last and $_{'opts'}{'delete'} |
| 166 | 29 | 0 | 1 | shift @steps and substr($_[0], 0, 1) ne '/' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 149 | 7 | 1 | 2 | exists $_->{$step} or $_{'opts'}{'expand'} |
| 172 | 17 | 5 | 17 | &looks_like_number($_) or $_ eq '-' |