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