| blib/lib/Plack/VCR.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 14 | 78.5 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 15 | unless my $filename = $opts{'filename'} |
| 22 | 1 | 14 | unless my $file = 'IO::File'->new($filename, 'r') |
| 36 | 7 | 27 | if $bytes == 0 |
| 37 | 0 | 27 | unless $bytes == 4 |
| 40 | 1 | 26 | if ($size > -s $file) |
| 45 | 0 | 26 | unless $bytes == $size |
| 48 | 0 | 26 | unless UNIVERSAL::isa($request, 'HTTP::Request') |