Authentication/Pragmas.pm

filter: Statementstmt 100% 78 / 78 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 22 / 22 Podpod n/a totaltotal 100% 100 / 100 CC 3 SCAR 2.2
CC
3
Cov
100%
import
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Authentication/Handler/Auth.pm ↑ Summary Authentication/Handler/AddID.pm »
1 package Mail::Milter::Authentication::Pragmas;
2 142 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 142 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 142 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 # ABSTRACT: Setup system wide pragmas
6 142 our $VERSION = '4.20261112'; # VERSION
7 142 ▶use base 'Exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 142 require feature;
9 142 ▶use open ':std', ':encoding(UTF-8)';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 142 ▶use Import::Into;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 142 ▶use Mail::Milter::Authentication::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 142 ▶use Mail::Milter::Authentication::Config;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 142 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 142 ▶use Clone;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 142 ▶use English;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 142 ▶use File::Slurp;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 142 ▶use JSON::XS;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 142 ▶use Module::Load;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 142 ▶use Module::Loaded;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 142 ▶use Mail::AuthenticationResults 1.20200108;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 142 ▶use Mail::AuthenticationResults::Header;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 142 ▶use Mail::AuthenticationResults::Header::AuthServID;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 142 ▶use Mail::AuthenticationResults::Header::Comment;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 142 ▶use Mail::AuthenticationResults::Header::Entry;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 142 ▶use Mail::AuthenticationResults::Header::SubEntry;
Subroutine BEGIN: called CC=1 SCAR=0.0
27  
28  
29 2193 ▶sub import {
Subroutine import: called CC=3 SCAR=11.0
30 2193 strict->import();
31 2193 warnings->import();
32 2193 feature->import($_) for ( qw{ postderef signatures } );
33 2193 warnings->unimport($_) for ( qw{ experimental::postderef experimental::signatures } );
34  
35 2193 Mail::Milter::Authentication::Config->import::into(scalar caller,qw{ set_config get_config setup_config });
36 2193 Mail::Milter::Authentication::Constants->import::into(scalar caller);
37  
38 2193 Carp->import::into(scalar caller);
39 2193 Clone->import::into(scalar caller,qw{ clone });
40 2193 English->import::into(scalar caller);
41 2193 File::Slurp->import::into(scalar caller, qw{ read_file write_file } );
42 2193 JSON::XS->import::into(scalar caller);
43 2193 Module::Load->import::into(scalar caller);
44 2193 Module::Loaded->import::into(scalar caller);
45 }
46  
47 142 1;
48  
49 __END__
« Authentication/Handler/Auth.pm ↑ Summary Authentication/Handler/AddID.pm »