Authentication/Handler/AddID.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 2 totaltotal 75.0% 21 / 28 CC 1 SCAR 2.5
CC
1
Cov
84%
default_config
2.0
eom_callback
2.0
BEGIN
1.0
CRAP 1.3
« Authentication/Handler/Auth.pm ↑ Summary Authentication/Pragmas.pm »
1 package Mail::Milter::Authentication::Handler::AddID;
2 1 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Mail::Milter::Authentication::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 # ABSTRACT: Example handler class
7 1 our $VERSION = '4.20261111'; # VERSION
8 1 ▶use base 'Mail::Milter::Authentication::Handler';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 0 ▶sub default_config {
Subroutine default_config: not called CC=1 SCAR=6.9
Pod undocumented
11 0 return {};
12 }
13  
14 0 ▶sub eom_callback {
Subroutine eom_callback: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my ($self) = @_;
16 0 $self->append_header('X-Authentication-Milter','Header added by Authentication Milter');
17 }
18  
19 1 1;
20  
21 __END__
« Authentication/Handler/Auth.pm ↑ Summary Authentication/Pragmas.pm »