| blib/lib/Email/Sender/Transport/DevNull.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 7 | 7 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 10 | 11 | 90.9 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Email::Sender::Transport::DevNull 2.500; | ||||||
| 2 | # ABSTRACT: happily throw away your mail | ||||||
| 3 | |||||||
| 4 | 2 | 2 | 2611 | use Moo; | |||
| 2 | 3013 | ||||||
| 2 | 13 | ||||||
| 5 | with 'Email::Sender::Transport'; | ||||||
| 6 | |||||||
| 7 | #pod =head1 DESCRIPTION | ||||||
| 8 | #pod | ||||||
| 9 | #pod This class implements L |
||||||
| 10 | #pod DevNull transport will be silently discarded. | ||||||
| 11 | #pod | ||||||
| 12 | #pod =cut | ||||||
| 13 | |||||||
| 14 | 1 | 1 | 0 | 10 | sub send_email { return $_[0]->success } | ||
| 15 | |||||||
| 16 | 2 | 2 | 2094 | no Moo; | |||
| 2 | 4 | ||||||
| 2 | 11 | ||||||
| 17 | 1; | ||||||
| 18 | |||||||
| 19 | __END__ |