Lemonldap/NG/Handler/PSGI.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 4 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 96.0% 24 / 25 CC 3 SCAR 6.9
CC
3
Cov
100%
init
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« Lemonldap/NG/Handler/Lib/StatusConstants.pm ↑ Summary Lemonldap/NG/Handler/Main/MsgActions.pm »
1 # LLNG platform class for auto-protected PSGI
2 #
3 # See https://lemonldap-ng.org/documentation/latest/handlerarch
4 package Lemonldap::NG::Handler::PSGI;
5  
6 21 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 21 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 21 ▶use Lemonldap::NG::Handler::PSGI::Main;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 21 extends 'Lemonldap::NG::Handler::Lib::PSGI', 'Lemonldap::NG::Common::PSGI';
11  
12 21 our $VERSION = '2.21.0';
13  
14 sub init {
15 41 ▶ my ( $self, $args ) = @_;
Subroutine init: called CC=3 SCAR=11.0
Pod undocumented
16 41 ▶ $self->api('Lemonldap::NG::Handler::PSGI::Main') unless ( $self->api );
Branch: 1 branch
BranchTrueFalseTotal
unless $self->api 18 23 41
17 41 ▶ return 0 unless $self->Lemonldap::NG::Handler::Lib::PSGI::init($args);
Branch: 1 branch
BranchTrueFalseTotal
unless $self->Lemonldap::NG::Handler::Lib::PSGI::init($args) 2 39 41
18  
19 39 return $self->Lemonldap::NG::Common::PSGI::init( $self->api->localConfig );
20 }
21  
22 21 1;
23 __END__
« Lemonldap/NG/Handler/Lib/StatusConstants.pm ↑ Summary Lemonldap/NG/Handler/Main/MsgActions.pm »