blib/lib/Furl/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Furl::PSGI; | ||||||
2 | $Furl::PSGI::VERSION = '0.03'; | ||||||
3 | # ABSTRACT: Furl, but wired to a PSGI app | ||||||
4 | |||||||
5 | 1 | 1 | 54365 | use warnings; | |||
1 | 2 | ||||||
1 | 27 | ||||||
6 | 1 | 1 | 4 | use strict; | |||
1 | 2 | ||||||
1 | 16 | ||||||
7 | |||||||
8 | 1 | 1 | 352 | use Furl::PSGI::HTTP; | |||
1 | 3 | ||||||
1 | 42 | ||||||
9 | |||||||
10 | 1 | 1 | 7 | use parent 'Furl'; | |||
1 | 1 | ||||||
1 | 5 | ||||||
11 | |||||||
12 | |||||||
13 | sub new { | ||||||
14 | 3 | 3 | 1 | 4626 | my $class = shift; | ||
15 | 3 | 16 | bless \(Furl::PSGI::HTTP->new(header_format => Furl::HTTP::HEADERS_AS_HASHREF(), @_)), $class; | ||||
16 | } | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |