Branch Coverage

blib/lib/Statistics/RankCorrelation.pm
Criterion Covered Total %
branch 49 58 84.4


line true false branch
28 28 1 if (ref $arg eq 'ARRAY') { }
1 0 elsif (not ref $arg) { }
29 14 14 if (not defined $self->x_data) { }
14 0 elsif (not defined $self->y_data) { }
34 1 0 defined $v ? :
39 14 0 if ($self->x_data and $self->y_data and @{$self->x_data;} and @{$self->y_data;})
46 1 13 if $$self{'sorted'}
67 14 182 if @_
73 28 102 if @_
79 28 73 if @_
85 14 4 if @_
91 14 5 if @_
97 14 32 if @_
103 14 30 if @_
123 1 13 if $x_sum2 == 0 or $y_sum2 == 0
144 15 182 if ($ties > 1) { }
159 182 15 unless @$v > 1
164 28 0 wantarray ? :
169 0 1 unless @$u == @$v
172 0 21 unless $$a[0] <=> $$b[0]
195 40 56 if $$m1[$i][$j] == $$m2[$i][$j]
207 0 14 if (@$u > @$v) { }
0 14 elsif (@$u < @$v) { }
224 68 124 $$u[$i] < $$u[$j] ? :
240 108 466 if (not $x_sign && $y_sign) { }
288 178 elsif ($x_sign == $y_sign) { }
248 5 8 if (keys %{$self->x_ties;} or keys %{$self->y_ties;})
263 124 1024 if $x == 0
264 621 403 $x > 0 ? :