line |
true |
false |
branch |
45
|
0 |
0 |
unless @uniq and $_->isSameNode($uniq[-1]) |
46
|
0 |
0 |
if (@uniq != $nodes->size) |
61
|
0 |
0 |
if $use_distinct_hack |
84
|
0 |
0 |
if $s =~ m[^/] |
88
|
0 |
0 |
if &$lexer()->[0] ne '' |
90
|
0 |
0 |
if $xpath =~ /^\[/ |
101
|
0 |
0 |
if $type ne '*' and $type ne 'ID' and $type ne 'NSID' |
104
|
0 |
0 |
if $type eq 'NSID' |
105
|
0 |
0 |
if $type ne '*' |
115
|
0 |
0 |
if $$token[0] ne '[' |
117
|
0 |
0 |
if ($$token[0] eq 'ID' or $$token[0] eq 'NSID') { } |
125
|
0 |
0 |
if $$token[0] eq ']' |
126
|
0 |
0 |
unless $$token[0] eq 'CMP' |
129
|
0 |
0 |
unless $$token[0] eq 'STR' |
131
|
0 |
0 |
unless &$lexer()->[0] eq ']' |
133
|
0 |
0 |
if ($cmp eq '~=') { } |
|
0 |
0 |
elsif ($cmp eq '^=') { } |
|
0 |
0 |
elsif ($cmp eq '$=') { } |
|
0 |
0 |
elsif ($cmp eq '*=') { } |
|
0 |
0 |
elsif ($cmp eq '|=') { } |
164
|
0 |
0 |
unless $$token[0] eq 'ID' |
167
|
0 |
0 |
unless $$token[0] eq '(' |
169
|
0 |
0 |
if ($name eq 'not') { } |
|
0 |
0 |
elsif ($name eq 'nth-child') { } |
|
0 |
0 |
elsif ($name eq 'nth-last-child') { } |
|
0 |
0 |
elsif ($name eq 'nth-of-type') { } |
|
0 |
0 |
elsif ($name eq 'nth-last-of-type') { } |
|
0 |
0 |
elsif ($name eq 'first-of-type') { } |
|
0 |
0 |
elsif ($name eq 'last-of-type') { } |
|
0 |
0 |
elsif ($name eq 'only-of-type') { } |
175
|
0 |
0 |
unless $$token[0] eq 'NUM' |
180
|
0 |
0 |
unless $$token[0] eq 'NUM' |
185
|
0 |
0 |
unless $$token[0] eq 'NUM' |
190
|
0 |
0 |
unless $$token[0] eq 'NUM' |
203
|
0 |
0 |
unless &$lexer()->[0] eq ')' |
213
|
0 |
0 |
unless $$token[0] eq ':' |
214
|
0 |
0 |
if &$lexer(2)->[0] eq '(' |
217
|
0 |
0 |
unless $$token[0] eq 'ID' |
220
|
0 |
0 |
if ($name eq 'first-child') { } |
|
0 |
0 |
elsif ($name eq 'first-of-type') { } |
|
0 |
0 |
elsif ($name eq 'last-child') { } |
|
0 |
0 |
elsif ($name eq 'last-of-type') { } |
|
0 |
0 |
elsif ($name eq 'only-child') { } |
|
0 |
0 |
elsif ($name eq 'only-of-type') { } |
|
0 |
0 |
elsif ($name eq 'empty') { } |
|
0 |
0 |
elsif ($name eq 'checked') { } |
|
0 |
0 |
elsif ($name eq 'disabled') { } |
|
0 |
0 |
elsif ($name eq 'enabled') { } |
261
|
0 |
0 |
if ($$token[0] eq '#ID') { } |
|
0 |
0 |
elsif ($$token[0] eq '.ID') { } |
|
0 |
0 |
elsif ($$token[0] eq '[') { } |
|
0 |
0 |
elsif ($$token[0] eq ':') { } |
279
|
0 |
0 |
if ($$token[0] eq '') { } |
|
0 |
0 |
elsif ($$token[0] eq '>') { } |
|
0 |
0 |
elsif ($$token[0] eq '~') { } |
|
0 |
0 |
elsif ($$token[0] eq '+') { } |
|
0 |
0 |
elsif ($$token[0] eq 'ID' or $$token[0] eq '*') { } |
309
|
0 |
0 |
if $s =~ /\G((['"])((?:\\.|.)*?)\2)/cg |
310
|
0 |
0 |
if $s =~ /\G(\d+)/cg |
311
|
0 |
0 |
if $s =~ /\G([a-z][a-z0-9_-]*\|[a-z][a-z0-9_-]*)/cig |
312
|
0 |
0 |
if $s =~ /\G([a-z][a-z0-9_-]*)/cig |
313
|
0 |
0 |
if $s =~ /\G#([a-z][a-z0-9-]*)/cig |
314
|
0 |
0 |
if $s =~ /\G@([a-z][a-z0-9-]*)/cig |
315
|
0 |
0 |
if $s =~ /\G\.([a-z][a-z0-9-]*)/cig |
316
|
0 |
0 |
if $s =~ /\G([\$*~^|]?=)/cg |
317
|
0 |
0 |
if $s =~ /\G(:|\.|[][>+~*()])/cg |
318
|
0 |
0 |
unless $s =~ /\G\s+/cg |
324
|
0 |
0 |
if ($_[0]) { } |
329
|
0 |
0 |
if @buf > 0 |