samples/sess_backed/2/app.psgi

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 92.5% 25 / 27 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« t/scripts/genperl.ytmpl/1/app.psgi ↑ Summary t/scripts/render.ytmpl/2/index.yatt »
1 # -*- perl -*-
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use FindBin;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use lib "$FindBin::Bin/lib", do {
Subroutine BEGIN: called CC=1 SCAR=0.0
5 # Below finds lib/YATT and adds it to @INC. Usually not required for your App.
6 1 do "$FindBin::Bin/util/find_yatt_lib.pl";
7 1 };
8  
9 1 ▶use YATT::Lite::WebMVC0::SiteApp -as_base;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use YATT::Lite::WebMVC0::Partial::Session2;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 {
13 1 ▶ my $site = MY->load_factory_for_psgi($0, environment => $ENV{PLACK_ENV} // 'development');
Condition50%1/2
$ENV{"PLACK_ENV"} // "development"
l!l
01
MC/DC0%0/1
$ENV{"PLACK_ENV"} // "development"
$ENV{"PLACK_ENV"}
Truth table50%1/2
A
A= $ENV{"PLACK_ENV"}
Aresult
11
00
14  
15 1 $site->to_app;
16 }
« t/scripts/genperl.ytmpl/1/app.psgi ↑ Summary t/scripts/render.ytmpl/2/index.yatt »