Branch Coverage

blib/lib/HTML/EntityReference.pm
Criterion Covered Total %
branch 36 40 90.0


line true false branch
404 4 16 if ref $arg
405 4 12 if ($arg =~ /^:/)
413 1 13 if (ref $value eq 'ARRAY')
416 1 0 unless %$table
435 4 9 unless defined $include
436 8 1 unless ref $include
439 7 2 if defined $val
453 1 1 if (ref $ord)
468 0 1 if ref $ord
484 0 2 unless (ref $ord)
488 1 1 if wantarray
503 3 1 unless defined $include
504 1 0 unless ref $include
506 1 1 if exists $$table{$entity}
522 93 2284 ref $value ? :
532 2 5 unless defined $inverse
555 3 3 ref $codepoint ? :
558 2 4 unless ref $include
562 5 2 if defined $result
576 2 1 length $char == 1 ? :