blib/lib/HTTP/Response/Maker/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTTP::Response::Maker::PSGI; | ||||||
2 | 2 | 2 | 693 | use strict; | |||
2 | 4 | ||||||
2 | 101 | ||||||
3 | 2 | 2 | 12 | use warnings; | |||
2 | 4 | ||||||
2 | 69 | ||||||
4 | 2 | 2 | 1786 | use parent 'HTTP::Response::Maker::Base'; | |||
2 | 708 | ||||||
2 | 11 | ||||||
5 | |||||||
6 | sub _make_response { | ||||||
7 | 8 | 8 | 20 | my ($class, $code, $message, $headers, $content) = @_; | |||
8 | 8 | 86 | return [ $code, $headers, [ $content ] ]; | ||||
9 | } | ||||||
10 | |||||||
11 | 1; | ||||||
12 | |||||||
13 | __END__ |