line |
true |
false |
branch |
115
|
8 |
0 |
if defined $$self{'_filehandle'} and ref $$self{'_filehandle'} and UNIVERSAL::can($$self{'_filehandle'}, 'isa') and $$self{'_filehandle'}->isa('IO::File') and defined fileno $$self{'_filehandle'} |
123
|
0 |
5 |
$$self{'dir'} =~ /\w/ ? : |
131
|
0 |
5 |
unless defined $$self{'_filehandle'} |
160
|
11 |
0 |
if defined $$self{'formatter'} |
163
|
0 |
11 |
unless print $fh $msg |
168
|
1 |
10 |
if ($$self{'autoclose'}) |
169
|
0 |
1 |
unless $fh->close |
195
|
0 |
7 |
if ($$self{'file'} =~ m[^/|^[A-Za-z]:\\]) { } |
|
7 |
0 |
elsif (not defined $$self{'dir'} && -d $$self{'dir'}) { } |
203
|
0 |
7 |
unless defined $$self{'file'} |
207
|
0 |
7 |
unless defined $$self{'autoflush'} |
211
|
6 |
1 |
unless defined $$self{'autoclose'} |
227
|
0 |
5 |
if defined $$self{'_filehandle'} and ref $$self{'_filehandle'} and UNIVERSAL::can($$self{'_filehandle'}, 'isa') and $$self{'_filehandle'}->isa('IO::File') and defined fileno $$self{'_filehandle'} |