Branch Coverage

blib/lib/HTML/LoL.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
66 0 35 if ($str =~ /.*\n([^\n]*)$/s)
74 0 35 if (@s > 1)
89 7 2 unless $noquote
90 1 8 if ($pre) { }
101 8 0 if (@words) { }
0 0 elsif ($leading_ws or $trailing_ws) { }
105 0 8 if ($$wsokref)
106 0 0 if ($$columnref > 0 and 1 + length($word) + $$columnref > 72) { }
138 2 8 if (&is_noquote($tag)) { }
0 8 elsif (&is_requote($tag)) { }
1 7 elsif (&is_preserve($tag)) { }
153 0 10 if ($$wsokref and not $pre)
157 7 3 if (defined $tag)
160 7 5 unless ref $content eq 'HASH'
164 1 5 if (&is_bool_yes($val)) { }
1 4 elsif (&is_bool_no($val)) { }
1 3 elsif (ref $val eq 'ARRAY') { }
187 5 10 if $ref eq 'HASH'
189 1 9 if ($ref eq 'ARRAY') { }
197 7 3 if defined $tag
200 7 3 if (defined $tag and not $empty)
201 0 7 if ($$wsokref)
220 9 0 if (ref $elt) { }
235 1 1 $_[0] ? :