| line |
!l |
l&&!r |
l&&r |
condition |
|
54
|
823 |
10 |
1 |
not defined $value and defined $value_re |
|
55
|
10 |
30 |
793 |
defined $value && defined $value_re |
|
66
|
1346 |
768 |
2500 |
@$selectors and ref $selectors->[-1] |
|
114
|
1651 |
1 |
69 |
(my $name = $1) =~ s/^([^|]*)\|//u && $1 ne '*' |
|
188
|
212 |
52 |
10 |
$pc->[1] eq 'has' || $pc->[1] eq 'is' || $pc->[1] eq 'not' and grep {_is_scoped($_);} @{$$pc[2];} |
|
206
|
0 |
107 |
68 |
ref $compound and _selector($compound, $current, $tree, $scope) |
|
268
|
0 |
44 |
10 |
$current->[3] && $current->[3][0] eq 'root' |
|
276
|
0 |
18 |
21 |
$current->[0] eq "tag" and exists $current->[2]{'href'} |
|
300
|
301 |
156 |
189 |
$args->[0] != 0 && $delta < 0 == $args->[0] < 0 && $delta % $args->[0] == 0 |
|
343
|
1227 |
4229 |
10731 |
$is_tag and $type eq "tag" |
|
|
1227 |
1884 |
2345 |
$is_tag and $type eq "attr" |
|
344
|
891 |
3024 |
6816 |
defined $s->[1] and not $current->[1] =~ /$s->[1]/u |
|
345
|
3834 |
61 |
20 |
defined $s->[2] and not _namespace($s->[2], $current) |
|
375
|
0 |
0 |
8 |
$node ne $scope and $node->[0] ne "root" |
|
|
0 |
0 |
8 |
$node ne $scope and $node->[0] ne "root" and $node = $node->[3] |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
54
|
1093 |
1 |
833 |
not $name =~ /$name_re/u or not defined $value and defined $value_re |
|
55
|
40 |
449 |
344 |
not defined $value && defined $value_re or $value =~ /$value_re/u |
|
91
|
112 |
1 |
172 |
$3 // $4 |
|
|
1 |
96 |
60 |
($3 // $4) // $5 |
|
101
|
6 |
5 |
291 |
$name eq "has" or $name eq "is" |
|
|
11 |
44 |
247 |
$name eq "has" or $name eq "is" or $name eq "not" |
|
188
|
15 |
47 |
212 |
$pc->[1] eq 'has' || $pc->[1] eq 'is' || $pc->[1] eq 'not' |
|
253
|
22 |
38 |
145 |
exists $current->[2]{'checked'} || exists $current->[2]{'selected'} |
|
265
|
3 |
3 |
77 |
$_->[0] eq 'comment' || $_->[0] eq 'pi' |
|
271
|
177 |
0 |
80 |
$_->[0] eq "text" or $_->[0] eq "raw" |
|
275
|
13 |
13 |
810 |
$class eq "any-link" or $class eq "link" |
|
|
26 |
13 |
797 |
$class eq "any-link" or $class eq "link" or $class eq "visited" |
|
281
|
20 |
6 |
771 |
$class eq "only-child" or $class eq "only-of-type" |
|
289
|
27 |
41 |
695 |
$class eq 'nth-of-type' || $class eq 'nth-last-of-type' |
|
295
|
192 |
41 |
530 |
$class eq "nth-last-child" or $class eq "nth-last-of-type" |
|
373
|
0 |
8 |
0 |
$combinator eq " " or $combinator eq ">" |
|
377
|
8 |
0 |
0 |
$combinator eq ">" or $node eq $scope |
|
389
|
0 |
0 |
0 |
$prev[-1] || () |
|
408
|
46 |
0 |
4 |
$next[0] || () |