MtPolicyd/SessionCache/Base.pm

filter: Statementstmt 38.4% 5 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 20.0% 1 / 5 Podpod 0.0% 0 / 4 totaltotal 27.2% 6 / 22 CC 1 SCAR 5.9
CC
1
Cov
38%
retrieve_session
2.0
store_session
2.0
init
2.0
CRAP 1.8
« MtPolicyd/Profiler/Timer.pm ↑ Summary MtPolicyd/Connection/Memcached.pm »
1 package Mail::MtPolicyd::SessionCache::Base;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 our $VERSION = '2.01'; # VERSION
6 # ABSTRACT: base class for session cache adapters
7  
8 sub retrieve_session {
9 0 ▶ my ($self, $instance ) = @_;
Subroutine retrieve_session: not called CC=1 SCAR=6.9
Pod undocumented
10 0 return {};
11 }
12  
13 sub store_session {
14 0 ▶ my ($self, $session ) = @_;
Subroutine store_session: not called CC=1 SCAR=6.9
Pod undocumented
15 0 return;
16 }
17  
18 sub init {
19 0 ▶ my ( $self ) = @_;
Subroutine init: not called CC=1 SCAR=6.9
Pod undocumented
20 0 return;
21 }
22  
23 sub shutdown {
24 0 ▶ my ( $self ) = @_;
Subroutine shutdown: not called CC=1 SCAR=6.9
Pod undocumented
25 0 return;
26 }
27  
28 2 1;
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 Mail::MtPolicyd::SessionCache::Base - base class for session cache adapters
39  
40 =head1 VERSION
41  
42 version 2.01
43  
44 =head1 AUTHOR
45  
46 Markus Benning <ich@markusbenning.de>
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
51  
52 This is free software, licensed under:
53  
54 The GNU General Public License, Version 2, June 1991
55  
56 =cut
« MtPolicyd/Profiler/Timer.pm ↑ Summary MtPolicyd/Connection/Memcached.pm »