Branch Coverage

blib/lib/String/Tagged/HTML.pm
Criterion Covered Total %
branch 26 40 65.0


line true false branch
189 1 1 if $v eq "super"
190 1 0 if $v eq "sub"
204 8 0 if ($params{'convert_linefeeds'} // 1)
246 0 0 unless ref $node
254 0 0 unless $tag eq "body"
270 1 0 $1 eq q['] ? :
1 1 $1 eq '"' ? :
1 2 $1 eq '&' ? :
3 3 $1 eq '>' ? :
2 6 $1 eq '<' ? :
283 3 0 if grep {$name eq $_;} "b", "i", "u", "small"
284 0 0 if $name eq "a"
285 0 0 if $name eq "span"
326 3 0 if ($k =~ /^_span_style_(.*)$/u)
330 2 32 if keys %span_style
338 4 3 unless exists $tags{$tag}
339 0 3 unless $self->_cmp_tag_values($tag, $value, $tags{$tag})
351 5 18 if (ref $value eq 'HASH') { }
364 3 38 $tags{'raw'} ? :
378 1 23 if defined $elem