Condition Coverage

blib/lib/NcFTPd/Log/Parse/Base.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
24 10 2 0 defined $options{'filter'} and ref $options{'filter'} ne 'CODE'
85 0 0 30 $line and $line =~ /^($COMMON_REGEX{'time'})\s($COMMON_REGEX{'process'})\s+\|\s(.+)/

or 2 conditions

line l !l condition
32 2 10 $options{'filter'} || sub { 1; }

or 3 conditions

line l !l&&r !l&&!r condition
26 12 0 0 'IO::File'->new($file, '<') || croak("Error opening file ${file}: $!")
63 30 0 0 $entry or $$self{'error'}
75 30 5 0 defined $line or $log->eof