Condition Coverage

blib/lib/HTML/SBC.pm
Criterion Covered Total %
condition 20 25 80.0


and 3 conditions

line !l l&&!r l&&r condition
334 10 100 0 not $$self{'istack'}{'EMPHASIS'} and defined(my $emphasis = $self->_emphasis)
12 93 0 not $$self{'istack'}{'STRONG'} and defined(my $strong = $self->_strong)
13 87 0 not $$self{'istack'}{'HYPERLINK'} and defined(my $hyperlink = $self->_hyperlink)
34 55 4 $self->image_support and defined(my $image = $self->_image)
496 0 5 0 defined $valid and not &$valid($new)

or 2 conditions

line l !l condition
96 2 2 $args ||= {}
226 41 594 $1 || undef

or 3 conditions

line l !l&&r !l&&!r condition
243 2 15 19 $self->_quote || $self->_ulist || $self->_olist || $self->_paragraph
317 2 13 17 $$self{'qstack'} or $self->_literal('LINEBREAK', "\n")