Branch Coverage

blib/lib/Net/SolarWinds/FileRotationBase.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
106 0 1 unless $fh
120 7 10 if exists $self->{'filename'}
140 60 6 if exists $self->{'fh'}
151 0 6 unless defined $fh
157 2 4 if (defined $self->{'mirror'})
182 3 3 unless -e $targetfile
188 1 2 if ($next_count > $max_files)
193 0 1 if -e $nextfile
222 1 3 unless exists $self->{'fh'}
241 0 60 unless $fh
243 0 60 unless print $fh @data
245 0 60 unless $self->{'autorotate'}
250 60 0 unless $pos >= $self->{'maxsize'}