Condition Coverage

blib/lib/DOM/Tiny/_HTML.pm
Criterion Covered Total %
condition 34 43 79.0


and 2 conditions

line l !l condition
146 0 39 ++$closing and next
246 0 7 $result .= $xml ? qq[ $key="$key"] : " $key" and next

and 3 conditions

line !l l&&!r l&&r condition
152 87 642 1 not $xml and $start eq 'image'
157 87 643 0 not $xml and $EMPTY{$start}
558 107 13 $xml || !$BLOCK{$start} and $closing
178 2 5 10 not exists $self->{'xml'} and $pi =~ /xml/i
202 18 265 0 not $xml and $PHRASING{$end}
260 0 5 not $xml and $PHRASING{$end} and not $PHRASING{$next->[1]}
266 87 165 478 not $xml and $$current->[0] ne 'root'
274 0 123 119 $parent->[0] ne 'root' and not $$scope{$parent->[1]}

or 3 conditions

line l !l&&r !l&&!r condition
99 0 1952 0 ref $class || $class
157 87 33 558 $xml || !$BLOCK{$start}
52 0 678 not $xml and $EMPTY{$start} or $xml || !$BLOCK{$start} and $closing
160 11 17 615 $RAW{$start} || $RCDATA{$start}
87 615 28 $xml or not $RAW{$start} || $RCDATA{$start}