Branch Coverage

blib/lib/HTML/Highlighter.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
27 0 6 unless $type and $type =~ /html/i
29 1 5 if $self->callback
32 2 4 unless defined $self->param
35 1 5 if ($$env{'psgix.highlight'}) { }
39 5 0 $param ? :
43 0 6 unless $highlights
76 6 12 if $done
78 6 6 if (defined $chunk) { }