Branch Coverage

blib/lib/Blatte/HTML.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
168 2 1 if ($val ne $_html_bool_no)
169 1 1 if ($val eq $_html_bool_yes) { }
199 1 25 if ($obj_is__p) { }
1 24 elsif ($obj_is__ent) { }
211 5 21 if ($newpar)
215 0 3 if $p_closure_barriers{$name}
216 1 2 if ($name eq 'p')
222 1 4 if (defined $close_needed)
229 0 1 if $obj_is_p
233 20 6 if defined $ws
235 5 21 if ($newpar)
236 1 4 if (defined $close_needed) { }
3 1 elsif (not $obj_is_p) { }
249 8 18 if ($obj_is_html_elt) { }
253 6 2 unless ($obj_is_control)
259 6 2 if ($obj_is_control or not $HTML::Tagset::emptyElement{$name})
262 4 2 unless ($obj_is_control)
269 4 2 unless ($obj_is_control)
272 4 1 if ($elt eq $pair)
285 15 3 $do_entities ? :