Condition Coverage

blib/lib/App/cpangrep.pm
Criterion Covered Total %
condition 0 31 0.0


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 defined $COLOR and not $COLOR
44 0 0 0 defined $pager and not $pager
144 0 0 0 $display_total and $display_total != $$search{'count'}
225 0 0 0 $pager =~ /more|less/ and ($ENV{'LESSCHARSET'} || '') ne 'utf-8'
244 0 0 0 not $@ and supports_color()

or 2 conditions

line l !l condition
136 0 0 $$search{'results'} || []
205 0 0 $$search{'results'} || []
221 0 0 $ENV{'PAGER'} || 'less'
223 0 0 $ENV{'LESS'} || ''
225 0 0 $ENV{'LESSCHARSET'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
126 0 0 0 $@ or not $result
259 0 0 0 -t *STDOUT or $COLOR