Condition Coverage

blib/lib/Data/ZPath/_Lexer.pm
Criterion Covered Total %
condition 67 79 84.8


and 3 conditions

line !l l&&!r l&&r condition
40 316 1042 105 defined $c && $c =~ /\s/
70 529 15 42 _is_ws($left) && _is_ws($right)
128 1584 410 5 $ch eq "/" and &$ws_on_both($prev, $next)
1994 0 5 $ch eq "/" and &$ws_on_both($prev, $next) and defined $prev_nonws
410 0 5 $ch eq "/" and &$ws_on_both($prev, $next) and defined $prev_nonws and defined $next_nonws
0 0 5 $ch eq "/" and &$ws_on_both($prev, $next) and defined $prev_nonws and defined $next_nonws and not $prev_nonws =~ m<[\[\(,:?/]>
0 0 5 $ch eq "/" and &$ws_on_both($prev, $next) and defined $prev_nonws and defined $next_nonws and not $prev_nonws =~ m<[\[\(,:?/]> and not $next_nonws =~ m<[\]\),:?/]>
137 1584 404 6 $ch eq "/" and _is_ws($prev) ^^ _is_ws($next)
1988 1 5 $ch eq "/" and _is_ws($prev) ^^ _is_ws($next) and defined $prev_nonws
405 1 4 $ch eq "/" and _is_ws($prev) ^^ _is_ws($next) and defined $prev_nonws and defined $next_nonws
2 1 3 $ch eq "/" and _is_ws($prev) ^^ _is_ws($next) and defined $prev_nonws and defined $next_nonws and not $prev_nonws =~ m<[\[\(,:?/]>
2 0 3 $ch eq "/" and _is_ws($prev) ^^ _is_ws($next) and defined $prev_nonws and defined $next_nonws and not $prev_nonws =~ m<[\[\(,:?/]> and not $next_nonws =~ m<[\]\),:?/]>
152 10 15 6 $i + 2 < $n and $c[$i + 1] eq "."
25 4 2 $i + 2 < $n and $c[$i + 1] eq "." and $c[$i + 2] eq "*"
157 3 15 11 $i + 1 < $n and $c[$i + 1] eq "."
167 931 132 10 $ch eq "*" and &$ws_on_both($prev, $next)
174 11 36 85 $i + 1 < $n and $c[$i + 1] eq "*"
218 0 0 7 $j < $n and $c[$j] =~ /\d/
220 3 4 7 $j < $n and $c[$j] =~ /\d/
229 82 91 231 $j < $n and $c[$j] =~ /[0-9.]/
236 0 0 592 defined $name->{'v'} and length $name->{'v'}

or 3 conditions

line l !l&&r !l&&!r condition
111 10 2 10 $ch eq "+" or $ch eq "-"
12 3 7 $ch eq "+" or $ch eq "-" or $ch eq "%"
187 7 7 909 $ch eq "?" or $ch eq ":"
196 104 33 772 $ch eq "\"" or $ch eq "'"

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
137 0 3 3 404 _is_ws($prev) ^^ _is_ws($next)