Lemonldap/NG/Handler/PSGI/Router.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 77.2% 17 / 22 CC 2 SCAR 4.5
CC
2
Cov
88%
init
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« Lemonldap/NG/Handler/Main/MsgActions.pm ↑ Summary Lemonldap/NG/Handler/Server.pm »
1 package Lemonldap::NG::Handler::PSGI::Router;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 require Lemonldap::NG::Handler::PSGI::Main;
6  
7 1 extends 'Lemonldap::NG::Handler::Lib::PSGI',
8 'Lemonldap::NG::Common::PSGI::Router';
9  
10 1 our $VERSION = '2.0.11';
11  
12 2 ▶sub init {
Subroutine init: called CC=2 SCAR=7.6
Pod undocumented
13 2 $_[0]->api('Lemonldap::NG::Handler::PSGI::Main');
14 2 ▶ my $tmp = ( $_[0]->Lemonldap::NG::Common::PSGI::Router::init( $_[1] )
Condition33%1/3
$_[0]->Lemonldap::NG::Common::PSGI::Router::init($_[1]) && $_[0]->Lemonldap::NG::Handler::Lib::PSGI::init($_[1])
!ll&&!rl&&r
002
MC/DC0%0/2
$_[0]->Lemonldap::NG::Common::PSGI::Router::init($_[1]) && $_[0]->Lemonldap::NG::Handler::Lib::PSGI::init($_[1])
$_[0]->Lemonldap::NG::Common::PSGI::Router::init($_[1]) $_[0]->Lemonldap::NG::Handler::Lib::PSGI::init($_[1])
Truth table33%1/3
A && B
A= $_[0]->Lemonldap::NG::Common::PSGI::Router::init($_[1])B= $_[0]->Lemonldap::NG::Handler::Lib::PSGI::init($_[1])
ABresult
0X0
100
111
15 and $_[0]->Lemonldap::NG::Handler::Lib::PSGI::init( $_[1] ) );
16 2 return $tmp;
17 }
18  
19 1 1;
20 __END__
« Lemonldap/NG/Handler/Main/MsgActions.pm ↑ Summary Lemonldap/NG/Handler/Server.pm »