| lib/Mail/TempAddress.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 28 | 89.2 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 16 | if $self->request->message->header('X-MTA-Seen') |
| 29 | 4 | 12 | if $command |
| 35 | 1 | 11 | unless $address |
| 36 | 4 | 7 | if $key |
| 37 | 7 | 0 | if $address |
| 40 | 8 | 4 | unless $@ |
| 55 | 2 | 6 | if $expires and $expires < time |
| 79 | 1 | 5 | if @all_cc |
| 81 | 4 | 2 | if $desc |
| 105 | 1 | 3 | unless my $to = $address->get_sender($key) |
| 128 | 1 | 9 | unless $addresses->exists($alias) |
| 132 | 8 | 1 | wantarray ? : |
| 141 | 3 | 7 | $user =~ s/$expansion_pattern// ? : |
| 142 | 10 | 0 | wantarray ? : |