Branch Coverage

blib/lib/Math/Random.pm
Criterion Covered Total %
branch 76 128 59.3


line true false branch
69 0 4 if @_ < 3
72 0 4 if $aa < "1e-37" or $bb < "1e-37"
76 1 3 wantarray ? :
81 0 4 if @_ < 2
85 0 4 if $df <= 0
89 1 3 wantarray ? :
94 0 0 wantarray ? :
0 4 if @_ == 0
99 0 4 if $av < 0
103 1 3 wantarray ? :
108 0 4 if @_ < 3
110 0 4 if $dfn <= 0 or $dfd <= 0
114 1 3 wantarray ? :
119 0 4 if @_ < 3
121 0 4 if $a <= 0 or $r <= 0
125 1 3 wantarray ? :
131 0 3 if @_ < 3
137 0 3 if $p != int $p or ref $_[$p - 1] eq "ARRAY" or ref $_[$p] ne "ARRAY"
150 0 6 unless @{$ref;} == $p
156 0 3 unless putflt(@linear)
160 0 3 unless psetmn($p)
163 2 1 unless (wantarray)
181 0 2 if $n < 0
184 0 2 if $ncat < 2
187 0 2 unless rspriw($ncat)
191 0 2 unless rsprfw(scalar @p)
196 0 4 if $val < 0 or $val > 1
201 0 2 if $sum > "0.99999"
213 0 4 if @_ < 3
216 0 4 if $df < 1 or $nonc < 0
220 1 3 wantarray ? :
225 0 4 if @_ < 4
229 0 4 if $dfn < 1 or $dfd <= 0 or $nonc < 0
233 1 3 wantarray ? :
238 0 0 wantarray ? :
0 4 if @_ == 0
244 0 4 if $sd < 0
248 1 3 wantarray ? :
254 0 2 if $n == 0
255 0 2 unless rspriw($n)
265 0 2 if @_ < 1
269 0 2 if $n < 0
271 0 2 if $n == 0
272 0 2 unless rspriw($n)
280 0 2 wantarray ? :
2 8 if @_ == 0
283 0 8 if @_ == 2
290 0 8 if $low > $high
294 2 6 wantarray ? :
299 0 4 if @_ < 2
302 0 4 if $mu < 0
306 1 3 wantarray ? :
312 0 4 if @_ < 3
317 0 4 if $low > $high
321 0 4 if $range > 2147483561
325 1 3 wantarray ? :
331 0 4 if @_ < 3
336 0 4 if $ne <= 0 or $p <= 0 or $p >= 1
340 1 3 wantarray ? :
345 0 4 if @_ < 3
350 0 4 if $nt < 0 or $p < 0 or $p > 1
354 1 3 wantarray ? :
378 0 0 unless $seed1 == int $seed1 and $seed1 > 0 and $seed1 < 2147483563 and ($seed2 == int $seed2 and $seed2 > 0 and $seed2 < 2147483399)
402 0 3 unless rsprfw($n)