Branch Coverage
lib/HTML/Object/DOM/TreeWalker.pm |
|
Criterion |
Covered |
Total |
% |
branch |
24 |
64 |
37.5
|
line |
true |
false |
branch |
49
|
0 |
3 |
unless defined $this
|
51
|
0 |
3 |
if $this->nodeType != 1
|
59
|
0 |
5 |
if $tmpPos > $size
|
62
|
0 |
5 |
unless defined $rv
|
63
|
2 |
3 |
unless $rv
|
67
|
0 |
3 |
unless defined $node
|
70
|
0 |
3 |
unless defined $pos
|
80
|
0 |
1 |
unless defined $this
|
82
|
0 |
1 |
if $this->nodeType != 1
|
89
|
0 |
2 |
if $tmpPos < 0
|
92
|
0 |
2 |
unless defined $rv
|
93
|
1 |
1 |
unless $rv
|
97
|
0 |
1 |
unless defined $node
|
100
|
0 |
1 |
unless defined $pos
|
112
|
0 |
1 |
unless defined $this
|
114
|
1 |
0 |
if $this eq $self->root
|
123
|
0 |
0 |
if $tmpPos > $size
|
126
|
0 |
0 |
unless defined $rv
|
127
|
0 |
0 |
unless $rv
|
131
|
0 |
0 |
unless defined $node
|
134
|
0 |
0 |
unless defined $pos
|
144
|
0 |
1 |
unless defined $this
|
147
|
0 |
1 |
if $this eq $root
|
149
|
0 |
1 |
unless defined $node
|
154
|
0 |
1 |
unless defined $pos
|
166
|
0 |
1 |
unless defined $this
|
168
|
1 |
0 |
if $this eq $self->root
|
176
|
0 |
0 |
if $tmpPos < 0
|
179
|
0 |
0 |
unless defined $rv
|
180
|
0 |
0 |
unless $rv
|
184
|
0 |
0 |
unless defined $node
|
187
|
0 |
0 |
unless defined $pos
|