Branch Coverage

lib/Mojolicious/Plugin/MailException.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
191 0 1 unless 'CODE' eq ref $cb
198 0 1 unless 'HASH' eq ref $headers
209 2 1 unless (ref $e and $e->isa('Mojo::Exception'))
218 2 0 if $e->can('inspect')
228 1 3 unless $@
230 1 2 unless ($e)
233 1 0 if $e->can('inspect')
239 1 2 if ref $e->{'local_headers'}
243 0 3 unless eval { do { local $SIG{'CHLD'} = 'IGNORE'; local $SIG{'__DIE__'}; &$cb($mail, $e); 1 } }
262 1 0 if $e->can('inspect')