Condition Coverage

blib/lib/Data/Printer/Config.pm
Criterion Covered Total %
condition 21 55 38.1


and 3 conditions

line !l l&&!r l&&r condition
11 0 0 4 $filename and -e $filename
0 0 4 $filename and -e $filename and not -d $filename
77 2 0 0 $^O eq 'MSWin32' and "$]" < 5.016
99 0 0 0 exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'}
102 0 0 0 not $home and exists $ENV{'HOME'}
0 0 0 not $home and exists $ENV{'HOME'} and $ENV{'HOME'}
107 0 0 0 defined $home and not -d $home
118 0 0 0 length $mode == 4 && substr($mode, 2, 2) eq '00'
180 24 48 18 @subpath == 1 and $subpath[0] eq 'filters'
200 0 0 1 $counter == 1 and /\A\s*\{/s
283 0 1 2 -e $filename and not -d $filename
314 0 7 1 $key_str and $key_str eq 'filters.-external'
7 0 1 $key_str and $key_str eq 'filters.-external' and ref $value eq 'ARRAY'

or 2 conditions

line l !l condition
163 0 18 $$config{$ns = $1} ||= {}
186 24 30 $current->{$subpath} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 1 not defined $updir or $updir eq $dir
56 1 0 1 $0 eq '-e' or $0 eq '-'
87 0 0 0 $ENV{'HOME'} || $ENV{'USERPROFILE'}
293 1 0 1 not ref $config or ref $config ne 'HASH'