Branch Coverage

blib/lib/Venus/Random.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
88 0 306 if $from > $upto
112 4113 181 $data ? :
123 28 306 $value == 0 ? :
51 334 $value < 1 && $value > 0 ? :
0 385 $value < 0 && $value > -1 ? :
134 153 357 if $upto
136 0 357 $from > 9 ? :
142 0 2666 unless defined $from
143 0 2666 if not defined $upto and $from == 0
145 0 2666 if $from == $upto
149 1768 898 if not $from or $from > $ceil
150 0 2666 if not $upto or $upto > $ceil
165 128 204 wantarray ? :
171 1 83 !$seed || $seed =~ /\D/u ? :
203 1615 51 if (UNIVERSAL::isa($data, "ARRAY"))
205 0 1615 $keys <= 0 ? :
209 51 0 if (UNIVERSAL::isa($data, "HASH"))
211 0 51 $keys <= 0 ? :