Branch Coverage

blib/lib/HTML/WikiConverter/Normalizer.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
169 213 11 unless my $style_text = $node->attr('style')
175 0 10 unless $$style{'properties'}
180 9 12 if ($handler) { }
208 1 38 if ($handler)
219 3 7 $$handler{'normalizer'} ? :
222 4 6 if $$handler{'new_attr'}
239 0 180 unless (exists $args{$arg})
253 246 147 unless $$handler{'type'} eq $type
254 137 10 unless $$handler{'name'} eq $name
255 0 10 if $$handler{'tag'} and not $self->_match_handler_tag($$handler{'tag'}, $tag)
257 0 10 if (ref $$handler{'value'} eq 'Regexp') { }
0 10 elsif (ref $$handler{'value'} eq 'CODE') { }
4 6 elsif ($$handler{'value'} eq '*') { }
258 0 0 if $value =~ /$$handler{'value'}/
260 0 0 if $$handler{'value'}($value)
264 6 0 if $$handler{'value'} eq $value
273 1 0 ref $handler_tag eq 'ARRAY' ? :
274 1 0 $handler_tags{$tag} ? :