Memcached.pm

filter: Statementstmt 100% 31 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 1 totaltotal 97.5% 39 / 40 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Store/Memcached.pm ↑ Summary
1 package Apache::Session::Memcached;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 $VERSION = '0.03';
6  
7 2 ▶use base qw(Apache::Session);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 ▶use Apache::Session::Generate::MD5;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use Apache::Session::Lock::Null;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use Apache::Session::Serialize::Storable;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 ▶use Apache::Session::Store::Memcached;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 2 ▶sub populate {
Subroutine populate: called CC=1 SCAR=0.0
Pod undocumented
15 2 my $self = shift;
16 2 $self->{object_store} = Apache::Session::Store::Memcached->new($self);
17 2 $self->{lock_manager} = Apache::Session::Lock::Null->new($self);
18 2 $self->{generate} = \&Apache::Session::Generate::MD5::generate;
19 2 $self->{validate} = \&Apache::Session::Generate::MD5::validate;
20 2 $self->{serialize} = \&Apache::Session::Serialize::Storable::serialize;
21 2 $self->{unserialize} = \&Apache::Session::Serialize::Storable::unserialize;
22 2 return $self;
23 }
24  
25 2 1;
26 __END__
« Store/Memcached.pm ↑ Summary