blib/lib/Log/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
102 | 6 | 0 | unless defined $$LOGGER{$cllpkg} |
104 | 4 | 2 | if (defined ${$i;} and $_[0] <= ${$i;} or not defined ${$i;} and $_[0] <= $LOGLEVEL) |
106 | 2 | 2 | if ref $$LOGGER{$cllpkg}[$_[0] + 1] eq 'CODE' |
109 | 2 | 0 | if ref $$LOGGER{$cllpkg}[0] eq 'CODE' |
128 | 0 | 2 | if $level < 0 |
146 | 0 | 0 | if $level < 0 |
148 | 0 | 0 | unless defined $$LOGGER{$cllpkg} |
171 | 3 | 0 | unless $CONFESS |
212 | 3 | 0 | if ($_[1] > 0) { } |