| blib/lib/Plack/Middleware/AdaptFilehandleRead/Proxy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 16 | 75.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 8 | 0 | 3 | unless $target->can('read') | 
| 15 | 0 | 30614 | if (not defined $/) { } | 
| 22612 | 8002 | elsif (ref $/) { } | |
| 0 | 8002 | elsif ($/ eq '') { } | |
| 22 | 22610 | 2 | if ($fh->read($chunk, $len)) { } | 
| 35 | 0 | 8002 | unless defined $$self{'_buff'} | 
| 37 | 8000 | 2 | if ((my $idx = index($$self{'_buff'}, $/)) >= 0) { } | 
| 46 | 1 | 1 | if ($chunk) { } |