File Coverage

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.600;
2             # ABSTRACT: happily throw away your mail
3              
4 2     2   2089 use Moo;
  2         3719  
  2         9  
5             with 'Email::Sender::Transport';
6              
7             #pod =head1 DESCRIPTION
8             #pod
9             #pod This class implements L. Any mail sent through a
10             #pod DevNull transport will be silently discarded.
11             #pod
12             #pod =cut
13              
14 1     1 0 8 sub send_email { return $_[0]->success }
15              
16 2     2   1798 no Moo;
  2         9  
  2         9  
17             1;
18              
19             __END__