Postfix/Base64.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod 100% 7 / 7 totaltotal 100% 39 / 39 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Postfix.pm ↑ Summary Postfix/Null.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package POE::Filter::Postfix::Base64;
5 1 our $VERSION = '0.003';
6  
7  
8 1 ▶use base qw(POE::Filter::Postfix);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use MIME::Base64 qw(encode_base64 decode_base64);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 6 ▶sub attribute_separator { ":" }
Subroutine attribute_separator: called CC=1 SCAR=0.0
Pod documented
12 3 ▶sub attribute_terminator { "\n" }
Subroutine attribute_terminator: called CC=1 SCAR=0.0
Pod documented
13 3 ▶sub request_terminator { "\n" }
Subroutine request_terminator: called CC=1 SCAR=0.0
Pod documented
14  
15 4 ▶sub encode_key { encode_base64($_[1], '') }
Subroutine encode_key: called CC=1 SCAR=0.0
Pod documented
16 4 ▶sub encode_value { encode_base64($_[1], '') }
Subroutine encode_value: called CC=1 SCAR=0.0
Pod documented
17  
18 4 ▶sub decode_key { decode_base64($_[1]) }
Subroutine decode_key: called CC=1 SCAR=0.0
Pod documented
19 4 ▶sub decode_value { decode_base64($_[1]) }
Subroutine decode_value: called CC=1 SCAR=0.0
Pod documented
20  
21 1 1;
22  
23 __END__
« Postfix.pm ↑ Summary Postfix/Null.pm »