| blib/lib/PAGI/Middleware/Lint.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 24 | 29.1 |
| line | l | !l | condition |
|---|---|---|---|
| 201 | 1 | 0 | do { not $event->{'status'} =~ /^\d{3}$/ } && do { $self->_warn("http.response.start status must be 3-digit code, got '$event->{'status'}'") } |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 122 | 0 | 0 | 2 | $scope->{'type'} eq "http" and not $response_started |
| 0 | 0 | 0 | $scope->{'type'} eq "http" and $response_started | |
| 0 | 0 | 0 | $scope->{'type'} eq "http" and $response_started and not $response_finished | |
| 140 | 2 | 1 | 0 | $response_started and not $response_finished |
| 172 | 0 | 0 | 0 | ref $h eq "ARRAY" and @$h == 2 |
| 212 | 0 | 0 | 0 | ref $h eq "ARRAY" and @$h == 2 |
| line | l | !l | condition |
|---|---|---|---|
| 53 | 2 | 3 | $config->{'strict'} // 0 |
| 55 | 0 | 5 | $config->{'enabled'} // 1 |