blib/lib/Text/Microformat.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 20 | 40.0 |
line | true | false | branch |
---|---|---|---|
142 | 0 | 20 | unless $c->tree |
174 | 20 | 0 | unless defined $c->opts->{'Parser::HTML'}{'empty_element_tags'} |
199 | 0 | 20 | if (defined $formats) |
200 | 0 | 0 | if (ref $formats eq 'Regex') { } |
0 | 0 | elsif (ref $formats eq 'ARRAY' or not ref $formats) { } | |
204 | 0 | 0 | ref $formats eq 'ARRAY' ? : |
212 | 0 | 100 | if defined $format_re and not $short_name =~ /$format_re/ |
213 | 20 | 80 | unless $format->_params->{'criteria'} |
260 | 4 | 162 | if ($e eq $context_element or grep $e->is_inside($_), @found) |
276 | 0 | 0 | if $c->tree |