Passing/Filter/All.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 13 / 13 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
filter
1.0
CRAP 1.0
« Passing/Exception/Encoding.pm ↑ Summary Passing/Filter/Decoder/Null.pm »
1 package Message::Passing::Filter::All;
2 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 with 'Message::Passing::Role::Filter';
6  
7 sub filter {
8 1 ▶ return;
Subroutine filter: called CC=1 SCAR=0.0
Pod documented
9 }
10  
11  
12 2 1;
13  
14 =head1 NAME
15  
16 Message::Passing::Filter::All - Filter all messages out.
17  
18 =head1 DESCRIPTION
19  
20 This filter just removes all messages, not passing any through.
21  
22 You would normally never want to use this, but it can be useful for
23 testing occasionally.
24  
25 =head1 METHODS
26  
27 =head2 filter
28  
29 Universally returns undef
30  
31 =head1 SPONSORSHIP
32  
33 This module exists due to the wonderful people at Suretec Systems Ltd.
34 <http://www.suretecsystems.com/> who sponsored its development for its
35 VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with
36 the SureVoIP API -
37 <http://www.surevoip.co.uk/support/wiki/api_documentation>
38  
39 =head1 AUTHOR, COPYRIGHT AND LICENSE
40  
41 See L<Message::Passing>.
42  
43 =cut
« Passing/Exception/Encoding.pm ↑ Summary Passing/Filter/Decoder/Null.pm »