Condition Coverage

File:blib/lib/Object/Configure.pm
Coverage:81.6%

line%coveragecondition
549100
Adec
00
11
$_[1] // {}
552100
ABdec
000
011
1X1
not defined $class or $class eq ""
575100
ABdec
000
011
1X1
ref $value eq "CODE" or &blessed($value)
580100
ABdec
0X0
100
111
exists $params->{'logger'} and ref $params->{'logger'} eq "ARRAY"
596100
ABdec
0X0
100
111
defined $config_file and $config_file =~ /$RE_PATH_TRAVERSAL/
611100
ABdec
000
011
1X1
$config_dirs or -r $config_file
623100
ABdec
0X0
100
111
$ancestor_config_file and $ancestor_config_file eq $config_file
62575
ABCdec
0XX0
10X0
1100
1111
$ancestor_config_file and -r $ancestor_config_file and not $tracked_files{$ancestor_config_file}
63467
ABdec
0X0
100
111
not $tracked_files{$config_file} and -r $config_file
66050
Adec
00
11
$class_order{$Object::Configure::b->{'class'}} // 999
50
Adec
00
11
$class_order{$Object::Configure::a->{'class'}} // 999
98167
ABdec
000
011
1X1
$params{'interval'} // $DEFAULT_INTERVAL
1054100
ABCdec
0XX0
10X0
1100
1111
$pid =~ /\A[0-9]+\z/ and $pid > 1 and $pid != $$
106167
ABdec
0X0
100
111
$kid == 0 and &Object::Configure::time() < $deadline
106367
ABdec
0X0
100
111
$kid == 0 and &Object::Configure::time() < $deadline
1248100
ABdec
0X0
100
111
defined $class and defined $obj
126767
ABdec
000
011
1X1
$SIG{'USR1'} || $SIG_DEFAULT
127567
ABdec
000
011
1X1
$_original_usr1_handler eq $SIG_DEFAULT or $_original_usr1_handler eq $SIG_IGNORE
142650
Adec
00
11
$carp_on_warn //= 0
1431100
ABdec
0X0
100
111
not ref $spec and $spec eq $LOGGER_NULL
1434100
ABdec
0X0
100
111
&blessed($spec) and $spec->isa("Log::Abstraction")
1504100
Adec
00
11
$base_ext //= ""
152067
ABdec
0X0
100
111
-r $pattern and -f $pattern
152667
ABdec
0X0
100
111
$config_dirs and ref $config_dirs eq "ARRAY"
153867
ABdec
0X0
100
111
-r $pattern and -f $pattern
156533
ABdec
000
011
1X1
$interval // $DEFAULT_INTERVAL
158167
ABdec
000
011
1X1
not $stored_stat or $current_stat->mtime > $stored_stat->mtime
159167
ABdec
0X0
100
111
$changes_detected and $^O ne $OS_WINDOWS
161675
ABCdec
0XX0
10X0
1100
1111
$obj->{'_config_files'} and ref $obj->{'_config_files'} eq "ARRAY" and @{$obj->{'_config_files'};}
161967
ABdec
000
011
1X1
$obj->{'_config_file'} || $obj->{'config_file'}
1627100
ABdec
0X0
100
111
$config_file and $config_file =~ /$RE_PATH_TRAVERSAL/
1633100
ABdec
0X0
100
111
$config_file and -f $config_file
165850
ABCdec
00X0
0100
0111
1XX1
not defined $val or not ref $val and $val eq $LOGGER_NULL
1671100
ABdec
0X0
100
111
$obj->{'logger'} and $obj->{'logger'}->can("info")
1687100
Adec
00
11
$obj->{'carp_on_warn'} || 0
1706100
ABdec
0X0
100
111
ref $overlay->{$key} eq "HASH" and ref $result->{$key} eq "HASH"