Branch Coverage

blib/lib/HTML/ParagraphSplit.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
206 11 27 if ($$options{'p_on_breaks_only'} and @paragraphs == 1)
221 4 43 if $$options{'single_line_breaks_to_br'}
231 19 28 if ($$options{'use_br_instead_of_p'}) { }
233 8 11 if ($iteration < @paragraphs)
242 0 8 if ($$options{'filter_added_nodes'})
262 2 26 if ($$options{'filter_added_nodes'})
284 32 49 if (blessed $content) { }
290 11 21 if ($HTML::ParagraphSplit::p_content{$tag}) { }
302 7 14 if (defined $unparsed_phrase)
327 31 11 if (defined $unparsed_phrase)
346 0 21 if (blessed $input and $input->isa('HTML::Element')) { }
0 21 elsif (ref $input) { }
371 13 8 defined $options ? :
419 52 20 if (ref $element) { }