line |
true |
false |
branch |
49
|
3 |
266 |
if ($filter =~ /$PIPE/) { } |
|
6 |
260 |
elsif ($filter =~ /^{/) { } |
|
1 |
259 |
elsif ($filter =~ /^\[/) { } |
|
2 |
257 |
elsif ($filter =~ /,/) { } |
|
28 |
229 |
elsif ($filter =~ /^($FUNC_NAME)(?:\(\s*($EXPR)\s*\))?$/) { } |
|
170 |
59 |
elsif ($filter =~ /^($FILTER)$/) { } |
|
54 |
5 |
elsif ($filter =~ /^($FILTER)\s+($OP)\s+($FILTER)$/) { } |
|
5 |
0 |
elsif ($filter =~ /^if\s+(?$EXPR)\s+then\s+(?$FILTER)(?:\s+else\s+(?$FILTER))?$/) { } |
90
|
2 |
26 |
if ($func eq 'empty') { } |
|
2 |
24 |
elsif ($func eq 'select' or $func eq 'grep') { } |
|
9 |
15 |
elsif ($func eq 'group_by') { } |
|
3 |
12 |
elsif ($func eq 'sort') { } |
|
5 |
7 |
elsif ($func eq 'keys') { } |
|
7 |
0 |
elsif ($func eq 'length') { } |
91
|
0 |
2 |
if ($expr) |
97
|
0 |
2 |
unless ($expr) |
101
|
2 |
0 |
$class->filter($expr, $doc) ? : |
117
|
4 |
1 |
if (ref $value eq 'HASH') { } |
|
1 |
0 |
elsif (ref $value eq 'ARRAY') { } |
131
|
3 |
4 |
if (ref $value eq 'HASH') { } |
|
1 |
3 |
elsif (ref $value eq 'ARRAY') { } |
|
3 |
0 |
elsif (not ref $value) { } |
149
|
7 |
163 |
if ($filter =~ /^(['"])(.+)(\1)$/) { } |
|
3 |
160 |
elsif ($filter =~ /^$EVAL_NUMS$/) { } |
|
35 |
125 |
elsif (not $filter =~ /^[.]/) { } |
166
|
1 |
127 |
if ($key =~ /^\[\]$/) { } |
|
5 |
122 |
elsif ($key =~ /^\[(\d+)\]$/) { } |
|
122 |
0 |
elsif ($key =~ /^\w+$/) { } |
189
|
11 |
43 |
if ($cond eq 'eq') { } |
|
4 |
39 |
elsif ($cond eq 'ne') { } |
|
11 |
28 |
elsif ($cond eq '==') { } |
|
4 |
24 |
elsif ($cond eq '!=') { } |
|
6 |
18 |
elsif ($cond eq '>') { } |
|
6 |
12 |
elsif ($cond eq '>=') { } |
|
6 |
6 |
elsif ($cond eq '<') { } |
|
6 |
0 |
elsif ($cond eq '<=') { } |
190
|
7 |
4 |
defined $lhs_value == defined $rhs_value && $lhs_value eq $rhs_value ? : |
194
|
2 |
2 |
defined $lhs_value != defined $rhs_value || $lhs_value ne $rhs_value ? : |
198
|
9 |
2 |
defined $lhs_value == defined $rhs_value && $lhs_value == $rhs_value ? : |
202
|
2 |
2 |
defined $lhs_value != defined $rhs_value || $lhs_value != $rhs_value ? : |
208
|
2 |
4 |
$lhs_value > $rhs_value ? : |
211
|
4 |
2 |
$lhs_value >= $rhs_value ? : |
214
|
2 |
4 |
$lhs_value < $rhs_value ? : |
217
|
4 |
2 |
$lhs_value <= $rhs_value ? : |
226
|
3 |
2 |
if ($expr_value) { } |
230
|
2 |
0 |
$false_filter ? : |