Branch Coverage

blib/lib/Sort/ByExample.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
171 9 1 &_ARRAYLIKE($example) ? :
2 10 &_HASHLIKE($example) ? :
175 7 4 if (&_HASHLIKE($arg)) { }
182 0 11 if $fallback and not &_CODELIKE($fallback)
196 4 9 $fallback ? :
17 13 exists $score->{$b} ? :
26 30 exists $score->{$a} ? :
78 56 exists $score->{$a} && exists $score->{$b} ? :
207 0 2 if $arg->{'xform'}
217 2 7 if (my $xf = $arg->{'xform'})
225 2 0 $fallback ? :
0 2 exists $$score{$Sort::ByExample::b->[0]} ? :
6 2 exists $$score{$Sort::ByExample::a->[0]} ? :
6 8 exists $$score{$Sort::ByExample::a->[0]} && exists $$score{$Sort::ByExample::b->[0]} ? :