| blib/lib/Armadito/Agent/Logger/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 0 | 14 | 0.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 17 | 0 | 0 | $params{'config'}{'logfile-maxsize'} ? : | 
| 32 | 0 | 0 | if ($self->{'logfile_maxsize'}) | 
| 34 | 0 | 0 | if ($stat and $stat->size > $self->{'logfile_maxsize'}) | 
| 35 | 0 | 0 | unless (open $handle, '>', $self->{'logfile'}) | 
| 42 | 0 | 0 | unless ($handle or open $handle, '>>', $self->{'logfile'}) | 
| 53 | 0 | 0 | if flock $handle, 6 | 
| 56 | 0 | 0 | unless ($locked) |