| line |
true |
false |
branch |
|
26
|
5 |
0 |
unless defined $autoflush |
|
29
|
1 |
1 |
unless defined $plugin_conf{'path'} or $plugin_conf{'handle'} |
|
31
|
0 |
4 |
unless $lock_mode =~ /\A(none|write|exclusive)\z/ |
|
34
|
0 |
0 |
if $lock_mode ne 'none' and $plugin_conf{'handle'} |
|
38
|
0 |
0 |
defined $plugin_conf{'path'} ? : |
|
39
|
0 |
0 |
if ($lock_handles{$key}) |
|
50
|
0 |
4 |
if $fh |
|
51
|
3 |
1 |
if (defined(my $path = $plugin_conf{'path'})) { } |
|
52
|
0 |
3 |
unless open $fh, '>>', $path |
|
59
|
0 |
4 |
if ($lock_mode eq 'exclusive') |
|
63
|
3 |
1 |
unless $lazy |
|
75
|
1 |
3 |
if $lazy and not $fh |
|
76
|
0 |
4 |
if $lock_mode eq 'write' |
|
78
|
4 |
0 |
unless $msg =~ /\R\z/ |
|
79
|
4 |
0 |
if $autoflush or $lock_handle |