blib/lib/HTTP/Response/Maker/HTTPResponse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 19 | 19 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTTP::Response::Maker::HTTPResponse; | ||||||
2 | 1 | 1 | 5 | use strict; | |||
1 | 18 | ||||||
1 | 31 | ||||||
3 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 28 | ||||||
4 | 1 | 1 | 766 | use parent 'HTTP::Response::Maker::Base'; | |||
1 | 271 | ||||||
1 | 3 | ||||||
5 | 1 | 1 | 35 | use HTTP::Response; | |||
1 | 1 | ||||||
1 | 61 | ||||||
6 | |||||||
7 | sub _make_response { | ||||||
8 | 1 | 1 | 4 | my ($class, $code, $message, $headers, $content) = @_; | |||
9 | 1 | 9 | return HTTP::Response->new($code, $message, $headers, $content); | ||||
10 | } | ||||||
11 | |||||||
12 | 1; | ||||||
13 | |||||||
14 | __END__ |