File Coverage

blib/lib/Plack/Handler/Porbo.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 15 17 88.2


line stmt bran cond sub pod time code
1             package Plack::Handler::Porbo;
2 1     1   2895 use strict;
  1         2  
  1         64  
3 1     1   398 use Porbo::Server;
  1         2  
  1         90  
4              
5             sub new {
6 1     1 0 36 my $class = shift;
7 1         8 bless {@_}, $class;
8             }
9              
10             sub run {
11 1     1 0 8 my ($self, $app) = @_;
12 1         2 Porbo::Server->new(%{$self})->run($app);
  1         9  
13             }
14              
15             1;