blib/lib/ASP4/SessionStateManager/NonPersisted.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 1 | 2 | 50.0 |
total | 17 | 18 | 94.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | package ASP4::SessionStateManager::NonPersisted; | ||||||
3 | |||||||
4 | 9 | 9 | 35 | use strict; | |||
9 | 13 | ||||||
9 | 245 | ||||||
5 | 9 | 9 | 33 | use warnings 'all'; | |||
9 | 11 | ||||||
9 | 240 | ||||||
6 | 9 | 9 | 31 | use base 'ASP4::SessionStateManager'; | |||
9 | 10 | ||||||
9 | 3165 | ||||||
7 | |||||||
8 | sub new | ||||||
9 | { | ||||||
10 | 2001 | 2001 | 0 | 5811 | return bless { }, shift; | ||
11 | }# end new() | ||||||
12 | |||||||
13 | *create = *retrieve = \&new; | ||||||
14 | |||||||
15 | 3999 | 3999 | 1 | 4689 | sub save { 1 } | ||
16 | |||||||
17 | 1;# return true: | ||||||
18 |