Condition Coverage

blib/lib/Logfile/Tail/Switch.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
68 2 1 12 $self->{'_last_check_time'} and $self->{'_last_check_time'} >= $now - $self->{'opts'}{'check_freq'}
93 5 7 2 not length $line and keys %{$$self{'_pending'};}

or 2 conditions

line l !l condition
16 1 1 $opts //= {}
18 1 1 $opts->{'check_freq'} //= 5
57 7 0 readline $fh // ''