| blib/lib/Tail/Tool/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 5 | 31 | 16.1 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 133 | 0 | 0 | 1 | $self->name ne '-' and not $self->remote | 
| 0 | 0 | 1 | $self->name ne '-' and not $self->remote and $inotify | |
| 0 | 0 | 1 | $self->name ne '-' and not $self->remote and $inotify and not $self->no_inotify | |
| 191 | 0 | 0 | 0 | not $self->remote || @lines and time > $self->stat_time + $self->stat_period * 60 | 
| 197 | 0 | 0 | 0 | defined $stat_handle[1] && defined $stat_file[1] | 
| line | l | !l | condition | 
|---|---|---|---|
| 171 | 0 | 0 | -s $self->name || 0 | 
| 185 | 0 | 0 | $size || 0 | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 191 | 0 | 0 | 0 | $self->remote || @lines | 
| 197 | 0 | 0 | 0 | not defined $stat_handle[1] && defined $stat_file[1] or $stat_handle[1] != $stat_file[1] | 
| 220 | 0 | 0 | 1 | $self->remote or $self->name =~ m[^s(sh|cp)://]msx | 
| 1 | 0 | 0 | not $fh or tell $fh == -1 |