| blib/lib/Email/Sender/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 0 | 2 | unless defined $transport_class and length $transport_class |
| 54 | 7 | 2 | if $DEFAULT_TRANSPORT |
| 59 | 2 | 0 | if ($transport) { } |
| 74 | 0 | 0 | if $transport |
| 106 | 1 | 5 | if ($arg->{'transport'}) |
| 108 | 0 | 1 | unless $class->_default_was_from_env |
| 111 | 0 | 6 | unless $transport->is_simple |
| 116 | 2 | 4 | unless @$to |
| 117 | 0 | 4 | unless defined $from |
| 135 | 1 | 0 | if &try(sub { $error->isa('Email::Sender::Failure'); } ) |
| 144 | 5 | 1 | unless (@$to) |
| 155 | 6 | 0 | unless (defined $from) |