| line |
true |
false |
branch |
|
40
|
0 |
41 |
unless ($tokener->parse($path)) |
|
48
|
0 |
41 |
unless ($tree->build_tree($$tokener{'tokens'})) |
|
60
|
0 |
41 |
unless ($dump_got eq $dump) |
|
75
|
0 |
73 |
unless ('ARRAY' eq ref $nodes) |
|
87
|
0 |
73 |
unless $ok |
|
90
|
0 |
73 |
unless ($ok) |
|
102
|
241 |
232 |
if ($key eq 'nodename') { } |
|
|
1 |
231 |
elsif ($key eq 'attributecount') { } |
|
|
8 |
223 |
elsif ($key eq 'type') { } |
|
|
2 |
221 |
elsif ($key eq 'value') { } |
|
106
|
0 |
241 |
unless $ok |
|
112
|
0 |
1 |
unless $ok |
|
118
|
0 |
8 |
unless $ok |
|
124
|
0 |
2 |
unless $ok |
|
129
|
0 |
221 |
unless $ok |
|
132
|
0 |
473 |
unless $ok |
|
139
|
0 |
73 |
if ($bad) |
|
169
|
0 |
15 |
unless ($ret) |
|
178
|
15 |
0 |
if ($$ret{'type'} eq 'number') { } |
|
181
|
0 |
15 |
if ($$ret{'value'} != $expected) |
|
195
|
0 |
31 |
unless ($ret) |
|
204
|
31 |
0 |
if ($$ret{'type'} eq 'string') { } |
|
207
|
0 |
31 |
if ($$ret{'value'} ne $expected) |
|
221
|
0 |
1 |
if ($ret) { } |
|
225
|
1 |
0 |
if ($$xpath{'error'} =~ /$expected/) { } |
|
242
|
0 |
10 |
unless ($ret) |
|
251
|
10 |
0 |
if ($$ret{'type'} eq 'boolean') { } |
|
253
|
7 |
3 |
if $expected and $$ret{'value'} |
|
254
|
3 |
0 |
unless $expected or $$ret{'value'} |
|
258
|
0 |
10 |
unless ($ok) |