| blib/lib/JSON/Pointer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 26 | 76.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 57 | 8 | 4 | 44 | is_array_numeric_index($token) and $token <= $max_index |
| 150 | 2 | 17 | 2 | not $context->result and @{$context->processed_tokens;} < @{$context->tokens;} - 1 |
| 312 | 4 | 1 | 12 | _is_iv_or_nv($target) and _is_iv_or_nv($value) |
| 1 | 0 | 4 | _is_pv($target) and _is_pv($value) | |
| 313 | 0 | 0 | 0 | &JSON::is_bool($value) && $target == $value |
| 349 | 5 | 0 | 25 | $flags & 12288 && !($flags & 16384) |
| 355 | 1 | 0 | 8 | !($flags & 12288) && $flags & 16384 |
| line | l | !l | condition |
|---|---|---|---|
| 104 | 5 | 7 | $relative_pointer_suffix ||= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 308 | 3 | 1 | 18 | $target_type eq 'HASH' or $target_type eq 'ARRAY' |