GX/Session/Store.pm

filter: Statementstmt 66.6% 6 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 14.2% 1 / 7 Podpod 100% 4 / 4 totaltotal 55.0% 11 / 20 CC 1 SCAR 2.5
CC
1
Cov
67%
__ANON__
2.0
_initialize_serializer
2.0
BEGIN
1.0
CRAP 1.3
« GX/HTTP/Response/Cookies.pm ↑ Summary GX/Session/Tracker/Cookie.pm »
1 # ----------------------------------------------------------------------------------------------------------------------
2 # GX Framework (c) 2009-2011 Jörg A. Uzarek <uzarek@runlevelnull.de>
3 # File: GX/Session/Store.pm
4 # ----------------------------------------------------------------------------------------------------------------------
5  
6 package GX::Session::Store;
7  
8  
9 # ----------------------------------------------------------------------------------------------------------------------
10 # Class setup
11 # ----------------------------------------------------------------------------------------------------------------------
12  
13 3 ▶use GX::Class::Object;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 has 'serializer' => (
16 isa => 'Object',
17 0 ▶ constraint => sub { $_->isa( 'GX::Serializer' ) },
Subroutine __ANON__: not called CC=1 SCAR=6.9
18 3 initialize => 1,
19 initializer => '_initialize_serializer',
20 accessor => { type => 'get' }
21 );
22  
23 3 build;
24  
25  
26 # ----------------------------------------------------------------------------------------------------------------------
27 # Public methods
28 # ----------------------------------------------------------------------------------------------------------------------
29  
30 0 ▶sub delete {
Subroutine delete: not called CC=1 SCAR=0.0
Pod documented
31  
32 # Abstract method
33  
34 }
35  
36 0 ▶sub load {
Subroutine load: not called CC=1 SCAR=0.0
Pod documented
37  
38 # Abstract method
39  
40 }
41  
42 0 ▶sub save {
Subroutine save: not called CC=1 SCAR=0.0
Pod documented
43  
44 # Abstract method
45  
46 }
47  
48 0 ▶sub update {
Subroutine update: not called CC=1 SCAR=0.0
Pod documented
49  
50 # Abstract method
51  
52 }
53  
54  
55 # ----------------------------------------------------------------------------------------------------------------------
56 # Private methods
57 # ----------------------------------------------------------------------------------------------------------------------
58  
59 0 ▶sub _initialize_serializer {
Subroutine _initialize_serializer: not called CC=1 SCAR=6.9
60  
61 0 require GX::Serializer::Storable;
62  
63 0 return GX::Serializer::Storable->new;
64  
65 }
66  
67  
68 3 1;
69  
70 __END__
« GX/HTTP/Response/Cookies.pm ↑ Summary GX/Session/Tracker/Cookie.pm »