blib/lib/JSON/Path/Evaluator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 51 | 47.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
436 | 82 | 0 | 0 | &looks_like_number($index) and exists $obj->[$index] |
612 | 33 | 0 | 17 | &looks_like_number($lhs) && &looks_like_number($rhs) |
line | l | !l | condition |
---|---|---|---|
65 | 0 | 97 | $args{'want_ref'} || 0 |
66 | 97 | 0 | $args{'_calling_context'} || 0 |
70 | 31 | 66 | $script_engine || 'PseudoJS' |
88 | 32 | 65 | delete $args{'want_ref'} || 0 |
89 | 11 | 86 | delete $args{'want_path'} || 0 |
372 | 0 | 0 | $substream[0] // 0 |
373 | 0 | 0 | $substream[2] // -1 |
374 | 0 | 0 | $substream[4] // 1 |
556 | 45 | 0 | $rhs || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
256 | 0 | 0 | 0 | _hashlike($object) || _arraylike($object) |
326 | 653 | 0 | 188 | ref $object eq 'HASH' || &blessed($object) && $object->can('typeof') && $object->typeof eq 'HASH' |
331 | 119 | 0 | 272 | ref $object eq 'ARRAY' || &blessed($object) && $object->can('typeof') && $object->typeof eq 'ARRAY' |
396 | 0 | 0 | 9 | not defined $start or $start eq '' |
399 | 0 | 6 | 3 | not defined $end or $end eq '' |
402 | 9 | 0 | 0 | not defined $step or $step eq '' |
614 | 0 | 7 | 43 | $operator eq '=' or $operator eq '==' |
7 | 0 | 43 | $operator eq '=' or $operator eq '==' or $operator eq '===' | |
629 | 0 | 0 | 0 | $operator eq '!=' or $operator eq '!==' |