Condition Coverage

blib/lib/HTML/FromText.pm
Criterion Covered Total %
condition 19 26 73.0


and 2 conditions

line l !l condition
83 145 11 0 $$options{$_} and $self->$_

and 3 conditions

line !l l&&!r l&&r condition
332 166 11 9 $open_space and $_ - $$open_space{'start'} > 1
351 1 17 18 substr($line, $$spaces{$pos}{'end'}, 1) eq ' ' and not $key
355 18 18 0 $spots{$$spaces{$pos}{'start'}} and $key ne $$spaces{$pos}{'start'}
369 0 1 17 exists $spots{$$space{'start'}} and $spots{$$space{'end'}}
405 14 5 0 not $text =~ /^(\s+).+(?:\n\1.+)*$/ and $strict
412 7 0 2 $prev_para and $$prev_para{'html'} =~ /
<(\w+)>/

or 2 conditions

line l !l condition
27 38 1 $options ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
62 0 39 0 blessed $class || $class