MtPolicyd/Connection.pm

filter: Statementstmt 66.6% 8 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 3 totaltotal 52.6% 10 / 19 CC 1 SCAR 4.1
CC
1
Cov
67%
reconnect
2.0
shutdown
2.0
BEGIN
1.0
CRAP 1.5
« MtPolicyd/Plugin/Result.pm ↑ Summary MtPolicyd/Plugin/Role/Scoring.pm »
1 package Mail::MtPolicyd::Connection;
2  
3 6 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 6 our $VERSION = '2.01'; # VERSION
6 # ABSTRACT: base class for mtpolicyd connection modules
7  
8 6 has 'name' => ( is => 'ro', isa => 'Str', required => 1 );
9  
10 sub init {
11 5 ▶ my $self = shift;
Subroutine init: called CC=1 SCAR=0.0
Pod undocumented
12 5 return;
13 }
14  
15 sub reconnect {
16 0 ▶ my $self = shift;
Subroutine reconnect: not called CC=1 SCAR=6.9
Pod undocumented
17 0 return;
18 }
19  
20 sub shutdown {
21 0 ▶ my $self = shift;
Subroutine shutdown: not called CC=1 SCAR=6.9
Pod undocumented
22 0 return;
23 }
24  
25 6 1;
26  
27 __END__
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34  
35 Mail::MtPolicyd::Connection - base class for mtpolicyd connection modules
36  
37 =head1 VERSION
38  
39 version 2.01
40  
41 =head1 AUTHOR
42  
43 Markus Benning <ich@markusbenning.de>
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
48  
49 This is free software, licensed under:
50  
51 The GNU General Public License, Version 2, June 1991
52  
53 =cut
« MtPolicyd/Plugin/Result.pm ↑ Summary MtPolicyd/Plugin/Role/Scoring.pm »