| blib/lib/Text/HTML/ExtractInfo.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 66 | 4 | 4 | if (my $c = $node->can('value')) { } |
| 4 | 0 | elsif ($c = $node->can('textContent')) { } | |
| 79 | 10 | 30 | if (my $d = $elements{$k}{'default'}) |
| 81 | 2 | 8 | if exists $options{$d} |
| 85 | 8 | 89 | if (@nodes) |
| 86 | 8 | 0 | if ($elements{$k}{'single'}) { } |