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 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 20 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 20 ▶use Lemonldap::NG::Handler::PSGI::Main;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 20 extends 'Lemonldap::NG::Handler::Lib::PSGI', 'Lemonldap::NG::Common::PSGI';
11  
12 20 our $VERSION = '2.21.0';
13  
14 sub init {
15 39 ▶ my ( $self, $args ) = @_;
Subroutine init: called CC=3 SCAR=11.0
Pod undocumented
16 39 ▶ $self->api('Lemonldap::NG::Handler::PSGI::Main') unless ( $self->api );
Branch: 1 branch
BranchTrueFalseTotal
unless $self->api 16 23 39
17 39 ▶ 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 37 39
18  
19 37 return $self->Lemonldap::NG::Common::PSGI::init( $self->api->localConfig );
20 }
21  
22 20 1;
23 __END__
« Lemonldap/NG/Handler/Lib/StatusConstants.pm ↑ Summary Lemonldap/NG/Handler/Main/MsgActions.pm »