blib/lib/Mojo/DOM58/_HTML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 46 | 84.7 |
line | l | !l | condition |
---|---|---|---|
158 | 0 | 44 | ++$closing and next |
239 | 0 | 10 | $result .= $xml ? qq[ $key="$key"] : " $key" and next |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 99 | 679 | 1 | not $xml and $start eq 'image' |
169 | 99 | 624 | 56 | not $xml and $EMPTY{$start} |
591 | 114 | 18 | $xml || !$BLOCK{$start} and $closing | |
190 | 2 | 5 | 10 | not exists $self->{'xml'} and $pi =~ /xml/i |
214 | 18 | 278 | 5 | not $xml and $PHRASING{$end} |
278 | 0 | 5 | not $xml and $PHRASING{$end} and not $PHRASING{$next->[1]} | |
286 | 99 | 189 | 491 | not $xml and $$current->[0] ne 'root' |
294 | 0 | 123 | 119 | $parent->[0] ne 'root' and not $$scope{$parent->[1]} |
316 | 11 | 0 | 1 | exists $attrs->{'data'} and ref $attrs->{'data'} eq 'HASH' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
107 | 0 | 2061 | 0 | ref $class || $class |
169 | 99 | 33 | 591 | $xml || !$BLOCK{$start} |
56 | 77 | 646 | not $xml and $EMPTY{$start} or $xml || !$BLOCK{$start} and $closing | |
172 | 11 | 18 | 651 | $RAW{$start} || $RCDATA{$start} |
99 | 651 | 29 | $xml or not $RAW{$start} || $RCDATA{$start} |