Branch Coverage

blib/lib/Dancer/Plugin/EscapeHTML.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
137 11 215 unless defined $in
139 162 53 unless ref $in
142 2 51 if exists $seen{scalar $in}
147 1 50 if (ref $in eq 'ARRAY' or $traverse_objects and blessed $in and reftype $in eq 'ARRAY') { }
43 7 elsif (ref $in eq 'HASH' or $traverse_objects and blessed $in and reftype $in eq 'HASH') { }
155 1 222 if defined $exclude_pattern and $k =~ /$exclude_pattern/