line |
true |
false |
branch |
15
|
0 |
1 |
unless defined $source |
18
|
0 |
1 |
if (blessed $source and $source->isa('PPI::Node')) { } |
|
1 |
0 |
elsif (reftype $source eq 'SCALAR' or not ref $source and -f $source) { } |
109
|
0 |
63 |
if (UNIVERSAL::isa($b, 'PPIx::XPath::Attr')) { } |
|
0 |
63 |
elsif (UNIVERSAL::isa($b, 'PPI::Document')) { } |
127
|
0 |
63 |
if $a == $b |
128
|
15 |
48 |
if $a->_xpath_in($b) |
129
|
6 |
42 |
if $b->_xpath_in($a) |
136
|
0 |
42 |
unless $a_pile[-1] == $b_pile[-1] |
151
|
16 |
3 |
if $a_prev == $b_next |
153
|
3 |
0 |
if $a_next == $b_prev |
155
|
0 |
0 |
if $b_prev == $a_next |
157
|
0 |
0 |
if $b_next == $a_prev |
164
|
21 |
229 |
if $self == $ancestor |
344
|
4 |
36 |
unless $meth |
347
|
4 |
32 |
unless eval {
do {
$value = &$meth($parent);
1
}
} |
349
|
0 |
32 |
unless defined $value |
367
|
0 |
0 |
if (UNIVERSAL::isa($b, 'PPIx::XPath::Attr')) { } |
|
0 |
0 |
elsif (UNIVERSAL::isa($b, 'PPI::Document')) { } |