line |
true |
false |
branch |
64
|
11 |
316 |
if ($filter =~ /$PIPE/) { } |
|
6 |
310 |
elsif ($filter =~ /^{/) { } |
|
1 |
309 |
elsif ($filter =~ /^\[/) { } |
|
1 |
308 |
elsif ($filter =~ /,/) { } |
|
43 |
265 |
elsif ($filter =~ /^((?&FUNC_NAME))(?:\(\s*((?&EXPR))\s*\))?$GRAMMAR$/) { } |
|
194 |
71 |
elsif ($filter =~ /^((?&FILTER))$GRAMMAR$/) { } |
|
68 |
3 |
elsif ($filter =~ /^((?&FILTER)|(?&FUNC_NAME)(?:\(\s*(?&EXPR)\s*\))?)\s+((?&OP))\s+((?&EXPR))$GRAMMAR$/) { } |
|
3 |
0 |
elsif ($filter =~ /^if\s+(?$EXPR)\s+then\s+(?$FILTER)(?:\s+else\s+(?$FILTER))?$/) { } |
105
|
1 |
42 |
if ($func eq 'empty') { } |
|
8 |
34 |
elsif ($func eq 'select' or $func eq 'grep') { } |
|
6 |
28 |
elsif ($func eq 'group_by') { } |
|
3 |
25 |
elsif ($func eq 'sort') { } |
|
5 |
20 |
elsif ($func eq 'keys') { } |
|
7 |
13 |
elsif ($func eq 'each') { } |
|
13 |
0 |
elsif ($func eq 'length') { } |
106
|
0 |
1 |
if ($expr) |
112
|
0 |
8 |
unless ($expr) |
116
|
6 |
2 |
$class->filter($expr, $doc, $scope, $orig_doc) ? : |
132
|
4 |
1 |
if (ref $value eq 'HASH') { } |
|
1 |
0 |
elsif (ref $value eq 'ARRAY') { } |
146
|
6 |
1 |
if (ref $value eq 'HASH') { } |
|
1 |
0 |
elsif (ref $value eq 'ARRAY') { } |
160
|
3 |
10 |
if (ref $value eq 'HASH') { } |
|
7 |
3 |
elsif (ref $value eq 'ARRAY') { } |
|
3 |
0 |
elsif (not ref $value) { } |
178
|
9 |
185 |
if ($filter =~ /^(['"])(.+)(\1)$/) { } |
|
3 |
182 |
elsif ($filter =~ /^$EVAL_NUMS$/) { } |
|
43 |
139 |
elsif (not $filter =~ /^[\$.]/) { } |
193
|
2 |
137 |
if (&is_empty($doc)) |
198
|
2 |
135 |
$keys[0] && $keys[0] eq '$' ? : |
200
|
1 |
134 |
if ($key =~ /^\[\]$/) { } |
|
4 |
130 |
elsif ($key =~ /^\[(\d+)\]$/) { } |
|
130 |
0 |
elsif ($key =~ /^\w+$/) { } |
219
|
10 |
58 |
if ($cond eq '=') { } |
222
|
0 |
10 |
$keys[0] && $keys[0] eq '$' ? : |
224
|
0 |
10 |
if ($key =~ /^\[(\d+)\]$/) { } |
|
10 |
0 |
elsif ($key =~ /^\w+$/) { } |
246
|
9 |
49 |
if ($cond eq 'eq') { } |
|
4 |
45 |
elsif ($cond eq 'ne') { } |
|
14 |
31 |
elsif ($cond eq '==') { } |
|
4 |
27 |
elsif ($cond eq '!=') { } |
|
6 |
21 |
elsif ($cond eq '>') { } |
|
9 |
12 |
elsif ($cond eq '>=') { } |
|
6 |
6 |
elsif ($cond eq '<') { } |
|
6 |
0 |
elsif ($cond eq '<=') { } |
247
|
6 |
3 |
defined $lhs_value == defined $rhs_value && $lhs_value eq $rhs_value ? : |
251
|
2 |
2 |
defined $lhs_value != defined $rhs_value || $lhs_value ne $rhs_value ? : |
255
|
11 |
3 |
defined $lhs_value == defined $rhs_value && $lhs_value == $rhs_value ? : |
259
|
2 |
2 |
defined $lhs_value != defined $rhs_value || $lhs_value != $rhs_value ? : |
265
|
2 |
4 |
$lhs_value > $rhs_value ? : |
268
|
6 |
3 |
$lhs_value >= $rhs_value ? : |
271
|
2 |
4 |
$lhs_value < $rhs_value ? : |
274
|
4 |
2 |
$lhs_value <= $rhs_value ? : |
284
|
2 |
1 |
if ($expr_value) { } |
288
|
1 |
0 |
$false_filter ? : |