Condition Coverage

bin/sort
Criterion Covered Total %
condition 19 62 30.6


and 3 conditions

line !l l&&!r l&&r condition
114 6 0 0 $opts->{'u'} and $last
264 0 0 4 not $opts->{'u'} and keys %main::fh == 1
458 0 0 2 $opts->{'ksc'} == 0 and !$opts->{'kfc'} || $opts->{'kfc'} == 0
477 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
86 0 6 $ENV{'MAX_SORT_RECORDS'} || 200000
87 0 6 $ENV{'MAX_SORT_FILES'} || 40
346 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
86 0 6 0 $opts->{'y'} ||= $ENV{'MAX_SORT_RECORDS'} || 200000
87 0 6 0 $opts->{'F'} ||= $ENV{'MAX_SORT_FILES'} || 40
129 1 0 3 $foo[0] ne $last or $foo[1] ne $rec
288 0 0 0 not $uniq or _are_uniq($opts->{'K'}, $uniq, $main::fh{$first})
362 0 0 2 $opts{'kst'} || $opts{'kft'}
371 0 0 0 $opts{'kst'} =~ /$_/l or $opts{'kft'} =~ /$_/l
372 0 0 0 $opts{'kst'} =~ /$_/l or $opts{'kft'} =~ /$_/l
455 2 0 0 not defined $opts->{'kff'} or $opts->{'ksf'} == $opts->{'kff'}
458 2 0 0 !$opts->{'kfc'} || $opts->{'kfc'} == 0
565 14 2 0 $main::a->[2] cmp $main::b->[2] or $main::a->[3] cmp $main::b->[3]