| blib/lib/Log/Report/Translator/Context.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 28 | 57.1 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 8 | 8 | length "$1$3" ? : |
| 43 | 0 | 8 | unless @$tags |
| 55 | 0 | 9 | unless my $map = $maps->{$tag} |
| 60 | 0 | 9 | if $set eq 'IGNORE' |
| 63 | 0 | 9 | unless ($v) |
| 67 | 0 | 9 | unless ($set->{$v}) |
| 83 | 0 | 8 | if @_ > 1 |
| 85 | 8 | 0 | if not defined $c or ref $c eq 'HASH' |
| 88 | 0 | 0 | ref $c eq 'ARRAY' ? : |
| 90 | 0 | 0 | unless defined $val |
| 109 | 0 | 7 | unless my $map = $maps->{$tag} |
| 131 | 2 | 2 | if ref $d eq 'ARRAY' |
| 134 | 3 | 1 | if (my $alt = $d->{'alternatives'}) |
| 139 | 4 | 1 | if $set eq 'default' or $set eq 'alternatives' |