Branch Coverage

lib/Math/Basic/XS.xs
Criterion Covered Total %
branch 36 46 78.2


line true false branch
11 9 2 for (i = 0; i < size; ++i) {
13 41 9 for (j = 0; j < size; ++j) {
14 13 28 if (arr[j] == arr[i])
17 3 6 if (cnt > max_count) {
30 1 8 if ( int_a == int_b ) return 0;
31 8 0 else if ( int_a < int_b ) return -1;
45 14 3 for (i = 1; i < items; i++) {
48 0 14 PUSHMARK(SP);
67 9 2 for (i = 1; i < items; i++) {
70 0 9 PUSHMARK(SP);
75 7 2 if (!set || ret < min) {
0 7 if (!set || ret < min) {
92 9 2 for (i = 1; i < items; i++) {
95 0 9 PUSHMARK(SP);
100 7 2 if (!set || ret > max) {
7 0 if (!set || ret > max) {
117 9 2 for (i = 1; i < items; i++) {
120 0 9 PUSHMARK(SP);
138 9 2 for (i = 1; i < items; i++) {
141 0 9 PUSHMARK(SP);
150 0 2 if (i % 2 != 0) {
165 9 2 for (i = 1; i < items; i++) {
168 0 9 PUSHMARK(SP);