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   778 use strict;
  1         3  
  1         43  
4 1     1   6 use warnings;
  1         2  
  1         31  
5              
6 1     1   5 use FindBin '$Bin';
  1         2  
  1         126  
7 1     1   515 use Plack::Builder;
  1         5738  
  1         86  
8              
9 1     1   8 use lib "$Bin/../lib";
  1         2  
  1         8  
10              
11 1     1   652 use RESTApp;
  1         4  
  1         85  
12              
13             builder {
14             mount '/api' => RESTApp->new;
15             };