t/scripts/app.psgi

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/YATT/Lite/LanguageServer/Protocol.pm ↑ Summary
1 # -*- mode: perl; coding: utf-8 -*-
2 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶use warnings qw(FATAL all NONFATAL misc);
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use FindBin; BEGIN { local @_ = "$FindBin::Bin/.."; do "$FindBin::Bin/../t_lib.pl" }
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 my $app_root = ::dirname(::untaint_any(__FILE__));
7  
8 6 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 6 ▶use YATT::Lite::WebMVC0::SiteApp -as_base;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 {
12 6 my MY $dispatcher = do {
13 6 my @args = (app_ns => 'MyYATT'
14 , app_root => $app_root
15 , doc_root => $app_root);
16 6 MY->new(@args);
17 };
18  
19 6 return $dispatcher->to_app;
20 }
« blib/lib/YATT/Lite/LanguageServer/Protocol.pm ↑ Summary