Condition Coverage

blib/lib/File/OSS/Scan.pm
Criterion Covered Total %
condition 0 81 0.0


and 3 conditions

line !l l&&!r l&&r condition
349 0 0 0 -d $$options{'working_dir'} and -w $$options{'working_dir'}
512 0 0 0 $size eq $c_size and $mtime eq $c_mtime
524 0 0 0 not $skip_flag and $$options{'verbose'} != 0
618 0 0 0 -f $$h_file{'path'} and not -s $$h_file{'path'}
641 0 0 0 defined $anchor_file and $anchor_file =~ /^(.*)\.[^.]*$/
669 0 0 0 $binary and $file_ext eq 'jar' || $file_ext eq 'gz' || $file_ext eq 'zip' || $file_ext eq 'Z' || $file_ext eq 'tar'
749 0 0 0 -f $inflate_file and -r $inflate_file
843 0 0 0 defined $anchor_file and $anchor_file =~ /^(.*)\.[^.]*$/

or 2 conditions

line l !l condition
395 0 0 shift() || (return 0)
442 0 0 shift() || (return 0)
460 0 0 $1 || ''
464 0 0 $1 || ''
578 0 0 shift() || (return 0)
589 0 0 shift() || (return 0)
591 0 0 $$ruleset{'FILE'} || (return 0)
804 0 0 shift() || (return 0)
807 0 0 $$ruleset{'LINE'} || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
339 0 0 0 not $$options{'verbose'} =~ /^\d$/ or $$options{'verbose'} < 0
0 0 0 not $$options{'verbose'} =~ /^\d$/ or $$options{'verbose'} < 0 or $$options{'verbose'} > 2
344 0 0 0 not $$options{'cache'} =~ /^\d$/ or $$options{'cache'} < 0
0 0 0 not $$options{'cache'} =~ /^\d$/ or $$options{'cache'} < 0 or $$options{'cache'} > 2
349 0 0 0 -d $$options{'working_dir'} and -w $$options{'working_dir'} or mkdir $$options{'working_dir'}, 493
669 0 0 0 $file_ext eq 'jar' || $file_ext eq 'gz' || $file_ext eq 'zip' || $file_ext eq 'Z' || $file_ext eq 'tar'
760 0 0 0 $inflate_file || carp("can't unlink file $inflate_file : $!")
816 0 0 0 $fpath || croak("could not open file $fpath, $!")
820 0 0 0 "$cmd_strings $fpath" || croak("could not get content from $fpath by using $cmd_strings, $!")
971 0 0 0 $line =~ /Copyright\s*\(C\)\s*\w+/i or $line =~ /Copyright\s*[\d\-]+\s*\w+/i
0 0 0 $line =~ /Copyright\s*\(C\)\s*\w+/i or $line =~ /Copyright\s*[\d\-]+\s*\w+/i or $line =~ /Copyright.*Software/i
0 0 0 $line =~ /Copyright\s*\(C\)\s*\w+/i or $line =~ /Copyright\s*[\d\-]+\s*\w+/i or $line =~ /Copyright.*Software/i or $line =~ /Copyright.*All\srights\sreserved/i
0 0 0 $line =~ /Copyright\s*\(C\)\s*\w+/i or $line =~ /Copyright\s*[\d\-]+\s*\w+/i or $line =~ /Copyright.*Software/i or $line =~ /Copyright.*All\srights\sreserved/i or $line =~ /\@Copyright/i