| blib/lib/WWW/Suffit/Plugin/CommonHelpers.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 39 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 277 | 0 | 0 | 0 | defined $trustedproxies and is_array_ref($trustedproxies) |
| 0 | 0 | 0 | defined $trustedproxies and is_array_ref($trustedproxies) and $self->req->can("trusted_proxies") |
| line | l | !l | condition |
|---|---|---|---|
| 147 | 0 | 0 | $opts //= {} |
| 167 | 0 | 0 | pop @_ // "Internal Server Error" |
| 168 | 0 | 0 | shift @_ || 500 |
| 197 | 0 | 0 | pop @_ // "" |
| 198 | 0 | 0 | pop @_ // 200 |
| 210 | 0 | 0 | pop @_ // "Internal Server Error" |
| 211 | 0 | 0 | shift @_ // 500 |
| 212 | 0 | 0 | shift @_ // undef |
| 224 | 0 | 0 | $args{'status'} || 200 |
| 226 | 0 | 0 | ($args{'error'} // $args{'message'}) // "" |
| 246 | 0 | 0 | $message // "" |
| 283 | 0 | 0 | $self->req->url->base->path_query("/")->to_string // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 176 | 0 | 0 | 0 | $cod ||= "E0$stt" |
| 225 | 0 | 0 | 0 | $args{'code'} || "E0$status" |
| 226 | 0 | 0 | 0 | $args{'error'} // $args{'message'} |