Condition Coverage

blib/lib/JSON/Path/Evaluator.pm
Criterion Covered Total %
condition 27 51 52.9


and 3 conditions

line !l l&&!r l&&r condition
436 82 0 0 &looks_like_number($index) and exists $obj->[$index]
623 49 8 79 &looks_like_number($lhs) && &looks_like_number($rhs)

or 2 conditions

line l !l condition
65 0 114 $args{'want_ref'} || 0
66 114 0 $args{'_calling_context'} || 0
70 31 83 $script_engine || 'PseudoJS'
88 32 82 delete $args{'want_ref'} || 0
89 11 103 delete $args{'want_path'} || 0
372 0 0 $substream[0] // 0
373 0 0 $substream[2] // -1
374 0 0 $substream[4] // 1
567 84 4 $rhs || ''

or 3 conditions

line l !l&&r !l&&!r condition
256 0 0 0 _hashlike($object) || _arraylike($object)
326 774 0 249 ref $object eq 'HASH' || &blessed($object) && $object->can('typeof') && $object->typeof eq 'HASH'
331 162 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 ''
625 4 27 105 $operator eq '=' or $operator eq '=='
31 0 105 $operator eq '=' or $operator eq '==' or $operator eq '==='
640 0 0 0 $operator eq '!=' or $operator eq '!=='