Branch Coverage

blib/lib/Log/StdLog.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
32 0 15 if $opt_ref and not ref $opt_ref eq 'HASH'
35 2 13 unless (exists $$opt_ref{'file'})
39 14 1 if (not exists $$opt_ref{'format'}) { }
0 1 elsif (not ref $$opt_ref{'format'}) { }
46 1 14 unless (exists $$opt_ref{'level'})
69 1 84 @_ == 2 ? :
1 85 @_ == 1 ? :
77 32 54 if $$self{'min_severity'} > $severity
85 54 0 if @msg
89 12 42 unless ($$self{'handle'})
90 0 12 unless open $$self{'handle'}, '>>', $$self{'file'}