Engine/Role/ResponseWriter/ResponseLine.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 SCAR 6.9
CC
1
Cov
0%
response_line
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package HTTP::Engine::Role::ResponseWriter::ResponseLine;
2 use Any::Moose '::Role';
3 use HTTP::Status ();
4  
5 sub response_line {
6 my ($self, $res) = @_;
7  
8 join(" ", $res->protocol, $res->status, HTTP::Status::status_message($res->status));
9 }
10  
11 1;