blib/lib/Log/Report/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 40 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
74 | 0 | 0 | 8 | $begin and $end |
112 | 0 | 0 | 0 | $mode == 3 and $reason_code{$reason} >= $reason_code{'MISTAKE'} |
0 | 0 | 0 | $mode == 2 and $reason_code{$reason} >= $reason_code{'WARNING'} | |
120 | 0 | 0 | 0 | $mode == 3 and $reason_code{$reason} >= $reason_code{'ERROR'} |
0 | 0 | 0 | $mode == 2 and $reason_code{$reason} >= $reason_code{'ALERT'} | |
156 | 0 | 1 | 10 | defined $locale and length $locale |
174 | 0 | 0 | 0 | $primary eq 'i' && @subtags |
0 | 0 | 0 | $primary eq 'x' && @subtags | |
184 | 10 | 0 | 0 | @subtags > 1 and length $subtags[0] > 3 |
line | l | !l | condition |
---|---|---|---|
72 | 7 | 1 | $1 or 'TRACE' |
73 | 3 | 5 | $2 or 'PANIC' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 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'} | |
120 | 0 | 0 | 0 | $reason eq 'PANIC' or $mode == 2 and $reason_code{$reason} >= $reason_code{'ALERT'} |