Condition Coverage

blib/lib/File/Sort.pm
Criterion Covered Total %
condition 16 59 27.1


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 0 $$opts{'u'} and $last
244 0 307 9 not $$opts{'u'} and keys %File::Sort::fh == 1
438 0 2 0 $$opts{'ksc'} == 0 and !$$opts{'kfc'} || $$opts{'kfc'} == 0
457 0 0 0 $$opts{'kfc'} == 0 and $$opts{'ksc'} == 0
0 0 0 $$opts{'kfc'} == 0 and $$opts{'ksc'} == 0 and not $$opts{'kst'} =~ /b/l
0 0 0 $$opts{'kfc'} == 0 and $$opts{'ksc'} == 0 and not $$opts{'kst'} =~ /b/l and not $$opts{'kft'} =~ /b/l

or 2 conditions

line l !l condition
75 0 5 $ENV{'MAX_SORT_RECORDS'} || 200000
76 0 7 $ENV{'MAX_SORT_FILES'} || 40
326 2 0 $1 || 0
0 2 $2 || 0
0 2 $3 || ''
0 2 $5 || 0
0 2 $6 || ''

or 3 conditions

line l !l&&r !l&&!r condition
75 2 5 0 $$opts{'y'} ||= $ENV{'MAX_SORT_RECORDS'} || 200000
76 0 7 0 $$opts{'F'} ||= $ENV{'MAX_SORT_FILES'} || 40
112 0 0 0 $foo[0] ne $last or $foo[1] ne $rec
267 0 0 0 not $uniq or _are_uniq($$opts{'K'}, $uniq, $File::Sort::fh{$first})
342 0 0 2 $opts{'kst'} || $opts{'kft'}
351 0 0 0 $opts{'kst'} =~ /$_/l or $opts{'kft'} =~ /$_/l
352 0 0 0 $opts{'kst'} =~ /$_/l or $opts{'kft'} =~ /$_/l
435 2 0 0 not defined $$opts{'kff'} or $$opts{'ksf'} == $$opts{'kff'}
438 2 0 0 !$$opts{'kfc'} || $$opts{'kfc'} == 0