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 1.500; | ||||||
2 | # ABSTRACT: happily throw away your mail | ||||||
3 | |||||||
4 | 2 | 2 | 5624 | use Moo; | |||
2 | 2382 | ||||||
2 | 14 | ||||||
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 | 9 | sub send_email { return $_[0]->success } | ||
15 | |||||||
16 | 2 | 2 | 1717 | no Moo; | |||
2 | 5 | ||||||
2 | 9 | ||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |