Condition Coverage

blib/lib/Log/Fine/Utils.pm
Criterion Covered Total %
condition 31 62 50.0


and 3 conditions

line !l l&&!r l&&r condition
94 27 0 1 defined $_[0] and ref $_[0]
27 0 1 defined $_[0] and ref $_[0] and UNIVERSAL::can($_[0], 'isa')
0 0 1 defined $_[0] and ref $_[0] and UNIVERSAL::can($_[0], 'isa') and $_[0]->isa('Log::Fine')
106 20 0 3 defined $_[0] and ref $_[0]
20 0 3 defined $_[0] and ref $_[0] and UNIVERSAL::can($_[0], 'isa')
0 0 3 defined $_[0] and ref $_[0] and UNIVERSAL::can($_[0], 'isa') and $_[0]->isa('Log::Fine::Logger')
190 0 0 3 defined $log and ref $log
0 0 3 defined $log and ref $log and UNIVERSAL::can($log, 'isa')
0 0 3 defined $log and ref $log and UNIVERSAL::can($log, 'isa') and $log->isa('Log::Fine::Logger')
256 1 0 2 defined $data{'name'} and $data{'name'} =~ /\w/
260 1 0 2 defined _logfine() and ref _logfine()
1 0 2 defined _logfine() and ref _logfine() and UNIVERSAL::can(_logfine(), 'isa')
0 0 2 defined _logfine() and ref _logfine() and UNIVERSAL::can(_logfine(), 'isa') and _logfine()->isa('Log::Fine')
272 1 0 2 defined _logger() and ref _logger()
1 0 2 defined _logger() and ref _logger() and UNIVERSAL::can(_logger(), 'isa')
0 0 2 defined _logger() and ref _logger() and UNIVERSAL::can(_logger(), 'isa') and _logger()->isa('Log::Fine::Logger')
0 0 2 defined _logger() and ref _logger() and UNIVERSAL::can(_logger(), 'isa') and _logger()->isa('Log::Fine::Logger') and defined _logger()->name
0 0 2 defined _logger() and ref _logger() and UNIVERSAL::can(_logger(), 'isa') and _logger()->isa('Log::Fine::Logger') and defined _logger()->name and _logger()->name =~ /\w/
0 1 1 defined _logger() and ref _logger() and UNIVERSAL::can(_logger(), 'isa') and _logger()->isa('Log::Fine::Logger') and defined _logger()->name and _logger()->name =~ /\w/ and grep /$data{'name'}/, ListLoggers()

or 2 conditions

line l !l condition
260 0 1 $data{'no_croak'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
260 1 0 0 $data{'levelmap'} || 'Log::Fine::Levels'->DEFAULT_LEVELMAP