line |
true |
false |
branch |
117
|
0 |
1 |
if $self->pause
|
118
|
0 |
1 |
if $self->watcher
|
122
|
1 |
0 |
unless (defined $inotify)
|
124
|
0 |
1 |
if ($Tail::Tool::File::EVAL_ERROR) { }
|
133
|
1 |
0 |
if ($self->name ne '-' and not $self->remote and $inotify and not $self->no_inotify) { }
|
|
0 |
0 |
elsif ($self->name eq '-') { }
|
136
|
1 |
0 |
unless ($watcher)
|
143
|
0 |
0 |
unless (defined fileno \*STDIN)
|
168
|
0 |
0 |
if $self->pause
|
170
|
0 |
0 |
unless ($self->remote)
|
172
|
0 |
0 |
if ($size < $self->size) { }
|
|
0 |
0 |
elsif ($self->restart) { }
|
191
|
0 |
0 |
if (not $self->remote || @lines and time > $self->stat_time + $self->stat_period * 60)
|
197
|
0 |
0 |
if (not defined $stat_handle[1] && defined $stat_file[1] or $stat_handle[1] != $stat_file[1])
|
210
|
0 |
1 |
if ($self->name eq '-')
|
211
|
0 |
0 |
if (not $fh) { }
|
|
0 |
0 |
elsif (not &openhandle($fh)) { }
|
220
|
0 |
1 |
if ($self->remote or $self->name =~ m[^s(sh|cp)://]msx) { }
|
|
1 |
0 |
elsif (not $fh or tell $fh == -1) { }
|
222
|
0 |
0 |
if $self->pause
|
230
|
0 |
0 |
$self->name =~ /^ssh/ ? :
|
234
|
0 |
0 |
unless ($fh)
|
235
|
0 |
0 |
$user ? :
|
|
0 |
0 |
$port ? :
|
|
0 |
0 |
$self->tailer ? :
|
241
|
0 |
0 |
if (my $pid = open($fh, '-|', $cmd)) { }
|
253
|
1 |
0 |
if (open $fh, '<', $self->name) { }
|
258
|
0 |
0 |
unless $self->auto_unpause
|