Branch Coverage

blib/lib/WordLists/Sort.pm
Criterion Covered Total %
branch 55 86 63.9


line true false branch
20 12 0 if (defined $args and ref $args eq ref {}) { }
22 0 0 unless $$args{'override_undef'} or defined $_[0] or defined $_[1]
23 0 12 unless $$args{'override_undef'} or defined $_[0] and defined $_[1]
24 1 11 if not $$args{'override_eq'} and $_[0] eq $_[1]
25 11 0 if (defined $$args{'functions'} and ref $$args{'functions'} eq ref []) { }
31 11 14 unless $r == 0
38 0 0 unless defined $args
43 0 0 if defined $args
44 0 0 unless defined $_[0] or defined $_[1]
45 0 0 unless defined $_[0] and defined $_[1]
52 0 185 if (defined $_[2] and $_[2])
54 0 0 defined $_[0] ? :
0 0 defined $_[1] ? :
56 0 260 if (defined $_[3])
65 80 10 if (defined $args and ref $args eq ref {}) { }
67 0 0 unless $$args{'override_undef'} or defined $_[0] or defined $_[1]
68 0 80 unless $$args{'override_undef'} or defined $_[0] and defined $_[1]
69 5 75 if not $$args{'override_eq'} and $_[0] eq $_[1]
78 74 1 if (ref $$args{'n'} ne ref [])
81 4 70 unless defined $$args{'n'}
99 386 177 if ($s[$i] =~ s/^($re)//) { }
115 62 13 $#{$sTokenType[0];} >= $#{$sTokenType[1];} ? :
118 174 11 if (defined $sTokenType[0][$_] and defined $sTokenType[1][$_]) { }
0 11 elsif (defined $sTokenType[0][$_]) { }
11 0 elsif (defined $sTokenType[1][$_]) { }
120 172 2 if ($sTokenType[0][$_] == $sTokenType[1][$_]) { }
123 17 155 if (ref $c eq ref '') { }
126 0 17 unless $c == 0
132 21 134 unless $r == 0
152 0 10 if defined $args
153 1 1 unless defined $_[0] or defined $_[1]
154 1 8 unless defined $_[0] and defined $_[1]
170 1 3 unless defined $$aSorted[$i][1]
173 4 0 if (defined $$aSorted[$i + $j][1])
175 3 1 if (0 == &{$cmp;}($$aSorted[$i][1], $$aSorted[$i + $j][1])) { }
196 4 0 if (defined $norm) { }
208 1 3 unless defined $$aSorted[$i][1]
211 4 0 if (defined $$aSorted[$i + $j][1])
213 4 0 defined $norm ? :
3 1 if (defined $norm ? 0 == &{$cmp;}($$aSorted[$i][2], $$aSorted[$i + $j][2]) : 0 == &{$cmp;}($$aSorted[$i][1], $$aSorted[$i + $j][1])) { }
239 1 3 unless defined $$aEnum[$i][1]
242 4 0 if (defined $$aEnum[$i + $j][1])
244 3 1 if (0 == &{$cmp;}($$aEnum[$i][1], $$aEnum[$i + $j][1]))