Branch Coverage

blib/lib/Markdown/Perl/HTML.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
27 16814 5 if %html_entities
30 0 5 if $Markdown::Perl::HTML::EVAL_ERROR
31 0 5 unless close DATA
54 8 16819 exists $+{'hex'} ? :
22 16827 exists $+{'dec'} ? :
58 13 114325 if defined wantarray
115 4 12 if (defined $+{'id'} and not exists $out{'id'}) { }
9 3 elsif (defined $+{'class'}) { }
3 0 elsif (defined $+{'key'}) { }
126 4 9 unless ($attributes =~ /\G \s* $/ux)