| line |
true |
false |
branch |
|
11
|
0 |
0 |
'Linux::Inotify2'->can('fh') ? : |
|
|
0 |
1 |
if (eval {
do {
require Linux::Inotify2;
require IO::Select;
'Linux::Inotify2'->can('fh') ? 1 : 0
}
}) { } |
|
29
|
0 |
4 |
unless mkdir $_[1] |
|
49
|
0 |
0 |
if $self->{'inotify'} |
|
61
|
0 |
4 |
unless rename $self->path, $new_path |
|
69
|
0 |
4 |
unless opendir my $dh, $self->path |
|
80
|
0 |
6 |
if $self->{'pend_count'} |
|
81
|
0 |
6 |
$self->message_files('pend') ? : |
|
86
|
3 |
3 |
if $self->{'ready_count'} |
|
87
|
0 |
3 |
if $self->have_resume_file |
|
88
|
0 |
3 |
$self->message_files('ready') ? : |
|
100
|
17 |
48 |
if ($file =~ /\.ready$/) { } |
|
|
0 |
48 |
elsif ($file =~ /\.pend$/) { } |
|
111
|
10 |
8 |
@ready ? : |
|
|
18 |
6 |
if $ext eq "ready" |
|
112
|
0 |
6 |
@pend ? : |
|
|
6 |
0 |
if $ext eq "pend" |
|
123
|
5 |
10 |
unless my $ready = $self->message_files("ready") |
|
127
|
0 |
13 |
unless open my $fh, "<", $full |
|
130
|
0 |
13 |
unless unlink $full |
|
147
|
0 |
13 |
unless $peer //= $msg->to |
|
149
|
0 |
13 |
unless my $msg_dir = $self->peer_exists($peer) |
|
155
|
0 |
13 |
if -e $pend or -e $ready |
|
157
|
0 |
13 |
unless open my $fh, ">", $pend |
|
163
|
0 |
13 |
unless rename $pend, $ready |