Branch Coverage

blib/lib/HTML/FormFu/OutputProcessor/StripWhitespace.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
66 233 443 if ($token->is_start_tag) { }
182 261 elsif ($token->is_end_tag) { }
70 80 153 if (&any(sub { $tag eq $_; } , @collapse)) { }
153 0 elsif (defined $prev_tag) { }
79 29 277 if ($tag eq $consec and $tag eq $prev_tag)
89 77 105 if (&any(sub { $tag eq $_; } , @collapse)) { }
105 0 elsif (defined $prev_tag) { }
98 21 189 if ($tag eq $consec and $tag eq $prev_tag)
107 208 468 if (defined $prev_tag and &any(sub { $prev_tag eq $_; } , @collapse)) { }
157 1037 520 if ($self->{'tags'}[$i]->is_tag)
158 0 1037 unless $self->{'tags'}[$i]->is_tag