Branch Coverage

blib/lib/Pod/POM/View/HTML/Filter.pm
Criterion Covered Total %
branch 57 58 98.2


line true false branch
86 72 24 if (exists $args{$lang}{'requires'})
89 12 70 if ($@)
91 2 10 unless $INIT
96 2 94 unless exists $args{$lang}{'code'}
99 82 12 unless ($nok)
101 20 62 if ($args{$lang}{'alias'})
122 172 13 ref $self && UNIVERSAL::isa($self, 'Pod::POM::View::HTML::Filter') ? :
132 43 20 ref $self && UNIVERSAL::isa($self, 'Pod::POM::View::HTML::Filter') ? :
153 1 23 if $format =~ /^html\b/
155 22 1 if ($format =~ /^filter\b/)
157 1 21 unless defined $args
167 14 7 exists $$filter{$lang} ? :
169 17 4 if $$filter{$lang}{'verbatim'}
173 7 14 grep({$$_[0] eq 'default';} @langs) ? :
180 17 4 $verbatim ? :
192 1 97 if ($format eq 'html') { }
96 1 elsif ($format eq 'filter') { }
204 46 96 $prev ? :
206 83 59 if $item->type eq 'verbatim'
210 31 65 if $verbatim != @{$begin->content;}
216 76 38 exists $$filter{$lang} ? :
218 100 14 if $$filter{$lang}{'verbatim'}
222 36 60 grep({$$_[0] eq 'default';} @langs) ? :
227 95 1 if $$self{'auto_unindent'}
230 95 1 if $$self{'auto_unindent'}
234 89 7 $verbatim ? :
256 5 339 length $1 < length $indent ? :
98 344 !defined($indent) ? :
303 2 0 unless /=/