lib/Mojolicious/Plugin/MailException.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 15 | 53.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
223 | 2 | 0 | 1 | ref $e and $e->isa('Mojo::Exception') |
line | l | !l | condition |
---|---|---|---|
202 | 0 | 1 | $conf->{'stack'} || 20 |
204 | 1 | 0 | $conf->{'send'} || sub { $_[0]->send; } |
208 | 1 | 0 | $conf->{'headers'} || {} |
209 | 0 | 1 | $conf->{'from'} || 'root@localhost' |
210 | 0 | 1 | $conf->{'to'} || 'webmaster@localhost' |
271 | 1 | 0 | $et ||= 'exception' |