Condition Coverage

blib/lib/JQ/Lite/Expression.pm
Criterion Covered Total %
condition 14 28 50.0


and 3 conditions

line !l l&&!r l&&r condition
160 0 200 42 $depth == 0 and $char =~ m[[+\-*/%(),\s]]
203 0 0 1 defined $decoded and not $@
266 67 0 1 $next->{'type'} eq "LPAREN" and _is_callable($lhs)
336 1 6 0 $token->{'type'} eq "OP" and $token->{'value'} eq "-"

or 2 conditions

line l !l condition
19 62 0 $opts{'coerce_number'} || \&JQ::Lite::Expression::_default_coerce_number
20 62 0 $opts{'builtins'} || {}
288 21 0 $LBP{$op} || 0
358 99 0 $state->{'tokens'}[$state->{'pos'}] // {"type", "EOF", "value", undef}
443 0 0 $label ||= "value"

or 3 conditions

line l !l&&r !l&&!r condition
18 62 0 0 $opts{'resolve_path'} || sub { return undef; }
102 0 6 46 not defined $path or $path eq ""