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