| blib/lib/AWS/Lambda/ResponseWriter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 7 | 21 | 33.3 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 20 | 1 | 0 | 0 | @_ == 1 and ref $_[0] eq "HASH" | 
| line | l | !l | condition | 
|---|---|---|---|
| 27 | 1 | 0 | $args{'response_url'} // die("\$LAMBDA_TASK_ROOT is not found") | 
| 28 | 0 | 1 | $args{'content_type'} // "application/json" | 
| 143 | 0 | 0 | &blessed($error) // "Error" | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 18 | 0 | 1 | 0 | ref $proto || $proto | 
| 26 | 1 | 0 | 0 | $args{'http'} // "HTTP::Tiny"->new | 
| 77 | 0 | 1 | 0 | $handle ||= $http->_open_handle($request, $scheme, $host, $port, $peer) | 
| 112 | 0 | 0 | 2 | not defined $data or length $data == 0 |