Branch Coverage

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


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