t/scripts/genperl.ytmpl/1/app.psgi

filter: Statementstmt 94.4% 17 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 92.0% 23 / 25 CC 1 SCAR 0.0
CC
1
Cov
90%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« t/scripts/lint.ytmpl/1/index.yatt ↑ Summary samples/sess_backed/2/app.psgi »
1 # -*- perl -*-
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use FindBin; BEGIN {FindBin->again}
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use YATT::Lite::WebMVC0::SiteApp -as_base;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 my $app_root = $FindBin::Bin;
10 {
11 1 my MY $site = MY->load_factory_for_psgi(
12 $0,
13 doc_root => "$app_root/public",
14 );
15  
16 1 ▶ return $site if MY->want_object;
Branch: 1 branch
BranchTrueFalseTotal
if "YATT::Lite::Factory::Sandbox::S1"->want_object 1 0 1
17  
18 0 return $site->to_app;
19 }
« t/scripts/lint.ytmpl/1/index.yatt ↑ Summary samples/sess_backed/2/app.psgi »