line |
true |
false |
branch |
40
|
1 |
3 |
unless defined $args{'file'} |
45
|
0 |
3 |
if defined $args{'mode'} |
48
|
0 |
3 |
if defined $args{'perms'} |
50
|
0 |
3 |
if ($^O eq 'MSWin32' or $^O eq 'VMS') |
55
|
0 |
3 |
unless $self->_open |
56
|
0 |
3 |
if $self->[5] |
64
|
3 |
28 |
if (defined $file) |
65
|
0 |
3 |
if $self->_is_open |
70
|
3 |
0 |
unless $self->[5] |
79
|
0 |
7 |
if defined $mode |
87
|
0 |
8 |
if defined $perms |
96
|
0 |
7 |
unless (sysopen $fh, $self->file, $self->mode, $self->perms) |
107
|
7 |
0 |
unless $self->[5] |
116
|
0 |
1 |
unless $self->_is_open |
133
|
0 |
7 |
unless $self->_is_open |
135
|
7 |
0 |
unless ($self->[5]) |
137
|
6 |
1 |
if -e $self->file and $self->[4] == (stat $self->file)[1] |
147
|
1 |
6 |
if ($self->_do_reopen) |
149
|
0 |
1 |
unless $self->_open |
155
|
0 |
0 |
if ($timer > 0.5) |
167
|
0 |
7 |
if $self->[5] |