line | % | coverage | branch |
40 | 50 | T | F | if (not $tokener->parse($path)) |
48 | 50 | T | F | if (not $tree->build_tree($$tokener{'tokens'})) |
60 | 50 | T | F | unless ($dump_got eq $dump) |
75 | 50 | T | F | unless ('ARRAY' eq ref $nodes) |
87 | 50 | T | F | unless $ok |
90 | 50 | T | F | if (not $ok) |
102 | 100 | T | F | if ($key eq 'nodename') { } |
| 100 | T | F | elsif ($key eq 'attributecount') { } |
| 100 | T | F | elsif ($key eq 'type') { } |
| 100 | T | F | elsif ($key eq 'value') { } |
106 | 50 | T | F | unless $ok |
112 | 50 | T | F | unless $ok |
118 | 50 | T | F | unless $ok |
124 | 50 | T | F | unless $ok |
129 | 50 | T | F | unless $ok |
132 | 50 | T | F | unless $ok |
139 | 50 | T | F | if ($bad) |
169 | 50 | T | F | if (not $ret) |
178 | 50 | T | F | if ($$ret{'type'} eq 'number') { } |
181 | 50 | T | F | if ($$ret{'value'} != $expected) |
195 | 50 | T | F | if (not $ret) |
204 | 50 | T | F | if ($$ret{'type'} eq 'string') { } |
207 | 50 | T | F | if ($$ret{'value'} ne $expected) |
221 | 50 | T | F | if ($ret) { } |
225 | 50 | T | F | if ($$xpath{'error'} =~ /$expected/) { } |
242 | 50 | T | F | if (not $ret) |
251 | 50 | T | F | if ($$ret{'type'} eq 'boolean') { } |
253 | 100 | T | F | if $expected and $$ret{'value'} |
254 | 100 | T | F | if not $expected and not $$ret{'value'} |
258 | 50 | T | F | unless ($ok) |