Branch Coverage

blib/lib/Statistics/Test/WilcoxonRankSum.pm
Criterion Covered Total %
branch 63 84 75.0


line true false branch
50 0 37 unless $dataset_ref
53 0 37 unless ref $dataset_ref eq 'ARRAY'
57 1 36 unless @dataset
67 18 17 unless ($N_of{$id})
72 18 17 unless ($MaxSum_of{$id})
76 18 17 unless ($expected_rank_sum_1_of{$id})
80 18 17 unless ($expected_rank_sum_2_of{$id})
115 1 14 if ($rank_array_of{$id} and @{$rank_array_of{$id};}) { }
127 8 6 if ($rank_sum_1 <= $rank_sum_2) { }
218 1 17 unless $dataset1_of{$id} and $dataset2_of{$id}
266 11 17 if ($rank_array_of{$id} and @{$rank_array_of{$id};}) { }
272 2 15 if ($ranks_of{$id} and %{$ranks_of{$id};}) { }
302 14 1 if ($for_dataset =~ /1/) { }
1 0 elsif ($for_dataset =~ /2/) { }
303 0 14 if ($rankSum1_of{$id}) { }
310 0 1 if ($rankSum2_of{$id}) { }
329 18 14 if ($smaller_rank_sum_of{$id} and $smaller_ranks_count_of{$id})
340 13 0 unless ($rank_sum_1 or $rank_sum_2)
345 1 13 if ($rank_sum_1 and $rank_sum_2) { }
13 0 elsif ($rank_sum_1) { }
0 0 elsif ($rank_sum_2) { }
376 0 1 if ($smaller_rank_sums_count_of{$id})
388 0 1 if ($W > $MaxSum)
389 0 1 if ($N != scalar @ranks)
403 64 188 if ($sumA <= $W)
416 0 9 if ($rank_sums_other_than_expected_count_of{$id})
430 0 9 if ($W > $MaxSum)
431 0 9 if ($N != scalar @ranks)
442 2 7 if ($W >= $W_exp) { }
447 40 195 if ($sumA >= $W)
457 17476 384277 if ($sumA <= $W)
473 0 6 if ($probability_of{$id})
481 5 1 if ($N <= $EXACT_UPTO{$id}) { }
503 1 8 if ($p > 1)
517 1 4 $W - $mean >= 0 ? :
533 4 0 if ($probability_of{$id}) { }
534 2 2 if ($probability_normal_approx_of{$id}) { }
578 0 2 if (not $$hash{'dataset_1'}) { }
0 2 elsif (not $$hash{'dataset_2'}) { }
596 1 1 if ($$hash{'probability'} >= 0.05) { }
600 0 1 $$hash{'rank_sum_1'} > $$hash{'rank_sum_1_expected'} ? :
605 0 2 if ($$hash{'N'} < 5)