Branch Coverage

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


line true false branch
65 233 443 if ($token->is_start_tag) { }
182 261 elsif ($token->is_end_tag) { }
69 80 153 if (&any(sub { $tag eq $_; } , @collapse)) { }
153 0 elsif (defined $prev_tag) { }
78 29 277 if ($tag eq $consec and $tag eq $prev_tag)
88 77 105 if (&any(sub { $tag eq $_; } , @collapse)) { }
105 0 elsif (defined $prev_tag) { }
97 21 189 if ($tag eq $consec and $tag eq $prev_tag)
106 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