blib/lib/AnyEvent/Log.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 32 | 18.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
299 | 0 | 0 | 1 | $level > 0 && $level <= 9 |
308 | 1 | 0 | 3 | $ctx->[1] & $mask and not $seen{$ctx + 0}++ |
809 | 0 | 0 | 1 | $_ > 0 && $_ <= 9 |
line | l | !l | condition |
---|---|---|---|
1160 | 0 | 0 | $facility ||= 'user' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
185 | 0 | 1 | 0 | $CTX{$1} ||= &_pkg_ctx("$1") |
299 | 0 | 0 | 0 | $STR2LEVEL{$level} || Carp::croak("${level}: not a valid logging level, caught") |
334 | 0 | 0 | 0 | $fmt[$level] ||= &default_format($now, $_[0], $level, $format) |
356 | 0 | 1 | 0 | $CTX{(caller)[0]} ||= &_pkg_ctx(scalar((caller)[0])) |
449 | 0 | 0 | 0 | $CTX{(caller)[0]} ||= &_pkg_ctx(scalar((caller)[0])) |
615 | 0 | 0 | 0 | $CTX{$pkg} ||= &_pkg_ctx($pkg) |
809 | 0 | 0 | 0 | $AnyEvent::Log::STR2LEVEL{$_} || Carp::croak("${_}: not a valid logging level, caught") |