Condition Coverage

blib/lib/Log/Report/Util.pm
Criterion Covered Total %
condition 8 40 20.0


and 3 conditions

line !l l&&!r l&&r condition
66 0 0 7 $begin and $end
107 0 0 0 $mode == 3 and $reason_code{$reason} >= $reason_code{'MISTAKE'}
0 0 0 $mode == 2 and $reason_code{$reason} >= $reason_code{'WARNING'}
115 0 0 0 $mode == 3 and $reason_code{$reason} >= $reason_code{'ERROR'}
0 0 0 $mode == 2 and $reason_code{$reason} >= $reason_code{'ALERT'}
151 0 1 10 defined $locale and length $locale
169 0 0 0 $primary eq 'i' && @subtags
0 0 0 $primary eq 'x' && @subtags
179 10 0 0 @subtags > 1 and length $subtags[0] > 3

or 2 conditions

line l !l condition
64 6 1 $1 or 'TRACE'
65 2 5 $2 or 'PANIC'

or 3 conditions

line l !l&&r !l&&!r condition
107 0 0 0 $reason eq 'ASSERT' or $reason eq 'PANIC'
0 0 0 $reason eq 'ASSERT' or $reason eq 'PANIC' or $mode == 2 and $reason_code{$reason} >= $reason_code{'WARNING'}
115 0 0 0 $reason eq 'PANIC' or $mode == 2 and $reason_code{$reason} >= $reason_code{'ALERT'}