Plack/Handler/Martian.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 75.0% 6 / 8 CC 1 SCAR 1.4
CC
1
Cov
67%
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
↑ Summary Martian.pm »
1 package Plack::Handler::Martian;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Martian::Server;
Subroutine BEGIN: called CC=1 SCAR=2.6
5  
6 sub new
7 {
8 my $class = shift;
9 bless { @_ }, $class;
10 }
11  
12 sub run
13 {
14 my ($self, $app) = @_;
15 Martian::Server->new->run($app, {%$self});
16 }
17  
18 1;
19  
20 __END__
↑ Summary Martian.pm »