Branch Coverage

lib/CellBIS/Random.pm
Criterion Covered Total %
branch 52 108 48.1


line true false branch
42 0 4 unless $arg_len == 2 or $arg_len >= 3
45 2 2 if (&blessed($self)) { }
47 2 0 if $arg_len >= 2
48 0 2 if $arg_len >= 3
49 0 2 if $arg_len >= 4
51 2 0 if $arg_len >= 3
52 0 2 if $arg_len >= 4
59 0 4 if ($nested == 1) { }
0 4 elsif ($nested == 2) { }
60 0 0 if ($count_odd != 0 and $count_even != 0)
67 0 0 if ($count_odd != 0 and $count_even == 0)
78 0 0 if ($count_odd != 0 and $count_even != 0)
84 0 0 if ($count_odd != 0 and $count_even == 0)
91 0 0 if ($count_odd == 0 and $count_even != 0)
102 4 0 if ($count_odd != 0 and $count_even != 0)
107 0 4 if ($count_odd != 0 and $count_even == 0)
111 0 4 if ($count_odd == 0 and $count_even != 0)
116 2 2 if &blessed($self)
127 0 2 unless $arg_len == 2 or $arg_len >= 3
130 1 1 if (&blessed($self)) { }
132 1 0 if $arg_len >= 2
133 0 1 if $arg_len >= 3
134 0 1 if $arg_len >= 4
136 1 0 if $arg_len >= 3
137 0 1 if $arg_len >= 4
144 0 2 if ($nested == 1) { }
0 2 elsif ($nested == 2) { }
145 0 0 if ($count_odd != 0 and $count_even != 0)
152 0 0 if ($count_odd != 0 and $count_even == 0)
163 0 0 if ($count_odd != 0 and $count_even != 0)
170 0 0 if ($count_odd != 0 and $count_even == 0)
177 0 0 if ($count_odd == 0 and $count_even != 0)
188 2 0 if ($count_odd != 0 and $count_even != 0)
192 0 2 if ($count_odd != 0 and $count_even == 0)
196 0 2 if ($count_odd == 0 and $count_even != 0)
201 1 1 if &blessed($self)
214 4 4 if ($type eq 'odd_even')
220 4 4 if ($type eq 'even_odd')
236 2 2 if ($type eq 'odd_even')
242 2 2 if ($type eq 'even_odd')
268 4 0 if ($len_even > $len_odd)
271 44 0 if exists $arr_even[$i]
272 40 4 if exists $arr_odd[$i]
276 0 4 if ($len_even == $len_odd)
279 0 0 if exists $arr_even[$i]
280 0 0 if exists $arr_odd[$i]
302 6 0 if ($len_even > $len_odd)
305 66 0 if exists $arr_even[$i]
306 60 6 if exists $arr_odd[$i]
310 0 6 if ($len_even == $len_odd)
313 0 0 if exists $arr_even[$i]
314 0 0 if exists $arr_odd[$i]
349 20 20 if ($type eq 'odd')
354 20 20 if ($type eq 'even')