lib/Archive/BagIt/Fast.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
50 | 2 | 2 | if ($filesize > 0) |
51 | 0 | 2 | unless (&IO::AIO::mmap($data, $filesize, 1, 1, $fh)) |
79 | 0 | 130 | unless open my $fh, "<:raw", "$filename" |
84 | 130 | 0 | if ($filesize < $MMAP_MIN) { } |
0 | 0 | elsif ($filesize < 1500000000) { } |