lib/Pod/POM/Web/PSGI.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Pod::POM::Web::PSGI;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION;
7 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 $VERSION = '0.002';
9 }
10  
11 2 ▶use CGI::Emulate::PSGI;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 ▶use Pod::POM::Web;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # The PSGI application, returned as the last value
15 # Pod::POM::Web is already designed as a persistent webapp, so that's easy
16 # (for the curious who wants an example of how to wrap a generic CGI application
17 # see on BackPAN how Pod::POM::Web::PSGI 0.001 was implemented)
18 1 ▶CGI::Emulate::PSGI->handler(sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
19 1 Pod::POM::Web->handler
20 })
21 2 __END__
↑ Summary