line |
true |
false |
branch |
14
|
3 |
14 |
if (my $ns = $p{'xmlns'}) |
23
|
1 |
16 |
if (my $f = $p{'filter'}) { } |
24
|
0 |
1 |
if (ref $f eq 'CODE') { } |
|
1 |
0 |
elsif ($f eq 'css_selector') { } |
28
|
0 |
1 |
if $@ |
33
|
4 |
18 |
if (eval {
do {
$_->isa('Test::XPath')
}
} and $_->node ne $doc->documentElement) { } |
61
|
0 |
72 |
if ref $desc eq "CODE" |
63
|
15 |
57 |
if (ref $code eq 'CODE') { } |
66
|
0 |
15 |
unless my(@nodes) = $xpc->findnodes($xpath, $self->{'node'}) |
113
|
3 |
14 |
if (my $opts = $p->{'options'}) |
115
|
6 |
1 |
if (my $meth = $parser->can($k)) { } |
124
|
11 |
6 |
if ($p->{'xml'}) |
127
|
3 |
8 |
$p->{'is_html'} ? : |
130
|
5 |
1 |
if ($p->{'file'}) |
133
|
1 |
4 |
$p->{'is_html'} ? : |