Condition Coverage

blib/lib/Class/Easy/Log.pm
Criterion Covered Total %
condition 19 30 63.3


and 3 conditions

line !l l&&!r l&&r condition
80 11 0 2 scalar @_ == 2 and $ref eq 'GLOB'
11 0 2 scalar @_ == 2 and $ref eq 'GLOB' and defined *{$_[1];}{'IO'}
0 11 0 @_ == 2 || @_ == 1 and exists $$driver_config{$_[0]}
163 10 0 14 defined $$logger{'_layout'} and $$logger{'layout'} eq $$logger{'_layout'}

or 2 conditions

line l !l condition
100 9 5 $existing_logger || bless({'category', $category, 'broker', ''}, 'Class::Easy::Log')
239 7 14 $$caller1[3] || 'main'
275 1 0 (caller 1)[3] || 'main'

or 3 conditions

line l !l&&r !l&&!r condition
80 0 11 0 @_ == 2 || @_ == 1
161 16 8 0 $$logger{'layout'} ||= $default_layout
173 9 9 40 $3 eq 'L' or $3 eq 'P'
0 0 40 $3 eq 'r' or $3 eq 'R'