| line |
true |
false |
branch |
|
34
|
1 |
1 |
if ($dir ne 'up') |
|
39
|
1 |
1 |
if ($dir eq 'up') { } |
|
45
|
0 |
2 |
unless $found->size |
|
52
|
0 |
2 |
if (@selectors == 1) |
|
57
|
1 |
1 |
if ($dir eq 'up') { } |
|
84
|
2 |
3 |
if (ref $_[1] and ref $_[2]) { } |
|
90
|
1 |
2 |
if (not $_[1] || $_[2]) { } |
|
|
2 |
0 |
elsif ($_[1] and not ref $_[1] and not $_[2]) { } |
|
106
|
4 |
8 |
if not $seg2 or $seg ne $seg2 |
|
130
|
0 |
47 |
unless $p2 |
|
131
|
32 |
15 |
if ($p1 eq $p2) |
|
140
|
0 |
0 |
if $t1_len == $t2_len |
|
141
|
0 |
0 |
$t1_len < $t2_len ? : |
|
166
|
5 |
9 |
if $depth > $deepest_depth |
|
183
|
208 |
58 |
$sel2 =~ /^\Q$sel1\E/ ? : |
|
188
|
2 |
14 |
if (not $_[2]) { } |
|
191
|
0 |
2 |
if (ref $_[0]) { } |
|
208
|
0 |
4 |
unless $selector |
|
215
|
17 |
6 |
if $sn->{'all_tags_have_same_depth'} or $sn->{'top_level'} |
|
226
|
4 |
19 |
unless ($last_node) |
|
231
|
9 |
10 |
if ($s->at($last_node->{'selector'})->is_ancestor_to($s->at($sen->{'selector'}))) { } |
|
232
|
6 |
3 |
if ($last_node->{'size'} != $sen->{'size'} or $last_node->{'direct_children'} != $sen->{'direct_children'}) |
|
255
|
4 |
6 |
if ($top_level) |
|
271
|
5 |
53 |
if $c->tag eq $selector |
|
273
|
34 |
19 |
unless $size |
|
302
|
73 |
183 |
if ($t->attr('class')) |
|
313
|
50 |
206 |
if ($depth_tracker and $depth != $depth_tracker) |