blib/lib/Tie/Handle/Offset.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
2 | 2 | 0 | if (not $] < 5.006) |
17 | 6 | 16 | if (@_) { } |
33 | 2 | 1 | if ref $_[-1] eq 'HASH' |
38 | 3 | 0 | if @_ |
39 | 2 | 1 | if ($$params{'offset'}) |
48 | 4 | 3 | $cur > 0 ? : |
54 | 4 | 5 | if ($whence == 0 or $whence == 1) { } |
3 | 2 | elsif (_size($self) + $pos < $self->offset) { } | |
69 | 0 | 3 | if defined $_[0]->FILENO |
70 | 0 | 3 | @_ == 2 ? : |