Branch Coverage

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


line true false branch
205 0 1 unless 'CODE' eq ref $cb
212 0 1 unless 'HASH' eq ref $headers
223 2 1 unless (ref $e and $e->isa('Mojo::Exception'))
232 2 0 if $e->can('inspect')
242 1 3 unless $@
244 1 2 unless ($e)
247 1 0 if $e->can('inspect')
253 1 2 if ref $e->{'local_headers'}
257 0 3 unless eval { do { local $SIG{'CHLD'} = 'IGNORE'; local $SIG{'__DIE__'}; &$cb($mail, $e); 1 } }
276 1 0 if $e->can('inspect')