Condition Coverage

blib/lib/File/Tail/Multi.pm
Criterion Covered Total %
condition 20 102 19.6


and 3 conditions

line !l l&&!r l&&r condition
237 2 0 0 ref $$args{'Pattern'} ne 'ARRAY' and not -f $$args{'Pattern'}
245 0 0 0 ref $$args{'ExceptPattern'} ne 'ARRAY' and not -f $$args{'ExceptPattern'}
326 0 6 0 $var ne '' and ref $var eq ''
345 0 0 0 $var ne '' and ref $var eq ''
359 0 12 0 $var ne '' and ref $var eq ''
362 0 6 6 $var ne '' and not exists $args{$param}
525 1 0 0 exists $path_file{$key} and not $MSWin32
560 0 0 0 $$rFD{'ScanForFiles'} and $File::Tail::Multi::LastScan + $$rFD{'ScanForFiles'} * 60 < $PresentTime
588 0 0 0 $$FH{'exist'} and $$FH{'open'}
645 1 0 0 $$rFD{'ScanForFiles'} and $File::Tail::Multi::LastScan + $$rFD{'ScanForFiles'} * 60 < $PresentTime
673 0 0 1 $$FH{'exist'} and $$FH{'open'}
1198 0 0 0 $$FH{'LastMtime'} == $$FH{'stat'}{'mtime'} and $$FH{'stat'}{'mtime'} < $PresentTime - $$rFD{'MaxAge'} * 60
0 0 0 $$FH{'LastMtime'} == $$FH{'stat'}{'mtime'} and $$FH{'stat'}{'mtime'} < $PresentTime - $$rFD{'MaxAge'} * 60 and $$FH{'open'}
1209 0 0 0 not $$FH{'open'} and $$FH{'LastMtime'} < $$FH{'stat'}{'mtime'}
1381 0 0 1 int $$FH{'lastrun_stat'}{'pos'} <= int $$FH{'stat'}{'size'} and $$FH{'lastrun_stat'}{'pos'} ne ''
1469 0 0 0 defined $md5_len and $md5_len
1470 0 0 0 defined $md5_chksum && $md5_chksum

or 2 conditions

line l !l condition
116 0 1 $$args{'Debug'} || 0
741 0 0 $$FH{'lastrun_stat'}{'pos'} || 0
762 0 0 int $$FH{'stat'}{'size'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
508 1 0 0 $FILE =~ m[^/] or $MSWin32
512 0 0 1 $FILE =~ /^\w:/ or $FILE =~ m[^//]
0 1 0 $FILE =~ /^\w:/ or $FILE =~ m[^//] or not $MSWin32
560 0 0 0 $$rFD{'ScanForFiles'} and $File::Tail::Multi::LastScan + $$rFD{'ScanForFiles'} * 60 < $PresentTime or $File::Tail::Multi::FileAttributeChanged
645 0 0 1 $$rFD{'ScanForFiles'} and $File::Tail::Multi::LastScan + $$rFD{'ScanForFiles'} * 60 < $PresentTime or $File::Tail::Multi::FileAttributeChanged
1136 0 0 1 $FS == 2 or $FS == 4
0 0 1 $FS == 2 or $FS == 4 or $FS == 6
1140 0 0 1 $FS == 1 or $FS == 3
0 0 1 $FS == 1 or $FS == 3 or $FS == 5
0 0 1 $FS == 1 or $FS == 3 or $FS == 5 or $FS == 7
1144 1 0 0 $FS == 8 or $FS == 14
1168 0 0 0 $FS == 10 or $FS == 11
0 0 0 $FS == 10 or $FS == 11 or $FS == 13
0 0 0 $FS == 10 or $FS == 11 or $FS == 13 or $FS == 15
1419 0 0 0 ref $rFD || croak("$rFD is not and object")