| 1 | package Plack::App::PSGIBin; | ||||||||||||||||||||
| 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 | 1 | ▶ | use parent qw/Plack::App::File/; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 1 | ▶ | use Plack::Util; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | 0 | ▶ | sub allow_path_info { 1 } | ||||||||||||||||||
|
Subroutine
allow_path_info: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 1 | ▶ | sub serve_path { | ||||||||||||||||||
|
Subroutine
serve_path: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||||||||||||
| 10 | 1 | my($self, $env, $file) = @_; | |||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 1 | local @{$env}{qw(SCRIPT_NAME PATH_INFO)} = @{$env}{qw( plack.file.SCRIPT_NAME plack.file.PATH_INFO )}; | |||||||||||||||||||
| 13 | |||||||||||||||||||||
| 14 | 1 | ▶ | my $app = $self->{_compiled}->{$file} ||= Plack::Util::load_psgi($file); | ||||||||||||||||||
|
Condition33%1/3
$self->{"_compiled"}{$file} ||= Plack::Util::load_psgi($file)
MC/DC0%0/2
$self->{"_compiled"}{$file} ||= Plack::Util::load_psgi($file)
$self->{"_compiled"}{$file}
Plack::Util::load_psgi($file)
Truth table33%1/3
A ||= B
A= $self->{"_compiled"}{$file}B= Plack::Util::load_psgi($file)
| |||||||||||||||||||||
| 15 | 1 | $app->($env); | |||||||||||||||||||
| 16 | } | ||||||||||||||||||||
| 17 | |||||||||||||||||||||
| 18 | 1 | 1; | |||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | __END__ | ||||||||||||||||||||