Condition Coverage

blib/lib/AnyEvent/Log.pm
Criterion Covered Total %
condition 6 32 18.7


and 3 conditions

line !l l&&!r l&&r condition
290 0 0 1 $level > 0 && $level <= 9
299 1 0 3 $ctx->[1] & $mask and not $seen{$ctx + 0}++
800 0 0 1 $_ > 0 && $_ <= 9

or 2 conditions

line l !l condition
1148 0 0 $facility ||= 'user'

or 3 conditions

line l !l&&r !l&&!r condition
176 0 1 0 $CTX{$1} ||= &_pkg_ctx("$1")
290 0 0 0 $STR2LEVEL{$level} || Carp::croak("${level}: not a valid logging level, caught")
325 0 0 0 $fmt[$level] ||= &default_format($now, $_[0], $level, $format)
347 0 1 0 $CTX{(caller)[0]} ||= &_pkg_ctx(scalar((caller)[0]))
440 0 0 0 $CTX{(caller)[0]} ||= &_pkg_ctx(scalar((caller)[0]))
606 0 0 0 $CTX{$pkg} ||= &_pkg_ctx($pkg)
800 0 0 0 $AnyEvent::Log::STR2LEVEL{$_} || Carp::croak("${_}: not a valid logging level, caught")