| blib/lib/Hypersonic/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 35 | 57.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 431 | 0 | 0 | 29 | $COMPILED and defined $code |
| 772 | 0 | 0 | 1 | $COMPILED and defined &Hypersonic::Response::_jit_http_date |
| line | l | !l | condition |
|---|---|---|---|
| 49 | 0 | 2 | $opts{'cache_dir'} // "_hypersonic_cache/response" |
| 417 | 1 | 84 | $opts{'status'} // 200 |
| 418 | 1 | 84 | $opts{'headers'} // {} |
| 419 | 1 | 84 | $opts{'body'} // "" |
| 517 | 0 | 0 | $code // 302 |
| 616 | 3 | 0 | $message // "Bad Request" |
| 625 | 1 | 1 | $message // "Unauthorized" |
| 634 | 1 | 1 | $message // "Forbidden" |
| 643 | 1 | 1 | $message // "Not Found" |
| 652 | 1 | 0 | $message // "Conflict" |
| 661 | 1 | 0 | $message // "Unprocessable Entity" |
| 680 | 1 | 1 | $message // "Internal Server Error" |
| 740 | 0 | 0 | $status_text{$status} // "Unknown" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 777 | 0 | 0 | 0 | $time //= time |