Branch Coverage

blib/lib/HTML/Entities.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
438 0 28 unless defined $_[0]
440 25 3 if (defined wantarray) { }
447 17 11 if (defined $_[1] and length $_[1]) { }
449 17 0 unless (defined $regex)
472 12 6 defined $1 ? :
476 0 17 if $@
485 25 225 unless $char2entity{$1}