Condition Coverage

blib/lib/JQ/Lite/Parser.pm
Criterion Covered Total %
condition 19 33 57.5


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 2 defined $decoded and not $@
67 0 0 4 defined $inner and length $inner
0 1 3 defined $inner and length $inner and $inner ne $trimmed
206 3 0 33 defined $lhs and defined $rhs
217 0 0 3 not defined $lhs and $trimmed =~ /^[A-Za-z_][A-Za-z0-9_]*$/
222 0 0 0 defined $lhs and not defined $rhs

or 3 conditions

line l !l&&r !l&&!r condition
28 9 29 502 $rest =~ m[^\s*[+\-*/%]] or $rest =~ m[[+\-*/%]]
38 11 491 $rest =~ m[^\s*[+\-*/%]] or $rest =~ m[[+\-*/%]] or $rest =~ /(?:==|!=|>=|<=|>|<|\band\b|\bor\b)/i
40 0 491 $rest =~ m[^\s*[+\-*/%]] or $rest =~ m[[+\-*/%]] or $rest =~ /(?:==|!=|>=|<=|>|<|\band\b|\bor\b)/i or $rest =~ /\b(?:floor|ceil|round|tonumber)\b/
112 0 4 230 $char eq "'" or $char eq "\""
165 0 37 329 $char eq "'" or $char eq "\""