| line |
true |
false |
branch |
|
69
|
0 |
28 |
unless length $file |
|
73
|
20 |
8 |
$mode =~ /r/ ? : |
|
|
12 |
16 |
$mode =~ /w/ ? : |
|
101
|
1 |
10 |
unless ($self->{'write'}) |
|
112
|
1 |
9 |
unless defined $line |
|
152
|
0 |
3 |
unless ($len =~ /^-?[0-9.]+$/) |
|
159
|
0 |
3 |
if ($len < 0) |
|
167
|
0 |
3 |
if ($strlen - $offset < abs $len) |
|
173
|
0 |
3 |
if ($offset < 0) |
|
198
|
4 |
15 |
if ($new_tell == 0) |
|
201
|
1 |
18 |
if $new_tell == $tell |
|
212
|
9 |
15 |
if $self->EOF |
|
214
|
1 |
14 |
if (wantarray) |
|
259
|
1 |
6 |
unless defined $_[1] |
|
265
|
1 |
6 |
if ($offset > $buf_len) |
|
270
|
1 |
6 |
$contents_len - $tell < $len ? : |
|
341
|
0 |
24 |
unless ($self->{'read'}) |
|
418
|
0 |
6 |
if ($whence) |
|
422
|
0 |
6 |
if $file_size < $pos |
|
426
|
4 |
2 |
$pos == 0 ? : |