blib/lib/Email/Sender/Transport/DevNull.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 92.3% 12 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
send_email
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Email/Sender/Transport.pm ↑ Summary blib/lib/Email/Sender.pm »
1 package Email::Sender::Transport::DevNull 2.603;
2 # ABSTRACT: happily throw away your mail
3  
4 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 with 'Email::Sender::Transport';
6  
7 #pod =head1 DESCRIPTION
8 #pod
9 #pod This class implements L<Email::Sender::Transport>. Any mail sent through a
10 #pod DevNull transport will be silently discarded.
11 #pod
12 #pod =cut
13  
14 1 ▶sub send_email { return $_[0]->success }
Subroutine send_email: called CC=1 SCAR=0.0
Pod undocumented
15  
16 2 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 1;
18  
19 __END__
« blib/lib/Email/Sender/Transport.pm ↑ Summary blib/lib/Email/Sender.pm »