blib/lib/File/Binary.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
122 | 217 | 0 | 72 | ref($file) =~ /^IO::/ and $file->isa('IO::Handle') |
line | l | !l | condition |
---|---|---|---|
126 | 217 | 0 | 'IO::File'->new($file) || die("No such file $file\n") |
166 | 0 | 10 | shift() || 0 |
327 | 958 | 0 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
230 | 289 | 0 | 289 | $endian ||= $File::Binary::NATIVE_ENDIAN |
486 | 0 | 289 | 0 | 1234 == $bo or 12345678 == $bo |
0 | 0 | 0 | 4321 == $bo or 87654321 == $bo |