Authentication/Handler/AddID.pm

filter: Statementstmt 94.7% 18 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 85.7% 24 / 28 CC 1 SCAR 1.3
CC
1
Cov
95%
default_config
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Authentication/Pragmas.pm ↑ Summary Authentication/Handler/TestTimeout.pm »
1 package Mail::Milter::Authentication::Handler::AddID;
2 2 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use Mail::Milter::Authentication::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 # ABSTRACT: Example handler class
7 2 our $VERSION = '4.20261116'; # VERSION
8 2 ▶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 1 ▶sub eom_callback {
Subroutine eom_callback: called CC=1 SCAR=0.0
Pod undocumented
15 1 my ($self) = @_;
16 1 $self->append_header('X-Authentication-Milter','Header added by Authentication Milter');
17 }
18  
19 2 1;
20  
21 __END__
« Authentication/Pragmas.pm ↑ Summary Authentication/Handler/TestTimeout.pm »