| line |
true |
false |
branch |
|
59
|
77 |
90 |
if (ref $template) { } |
|
68
|
0 |
0 |
if ($Test::HTML::Content::can_xpath eq "XML::XPath") |
|
69
|
0 |
0 |
if ($Test::HTML::Content::can_xpath eq "XML::LibXML") |
|
74
|
0 |
0 |
if ($Test::HTML::Content::can_xpath eq "XML::XPath") |
|
75
|
0 |
0 |
if ($Test::HTML::Content::can_xpath eq "XML::LibXML") |
|
113
|
7 |
30 |
unless ($Test->ok($cond, $name)) |
|
114
|
4 |
3 |
if (@$seen) { } |
|
125
|
0 |
0 |
unless $name |
|
135
|
20 |
0 |
if (defined $result) { } |
|
192
|
13 |
0 |
if (defined $result) { } |
|
242
|
0 |
0 |
unless defined $HTML |
|
243
|
0 |
0 |
unless defined $query |
|
246
|
0 |
0 |
if (not $HTML =~ /\A\s*\Z/ms) { } |
|
255
|
0 |
0 |
unless ($tree) |
|
265
|
0 |
0 |
if $@ |
|
267
|
0 |
0 |
if ($tree) |
|
270
|
0 |
0 |
unless ($result) |
|
275
|
0 |
0 |
if $@ |
|
284
|
0 |
0 |
if ($name eq '_content') { } |
|
295
|
4 |
0 |
if ($attrref) |
|
301
|
0 |
8 |
if ($name eq "_content") |
|
302
|
2 |
6 |
if (not defined $value) { } |
|
|
3 |
3 |
elsif (ref $value ne 'Regexp') { } |
|
316
|
4 |
0 |
if @query |
|
323
|
0 |
0 |
unless &$test($node) |
|
352
|
5 |
0 |
if scalar keys %$attrs > 0 |
|
355
|
5 |
0 |
defined $attrs->{$_} ? : |
|
356
|
4 |
1 |
if (@$found) { } |
|
370
|
1 |
47 |
unless defined $name |
|
372
|
1 |
47 |
unless defined $attrref |
|
374
|
0 |
48 |
unless ref $attrref eq "HASH" |
|
378
|
48 |
0 |
if (defined $currcount) { } |
|
379
|
6 |
42 |
if ($currcount eq 'skip') { } |
|
384
|
5 |
37 |
unless ($Test->ok($result, $name)) |
|
473
|
3 |
0 |
if (defined $result) { } |
|
487
|
1 |
0 |
if (defined $result) { } |
|
500
|
0 |
0 |
unless defined $fallback |
|
502
|
0 |
0 |
unless $tree |
|
517
|
0 |
0 |
if (@$found) { } |
|
531
|
0 |
0 |
unless $name |
|
534
|
0 |
0 |
if (defined $currcount) { } |
|
535
|
0 |
0 |
if ($currcount eq 'skip') { } |
|
540
|
0 |
0 |
unless ($Test->ok($result, $name)) |
|
570
|
0 |
0 |
unless $XML::XPath::VERSION >= "1.13" |
|
591
|
18 |
0 |
unless eval {
do {
install_libxml()
}
} or eval {
do {
install_xpath()
}
} |