blib/lib/Log/Report/Translator/Context.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 23 | 60.8 |
line | l | !l | condition |
---|---|---|---|
19 | 1 | 0 | $args->{'rules'} || {} |
48 | 0 | 8 | $msg->context || {} |
49 | 8 | 0 | $def_context ||= {} |
133 | 1 | 3 | $d->{'default'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 1 | 8 | 0 | $map->{$lang} || $map->{'default'} |
62 | 0 | 9 | 0 | $msg_context->{$tag} || $def_context->{$tag} |
85 | 0 | 8 | 0 | not defined $c or ref $c eq 'HASH' |
112 | 1 | 6 | 0 | $map->{$lang} || $map->{'default'} |
139 | 1 | 3 | 1 | $set eq 'default' or $set eq 'alternatives' |