| blib/lib/Mojo/Server/PSGI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 2 | 0 | $len && $len < 131072 ? : |
| 15 | 0 | 2 | unless my $read = $env->{'psgi.input'}->read(my $buffer, $chunk, 0) |
| 17 | 2 | 0 | if ($len -= $read) <= 0 |
| 51 | 1 | 12 | if $self->{'empty'} |
| 55 | 0 | 12 | unless defined $chunk |
| 58 | 6 | 6 | unless length $chunk |