Session/Cleanup.pm

filter: Statementstmt 60.0% 9 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 100% 1 / 1 totaltotal 60.0% 12 / 20 CC 1 SCAR 4.1
CC
1
Cov
60%
new
2.0
DESTROY
2.0
BEGIN
1.0
CRAP 1.5
« Session/Store/Null.pm ↑ Summary Session/Store.pm »
1 package Plack::Session::Cleanup;
2 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 17 our $VERSION = '0.36';
6 17 our $AUTHORITY = 'cpan:STEVAN';
7  
8 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
9 0 my $class = shift;
10 0 my $subref = shift;
11 0 my $self = bless $subref, $class;
12 0 return $self;
13 }
14  
15 0 ▶sub DESTROY {
Subroutine DESTROY: not called CC=1 SCAR=6.9
16 0 my $self = shift;
17 0 $self->();
18 }
19  
20 17 1;
21  
22 __END__
« Session/Store/Null.pm ↑ Summary Session/Store.pm »