Branch Coverage

blib/lib/HTML/Entities.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
438 0 17 unless defined $_[0]
440 14 3 if (defined wantarray) { }
446 6 11 if (defined $_[1] and length $_[1]) { }
447 6 0 unless (exists $subst{$_[1]})
454 0 6 if $@
461 25 172 unless $char2entity{$1}