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   616 use strict;
  1         3  
  1         24  
4 1     1   4 use warnings;
  1         1  
  1         22  
5              
6 1     1   4 use FindBin '$Bin';
  1         1  
  1         94  
7 1     1   391 use Plack::Builder;
  1         4540  
  1         69  
8              
9 1     1   6 use lib "$Bin/../lib";
  1         2  
  1         5  
10              
11 1     1   509 use RESTApp;
  1         3  
  1         95  
12              
13             builder {
14             mount '/api' => RESTApp->new;
15             };