Branch Coverage

blib/lib/App/Framework/Feature/Mail.pm
Criterion Covered Total %
branch 3 32 9.3


line true false branch
210 2 0 if ($app)
290 12 0 unless $content
303 0 0 unless $from
304 0 0 unless $mail_to
305 0 0 unless $host
308 0 0 if (ref $content eq 'ARRAY') { }
0 0 elsif (not ref $content) { }
322 0 0 unless $smtp
331 0 0 if $subject
380 0 6 if ($opts{$opt})
409 0 0 if $this->_caught_error
419 0 0 unless $from and $error_to and $app
430 0 0 if ($this->is_error($error))
435 0 0 if ($this->is_warning($error) and $level eq 'warning' || $level eq 'note')
440 0 0 if ($this->is_note($error) and $level eq 'note')
448 0 0 if ($msg)