Condition Coverage

blib/lib/Log/Log4perl/CommandLine.pm
Criterion Covered Total %
condition 6 17 35.2


and 3 conditions

line !l l&&!r l&&r condition
98 1 0 0 defined $init{'logconfig'} and -f $init{'logconfig'}
1 0 0 defined $init{'logconfig'} and -f $init{'logconfig'} and -r _
104 1 0 0 $init{'loginit'} and not ref $init{'loginit'}
1 0 0 $init{'loginit'} and ref $init{'loginit'} eq 'ARRAY'

or 2 conditions

line l !l condition
117 0 1 $$init{'layout'} ||= '[%-5p] %m%n'

or 3 conditions

line l !l&&r !l&&!r condition
116 0 1 0 $$init{'level'} ||= $Log::Log4perl::CommandLine::ERROR