Branch Coverage

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


line true false branch
436 0 28 unless defined $_[0]
438 25 3 if (defined wantarray) { }
445 17 11 if (defined $_[1] and length $_[1]) { }
447 17 0 unless (defined $regex)
470 12 6 defined $1 ? :
474 0 17 if $@
483 25 225 unless $char2entity{$1}