| line |
true |
false |
branch |
|
40
|
2 |
2 |
if ($self->_check_file($log_file)) { } |
|
54
|
2 |
2 |
if ($mode =~ /m/mix) { } |
|
68
|
2 |
1 |
if defined $level |
|
77
|
1 |
2 |
if ($mode =~ /s/mix) { } |
|
90
|
0 |
0 |
if ($mode) { } |
|
108
|
12 |
5 |
if (@_ > 1) { } |
|
111
|
4 |
8 |
if $level and $$self{'_level'} < $level |
|
118
|
1 |
12 |
unless $message |
|
121
|
1 |
11 |
if $$self{'_log_tag'} |
|
124
|
12 |
0 |
unless $$self{'_no_date_tag'} |
|
128
|
1 |
11 |
unless $file |
|
130
|
0 |
11 |
if (-e $file and not -w _) |
|
135
|
8 |
3 |
if ($$self{'_mode'}) { } |
|
137
|
8 |
0 |
if ($log) { } |
|
146
|
2 |
1 |
unless ($$self{'_handle'}) |
|
166
|
2 |
2 |
unless $file |
|
176
|
3 |
7 |
if ($$self{'_o_sync'}) { } |
|
177
|
0 |
3 |
unless sysopen $log, $file, 1053761 |
|
181
|
0 |
7 |
unless sysopen $log, $file, 1089 |
|
184
|
0 |
10 |
unless flock $log, 2 |
|
199
|
0 |
11 |
unless $bytes == length $string |
|
206
|
1 |
3 |
if $$self{'_debug'} |