Condition Coverage

blib/lib/Data/Sorting.pm
Criterion Covered Total %
condition 27 48 56.2


and 3 conditions

line !l l&&!r l&&r condition
420 35 0 36 $flagname and $SupportedOptions{$flagname}
450 31 25 3 $extract eq 'any' and ref $$rule{'sortkey'} eq 'CODE'
478 23 19 1 @rules == 1 && $rules[0]{'order_sign'} > 0 && $rules[0]{'compare'} eq 'cmp' && $rules[0]{'extract'} eq 'self'

or 2 conditions

line l !l condition
708 0 0 $$Data::Sorting::Rule{'ext_numeric'} ||= []
728 0 0 $$Data::Sorting::Rule{'ext_textual'} ||= []
788 2214 44 $$Data::Sorting::Rule{'ext_numeric'} ||= []
805 465 22 $$Data::Sorting::Rule{'ext_textual'} ||= []
892 5822 0 $$Data::Sorting::Rule{'ext_value'} ||= []
915 204 88 $$Data::Sorting::Rule{'ext_value'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
441 10 0 0 \&{"_cmp_$compare";} || croak("Can't find a function named '_cmp_${compare}'")
49 10 0 ref $compare eq 'CODE' ? $compare : $FunctionCache{"_cmp_$compare"} ||= \&{"_cmp_$compare";} || croak("Can't find a function named '_cmp_${compare}'")
452 13 0 0 \&{"_ext_$extract";} || croak("Can't find a function named '_ext_${extract}'")
46 13 0 ref $extract eq 'CODE' ? $extract : $FunctionCache{"_ext_$extract"} ||= \&{"_ext_$extract";} || croak("Can't find a function named '_ext_${extract}'")
466 0 0 0 \&{"_ext_$xa";} || croak("Can't find a function named '_ext_${xa}'")
2 0 0 $FunctionCache{"_ext_$xa"} ||= \&{"_ext_$xa";} || croak("Can't find a function named '_ext_${xa}'")
484 10 0 0 \&{"_sorted_$engine";} || croak("No such sort mode '${engine}'; can't find function '_sorted_${engine}'")
41 10 0 ref $engine eq 'CODE' ? $engine : $FunctionCache{"_sorted_$engine"} ||= \&{"_sorted_$engine";} || croak("No such sort mode '${engine}'; can't find function '_sorted_${engine}'")
595 132 132 0 $index eq '0' or $index != 0