Condition Coverage

blib/lib/Acme/Ghost/Log.pm
Criterion Covered Total %
condition 13 21 61.9


or 2 conditions

line l !l condition
286 0 4 $args->{'facility'} ||= 8
288 0 4 $args->{'logopt'} ||= "ndelay,pid"
289 1 3 $args->{'logger'} ||= undef
290 1 3 $args->{'level'} ||= "debug"
291 1 3 $args->{'file'} ||= undef
292 0 4 $args->{'handle'} ||= undef
346 8 0 $MAGIC{$level} // 7
365 3 0 (split(/\./, $tm, 0))[1] // 0
374 2 0 $LOGLEVELS{$level} // 7

or 3 conditions

line l !l&&r !l&&!r condition
287 0 4 0 $args->{'ident'} ||= basename($0)