File Coverage

examples/sample-app/script/restapp.psgi
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/env perl
2              
3 1     1   751 use strict;
  1         3  
  1         29  
4 1     1   5 use warnings;
  1         2  
  1         26  
5              
6 1     1   5 use FindBin '$Bin';
  1         2  
  1         123  
7 1     1   521 use Plack::Builder;
  1         5715  
  1         87  
8              
9 1     1   8 use lib "$Bin/../lib";
  1         2  
  1         7  
10              
11 1     1   646 use RESTApp;
  1         4  
  1         83  
12              
13             builder {
14             mount '/api' => RESTApp->new;
15             };