Condition Coverage

blib/lib/JSON/Path/Tokenizer.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
111 1853 2 76 $chars->[0] eq $JSON::Path::Tokenizer::RIGHT_PARENTHESIS and not $in_quote
1855 4 72 $chars->[0] eq $JSON::Path::Tokenizer::RIGHT_PARENTHESIS and not $in_quote and not $in_regex
127 24 0 24 $in_quote and $in_quote eq $char
137 4059 0 2 $char eq $ESCAPE_CHAR and not $in_quote

or 3 conditions

line l !l&&r !l&&!r condition
39 1 71 1614 $token eq $JSON::Path::Tokenizer::TOKEN_SCRIPT_OPEN or $token eq $JSON::Path::Tokenizer::TOKEN_FILTER_OPEN
77 3 0 0 $escaped_chars{$char} || $char
125 48 0 4061 $char eq $JSON::Path::Tokenizer::APOSTROPHE or $char eq $JSON::Path::Tokenizer::QUOTATION_MARK