blib/lib/Log/Report/Translator/Context.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 23 | 60.8 |
line | l | !l | condition |
---|---|---|---|
23 | 1 | 0 | $args->{'rules'} || {} |
52 | 0 | 8 | $msg->context || {} |
53 | 8 | 0 | $def_context ||= {} |
137 | 1 | 3 | $d->{'default'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 1 | 8 | 0 | $map->{$lang} || $map->{'default'} |
66 | 0 | 9 | 0 | $msg_context->{$tag} || $def_context->{$tag} |
89 | 0 | 8 | 0 | not defined $c or ref $c eq 'HASH' |
116 | 1 | 6 | 0 | $map->{$lang} || $map->{'default'} |
143 | 1 | 3 | 1 | $set eq 'default' or $set eq 'alternatives' |