blib/lib/Plack/Middleware/Rewrite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 12 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 1 | 3 | 5 | defined $res && $res =~ /\A[1-5][0-9][0-9]\z/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 13 | 7 | 19 | $rules or $modify_cb |
58 | 0 | 2 | 9 | Plack::Util::content_length($res->[2]) or Plack::Util::header_exists($res->[1], "Content-Length") |
69 | 0 | 21 | 0 | $app ||= $self->app |