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) { } |
366
|
1 |
47 |
unless defined $name |
368
|
1 |
47 |
unless defined $attrref |
370
|
0 |
48 |
unless ref $attrref eq "HASH" |
374
|
48 |
0 |
if (defined $currcount) { } |
375
|
6 |
42 |
if ($currcount eq 'skip') { } |
380
|
5 |
37 |
unless ($Test->ok($result, $name)) |
469
|
3 |
0 |
if (defined $result) { } |
483
|
1 |
0 |
if (defined $result) { } |
496
|
0 |
0 |
unless defined $fallback |
498
|
0 |
0 |
unless $tree |
513
|
0 |
0 |
if (@$found) { } |
523
|
0 |
0 |
unless $name |
526
|
0 |
0 |
if (defined $currcount) { } |
527
|
0 |
0 |
if ($currcount eq 'skip') { } |
532
|
0 |
0 |
unless ($Test->ok($result, $name)) |
562
|
0 |
0 |
unless $XML::XPath::VERSION >= "1.13" |
583
|
18 |
0 |
unless eval {
do {
install_libxml()
}
} or eval {
do {
install_xpath()
}
} |