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.02'; | ||||||
3 | # ABSTRACT: Furl, but wired to a PSGI app | ||||||
4 | |||||||
5 | 1 | 1 | 220921 | use warnings; | |||
1 | 2 | ||||||
1 | 32 | ||||||
6 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 21 | ||||||
7 | |||||||
8 | 1 | 1 | 409 | use Furl::PSGI::HTTP; | |||
1 | 3 | ||||||
1 | 68 | ||||||
9 | |||||||
10 | 1 | 1 | 11 | use parent 'Furl'; | |||
1 | 2 | ||||||
1 | 5 | ||||||
11 | |||||||
12 | |||||||
13 | sub new { | ||||||
14 | 3 | 3 | 1 | 4178 | my $class = shift; | ||
15 | 3 | 21 | bless \(Furl::PSGI::HTTP->new(header_format => Furl::HTTP::HEADERS_AS_HASHREF(), @_)), $class; | ||||
16 | } | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |