Condition Coverage

blib/lib/JSON/Path/Evaluator.pm
Criterion Covered Total %
condition 32 58 55.1


and 3 conditions

line !l l&&!r l&&r condition
434 82 0 0 &looks_like_number($index) and exists $obj->[$index]
625 138 8 105 &looks_like_number($lhs) && &looks_like_number($rhs)

or 2 conditions

line l !l condition
62 0 147 $args{'want_ref'} || 0
63 147 0 $args{'_calling_context'} || 0
67 32 115 $script_engine || 'PseudoJS'
84 32 115 delete $args{'want_ref'} || 0
85 12 135 delete $args{'want_path'} || 0
127 70 12 $base_path //= "\$"
162 784 0 $token_stream //= []
370 0 0 $substream[0] // 0
371 0 0 $substream[2] // -1
372 0 0 $substream[4] // 1
569 129 4 $rhs || ''

or 3 conditions

line l !l&&r !l&&!r condition
128 82 0 0 $json_object //= $self->root
254 0 0 0 _hashlike($object) || _arraylike($object)
324 1034 0 332 ref $object eq 'HASH' || builtin::blessed($object) && $object->can('typeof') && $object->typeof eq 'HASH'
329 186 0 276 ref $object eq 'ARRAY' || builtin::blessed($object) && $object->can('typeof') && $object->typeof eq 'ARRAY'
394 0 0 9 not defined $start or $start eq ""
397 0 6 3 not defined $end or $end eq ""
400 9 0 0 not defined $step or $step eq ""
627 4 62 185 $operator eq "=" or $operator eq "=="
66 0 185 $operator eq "=" or $operator eq "==" or $operator eq "==="
642 0 0 54 $operator eq "!=" or $operator eq "!=="