| blib/lib/Log/Report/Translator/Context.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 28 | 57.1 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 8 | 8 | length "$1$3" ? : |
| 47 | 0 | 8 | unless @$tags |
| 59 | 0 | 9 | unless my $map = $maps->{$tag} |
| 64 | 0 | 9 | if $set eq 'IGNORE' |
| 67 | 0 | 9 | unless ($v) |
| 71 | 0 | 9 | unless ($set->{$v}) |
| 87 | 0 | 8 | if @_ > 1 |
| 89 | 8 | 0 | if not defined $c or ref $c eq 'HASH' |
| 92 | 0 | 0 | ref $c eq 'ARRAY' ? : |
| 94 | 0 | 0 | unless defined $val |
| 113 | 0 | 7 | unless my $map = $maps->{$tag} |
| 135 | 2 | 2 | if ref $d eq 'ARRAY' |
| 138 | 3 | 1 | if (my $alt = $d->{'alternatives'}) |
| 143 | 4 | 1 | if $set eq 'default' or $set eq 'alternatives' |