Condition Coverage

blib/lib/Sort/ByExample.pm
Criterion Covered Total %
condition 11 15 73.3


and 3 conditions

line !l l&&!r l&&r condition
182 5 6 0 $fallback and not &_CODELIKE($fallback)
196 30 26 78 exists $score->{$a} && exists $score->{$b}
225 2 6 6 exists $$score{$Sort::ByExample::a->[0]} && exists $$score{$Sort::ByExample::b->[0]}

or 3 conditions

line l !l&&r !l&&!r condition
196 48 0 30 $score->{$a} <=> $score->{$b} || ($fallback ? &$fallback($a, $b) : 0)
225 6 0 0 $$score{$Sort::ByExample::a->[0]} <=> $$score{$Sort::ByExample::b->[0]} || ($fallback ? &$fallback($Sort::ByExample::a->[0], $Sort::ByExample::b->[0], $Sort::ByExample::a->[1], $Sort::ByExample::b->[1]) : 0)