Condition Coverage

blib/lib/Pod/POM/View/HTML/Filter.pm
Criterion Covered Total %
condition 27 37 72.9


and 3 conditions

line !l l&&!r l&&r condition
122 13 0 172 ref $self && UNIVERSAL::isa($self, 'Pod::POM::View::HTML::Filter')
132 20 0 43 ref $self && UNIVERSAL::isa($self, 'Pod::POM::View::HTML::Filter')

or 2 conditions

line l !l condition
261 65 33 $indent ||= ''
275 2 11 shift() || ''
300 2 10 shift() || ''
317 6 12 shift() || ''
326 2 4 shift() || ''
336 8 0 $opts || ''
374 4 2 shift() || ''
380 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
124 1688 47 0 $$filter{$_} or delete $$filter{$_}
306 10 2 0 $filter_parser{'ppi'}{$opts} ||= 'PPI::HTML'->new(%ppi_opt)
320 16 2 0 $filter_parser{'html'}{$opts} ||= 'Syntax::Highlight::HTML'->new(map({split(/=/, $_, 0);} split(' ', $opts, 0)))
329 4 2 0 $filter_parser{'shell'}{$opts} ||= 'Syntax::Highlight::Shell'->new(map({split(/=/, $_, 0);} split(' ', $opts, 0)))
338 5 3 0 $filter_parser{'kate'}{$lang} ||= 'Syntax::Highlight::Engine::Kate'->new('language', $lang, 'substitutions', {'<', '&lt;', '>', '&gt;', '&', '&amp;'}, 'format_table', {'Alert', ['<span class="k-alert">', '</span>'], 'BaseN', ['<span class="k-basen">', '</span>'], 'BString', ['<span class="k-bstring">', '</span>'], 'Char', ['<span class="k-char">', '</span>'], 'Comment', ['<span class="k-comment">', '</span>'], 'DataType', ['<span class="k-datatype">', '</span>'], 'DecVal', ['<span class="k-decval">', '</span>'], 'Error', ['<span class="k-error">', '</span>'], 'Float', ['<span class="k-float">', '</span>'], 'Function', ['<span class="k-function">', '</span>'], 'IString', ['<span class="k-istring">', '</span>'], 'Keyword', ['<span class="k-keyword">', '</span>'], 'Normal', ['', ''], 'Operator', ['<span class="k-operator">', '</span>'], 'Others', ['<span class="k-others">', '</span>'], 'RegionMarker', ['<span class="k-regionmarker">', '</span>'], 'Reserved', ['<span class="k-reserved">', '</span>'], 'String', ['<span class="k-string">', '</span>'], 'Variable', ['<span class="k-variable">', '</span>'], 'Warning', ['<span class="k-warning">', '</span>']})