| blib/lib/Exception/Reporter/Sender/Email.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 18 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 58 | 2 | 0 | 0 | not $from and $arg->{'from'} =~ /\A[-.0-9a-zA-Z]+\z/ |
| line | l | !l | condition |
|---|---|---|---|
| 64 | 0 | 2 | $arg->{'env_to'} || [map({$_->address;} @$to)] |
| 190 | 3 | 6 | $summary->{'charset'} || 'utf-8' |
| 229 | 3 | 0 | $summaries->[0][1][0]{'ident'} && $summaries->[0][1][0]{'ident'} || '(unknown exception)' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 2 | 0 | 0 | $arg->{'from'} || Carp::confess(q[missing 'from' argument]) |
| 51 | 2 | 0 | 0 | $arg->{'to'} || Carp::confess(q[missing 'to' argument]) |
| 63 | 0 | 2 | 0 | $arg->{'env_from'} || $from->address |