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