Branch Coverage

blib/lib/Swim/HTML.pm
Criterion Covered Total %
branch 1 48 2.0


line true false branch
29 0 1 $out =~ /\n/ ? :
52 0 0 $out =~ /\n/ ? :
75 0 0 if (length $def or $rest)
77 0 0 if (length $def)
80 0 0 if ($rest)
97 0 0 if ($node =~ /^(\w[\-\w]*) ?((?s:.*)?)$/)
101 0 0 if ($self->can($method))
103 0 0 if defined $out
111 0 0 ref $node ? :
114 0 0 if (defined $abstract) { }
121 0 0 $name =~ /\n/ ? :
136 0 0 if ($out =~ /\n/) { }
177 0 0 unless length $text
184 0 0 unless length $text
188 0 0 if (defined $ENV{'SWIM_LINK_FORMAT_HACK'})
221 0 0 if (@$class)
224 0 0 if (@$attrib)
226 0 0 /=".*"$/ ? :
229 0 0 length $content ? :
238 0 0 unless $success
246 0 0 if ($args =~ /\A((?:\\:|[^\:])*):((?s:.*))\z/) { }
262 0 0 if ($text =~ s/^\s*(\w[\w\-]*)(?=\s|\z)\s*//) { }
0 0 elsif ($text =~ s/^\s*(\w[\w\-]*="[^"]*")(?=\s|\z)s*//) { }
0 0 elsif ($text =~ s/^\s*(\w[\w\-]*=\S+)(?=\s|\z)s*//) { }