Branch Coverage

blib/lib/Sort/XS.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
37 6 115 if ($argc == 1)
38 2 4 unless ref $_[0] eq ref []
49 1 114 unless $params{'list'}
51 25 89 if (not ref $params{'list'} eq ref []) { }
54 0 25 if $argc % 2
56 0 25 unless defined $args{'list'} and ref $args{'list'} eq ref []
63 0 89 unless scalar @_ % 2
69 56 58 defined $params{'type'} && $params{'type'} eq 'string' ? :
72 2 112 unless defined $sub