Branch Coverage

blib/lib/Email/Send.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
126 144 4 unless @_ > 1
128 4 0 @_ == 1 ? :
158 1 18 unless eval { do { $_[0]->isa('Email::Send') } }
162 2 16 unless $simple
164 2 14 if $self->message_modifier
169 14 2 if ($self->mailer)
189 6 1 if $self->mailer_available($_)
213 3 22 unless $invocant
215 1 21 unless $invocant->can('is_available')
219 1 20 unless $test
226 1 17 unless defined $message
227 2 15 if UNIVERSAL::isa($message, 'Email::Simple')
228 13 2 unless ref $message
230 1 1 if eval { do { require Email::Abstract } }
237 4 39 if &Scalar::Util::blessed($mailer)
240 33 6 exists $self->_plugin_list->{$mailer} ? :
244 3 36 unless eval "require $package"
252 2 14 unless $test
263 1 1 if $sent