Condition Coverage

blib/lib/App/UniqFiles.pm
Criterion Covered Total %
condition 43 65 66.1


and 3 conditions

line !l l&&!r l&&r condition
293 0 0 11 $files and @$files
311 9 0 2 $args{'authoritative_dirs'} && @{$args{'authoritative_dirs'};}
395 75 0 0 $args{'exclude_empty_files'} and not $size
399 75 0 0 $args{'min_size'} and $size < $args{'min_size'}
403 75 0 0 $args{'max_size'} and $size > $args{'max_size'}
548 32 1 8 $group_by_digest and defined $last_digest
33 4 4 $group_by_digest and defined $last_digest and $digest ne $last_digest

or 2 conditions

line l !l condition
295 6 5 $args{'report_unique'} // 1
296 9 2 $args{'report_duplicate'} // 2
297 1 10 $args{'show_count'} // 0
298 2 9 $args{'show_digest'} // 0
299 1 10 $args{'show_size'} // 0
320 0 11 $args{'include_file_patterns'} // []
333 0 11 $args{'exclude_file_patterns'} // []
424 53 22 $size_files{$st[7]} //= []
449 28 32 $digest_files{$digest} //= []
537 13 0 $file_digests{$a} // ""
13 0 $file_digests{$b} // ""
600 0 0 $args{'report_unique'} //= 0
601 0 0 $args{'report_duplicate'} //= 1

or 3 conditions

line l !l&&r !l&&!r condition
301 2 9 0 $args{'algorithm'} // ($digest_args ? "Digest" : "md5")
430 1 0 10 $algorithm eq '' || $algorithm eq 'none' || $algorithm eq 'size'
545 35 6 0 $file_digests{$f} // $file_sizes{$f}
549 4 0 0 $show_count || $show_digest || $show_size
553 5 12 24 $show_count or $show_digest
17 2 22 $show_count or $show_digest or $show_size