Branch Coverage

lib/Class/Usul/Log.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
23 7 0 $_[0]->_logfile ? :
65 6 2 if exists $attr->{'appclass'}
66 4 4 unless exists $loggers->{'default'}
73 0 2 &is_hashref($_[0]) ? :
78 0 1 if ($wanted eq 'get_logger') { }
123 0 20 unless $text
127 1 19 if (defined $opts)
130 0 0 $opts->{'user'} ? :
132 0 0 $lead ? :
1 0 $tag ? :
136 20 0 if $self->_encoding
155 0 0 if $self->_log_class ne 'Log::Handler'
163 1 1 $n == 3 ? :
2 2 $n == 2 ? :
1 4 $n == 1 ? :
1 5 &is_hashref($args[0]) ? :
1 6 $n == 0 ? :
171 5 2 if $level and &is_member($level, &LOG_LEVELS())