| blib/lib/HTML/Feature/Engine/TagStructure.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 36 | 47.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 0 | 0 | 8 | $html_ref and $$html_ref |
| 74 | 0 | 0 | 0 | $c->{'max_bytes'} =~ /^[\d]+$/ and $text_length > $c->{'max_bytes'} |
| 16 | 0 | 0 | $c->{'max_bytes'} and ($c->{'max_bytes'} =~ /^[\d]+$/ and $text_length > $c->{'max_bytes'}) | |
| 78 | 16 | 0 | 0 | $c->{'min_bytes'} and $c->{'min_bytes'} =~ /^[\d]+$/ |
| 16 | 0 | 0 | $c->{'min_bytes'} and $c->{'min_bytes'} =~ /^[\d]+$/ and $text_length < $c->{'min_bytes'} |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 0 | 16 | $node_hash{'a_length'} ||= 0 |
| 93 | 0 | 16 | $node_hash{'option_length'} ||= 0 |
| 94 | 0 | 16 | $node_hash{'short_string_length'} ||= 0 |
| 134 | 16 | 8 | $ratio[$_] || 0 |
| 24 | 0 | $ratio{'mean'} || 0 | |
| 136 | 16 | 8 | $depth[$_] || 0 |
| 24 | 0 | $depth{'mean'} || 0 | |
| 138 | 16 | 8 | $order[$_] || 0 |
| 24 | 0 | $order{'mean'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 95 | 16 | 0 | 0 | $node_hash{'text'} ||= $text |