blib/lib/Plack/Handler/HTTP/Server/PSGI.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 90.0% 18 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« blib/lib/Plack/HTTPParser.pm ↑ Summary blib/lib/Plack.pm »
1 package Plack::Handler::HTTP::Server::PSGI;
2 38 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 # for temporary backward compat
5 38 ▶use parent qw( HTTP::Server::PSGI );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 38 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 38 my($class, %args) = @_;
9 38 bless { %args }, $class;
10 }
11  
12 37 ▶sub run {
Subroutine run: called CC=1 SCAR=0.0
Pod undocumented
13 37 my($self, $app) = @_;
14 37 $self->_server->run($app);
15 }
16  
17 37 ▶sub _server {
Subroutine _server: called CC=1 SCAR=0.0
18 37 my $self = shift;
19 37 HTTP::Server::PSGI->new(%$self);
20 }
21  
22 38 1;
23  
24 __END__
« blib/lib/Plack/HTTPParser.pm ↑ Summary blib/lib/Plack.pm »