Branch Coverage

blib/lib/HTML/Strip/Whitespace.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
22 0 8 ref $v eq 'ARRAY' ? :
50 16 102 unless (defined $self->{'this'})
84 40 8 $1 =~ /\n/u ? :
95 2 48 if ($t->is_start_tag and exists $preserving_start_tags{$t->get_tag})
107 40 50 if ($state->this->is_text) { }
124 0 102 if (ref $out_fh eq 'CODE') { }
102 0 elsif (ref $out_fh eq 'SCALAR') { }
0 0 elsif (ref $out_fh eq 'GLOB') { }
154 40 50 if (not $state->handle_text) { }
2 48 elsif ($tag_type = $state->is_preserving_start_tag) { }
168 2 12 if $state->this->is_end_tag($tag_type)
211 0 8 unless my $source = $args{'source'}
214 0 8 unless my $out_fh = $args{'out'}