blib/lib/Log/Tree.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 30 | 26.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
220 | 0 | 0 | 0 | $level and $level =~ /^\d+$/ |
345 | 1 | 0 | 0 | $self->syslog and $self->facility |
429 | 0 | 0 | 0 | defined $min_lvl and $_[0]->severity_to_level($_[2]) >= $min_lvl |
438 | 0 | 0 | 8 | defined $min_lvl and $_[0]->severity_to_level($_[2]) >= $min_lvl |
453 | 0 | 0 | 8 | $package eq 'main' and $subroutine eq 'Log::Tree::log' |
474 | 0 | 8 | 0 | $params{'message'} and ref $params{'message'} eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
237 | 0 | 0 | shift() || 0 |
466 | 8 | 0 | $params{'level'} ||= 'debug' |
470 | 0 | 8 | $subroutine ||= 'n/a' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
182 | 0 | 0 | 16 | not $sev or $sev =~ /^\d+$/ |
336 | 0 | 0 | 1 | IO::Interactive::Tiny::is_interactive() or $ENV{'LOG_TREE_STDOUT'} |