blib/lib/Lemonldap/NG/Portal/Lib/OtherSessions.pm

filter: Statementstmt 71.4% 10 / 14 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 60.0% 12 / 20 CC 2 SCAR 12.5
CC
2
Cov
62%
__ANON__
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
« blib/lib/Lemonldap/NG/Portal/Plugins/ExternalMenu.pm ↑ Summary blib/lib/Lemonldap/NG/Portal/Register/Demo.pm »
1 package Lemonldap::NG::Portal::Lib::OtherSessions;
2  
3 112 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 112 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 112 our $VERSION = '2.0.0';
7  
8 112 has module =>
9 ( is => 'rw', default => 'Lemonldap::NG::Common::Apache::Session' );
10  
11 has moduleOpts => (
12 is => 'rw',
13 lazy => 1,
14 0 ▶ default => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
15 0 ▶ my %opts = %{ $_[0]->{conf}->{globalStorageOptions} || {} };
Condition0%0/2
$_[0]{'conf'}{'globalStorageOptions'} || {}
l!l
00
MC/DC0%0/1
$_[0]{'conf'}{'globalStorageOptions'} || {}
$_[0]{'conf'}{'globalStorageOptions'}
Truth table0%0/2
A
A= $_[0]{'conf'}{'globalStorageOptions'}
Aresult
11
00
16 0 $opts{backend} = $_[0]->{conf}->{globalStorage};
17 0 return \%opts;
18 }
19 112 );
20  
21 112 1;
« blib/lib/Lemonldap/NG/Portal/Plugins/ExternalMenu.pm ↑ Summary blib/lib/Lemonldap/NG/Portal/Register/Demo.pm »