Condition Coverage

blib/lib/File/SmartTail/DB.pm
Criterion Covered Total %
condition 7 22 31.8


and 3 conditions

line !l l&&!r l&&r condition
42 1 0 0 -f $fullname and open FH, ">> $fullname "
84 0 0 1 $self->{'STATFILE'} and $self->can('sync')
123 0 0 1 require File::SmartTail::Logger && File::SmartTail::Logger::LOG()

or 2 conditions

line l !l condition
35 1 0 $h{'tietype'} || 'DB_File'
114 0 0 $self->{'STATUSKEY'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
58 1 0 0 tie(%STATUS, $tietype, $filename, 66, 384) || LOG()->logdie("Tie of status for $statuskey failed [$!].\n")
62 0 1 0 ref $type || $type
123 0 1 0 $v ||= require File::SmartTail::Logger && File::SmartTail::Logger::LOG()