Branch Coverage

blib/lib/Math/BigInt/Random.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
20 0 6 if $length_hex and $length_bin
23 0 6 if $max < 0
24 3 3 if ($max == 0)
25 0 3 unless $required_length = $args{'length'}
29 1 2 if ($length_hex) { }
1 1 elsif ($length_bin) { }
43 0 6 if $interval <= 0
45 1 5 if $length_bin
47 2 4 $interval < 1048575 && !$use_internet ? :
52 0 6 if $rand_num > $max
57 0 3 if $required_length and $length_hex and $num_length_16 != $required_length
61 0 3 if $required_length and $length_bin and $num_length_2 != $required_length
65 0 2 if $required_length and not $length_hex and not $length_bin and $num_length_10 != $required_length
82 0 4 if ($use_internet) { }
95 0 8 if $count < 1
103 0 0 if $count < 1
115 3 5 if (scalar @$array > 1) { }