line |
true |
false |
branch |
133
|
1 |
251 |
unless (defined $path) |
217
|
0 |
251 |
unless $log->write_entry($json) |
315
|
250 |
2 |
if ($qnd->private->{'autosave'}) |
320
|
1 |
251 |
if (exists $$qnd{'stderr'}) |
371
|
1 |
264 |
unless (defined $path) |
407
|
0 |
254 |
unless $out = 'FileHandle'->new(">> $$log{'path'}") |
411
|
0 |
254 |
unless flock $out, 2 |
415
|
0 |
254 |
unless $out->seek(0, 2) |
418
|
242 |
12 |
if (tell $out) |
449
|
1 |
2 |
unless (-e $$log{'path'}) |
453
|
0 |
2 |
unless $read = 'FileHandle'->new($$log{'path'}) |
454
|
0 |
2 |
unless flock $read, 1 |
464
|
198 |
200 |
unless hascontent($line) |
492
|
1 |
44 |
unless (-e $$log{'path'}) |
499
|
34 |
10 |
if ($$log{'read'}) |
500
|
0 |
34 |
if ($$log{'read'}{'direction'} != $direction) |
506
|
28 |
16 |
if (defined($get_count = $opts{'count'})) |
511
|
10 |
34 |
unless ($read = $$log{'read'}) |
518
|
0 |
10 |
unless $$read{'lock'} = 'FileHandle'->new($$log{'path'}) |
519
|
0 |
10 |
unless flock $$read{'lock'}, 1 |
522
|
2 |
8 |
if ($direction == 1) { } |
532
|
0 |
10 |
unless $$read{'fh'} |
540
|
144 |
154 |
unless hascontent($line) |
548
|
10 |
144 |
if ($tgt_id) |
549
|
1 |
9 |
if ($$entry{'entry_id'} eq $tgt_id) { } |
559
|
130 |
14 |
if ($multiple) { } |
562
|
26 |
104 |
if ($get_count and @rv >= $get_count) |
563
|
26 |
0 |
if wantarray |
578
|
2 |
1 |
if ($multiple) { } |
579
|
2 |
0 |
if wantarray |