Branch Coverage

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


line true false branch
90 0 306 if $from > $upto
114 4113 181 $data ? :
125 28 306 $value == 0 ? :
51 334 $value < 1 && $value > 0 ? :
0 385 $value < 0 && $value > -1 ? :
136 153 357 if $upto
138 0 357 $from > 9 ? :
144 0 2666 unless defined $from
145 0 2666 if not defined $upto and $from == 0
147 0 2666 if $from == $upto
151 1768 898 if not $from or $from > $ceil
152 0 2666 if not $upto or $upto > $ceil
167 128 204 wantarray ? :
173 1 83 !$seed || $seed =~ /\D/u ? :
205 1615 51 if (UNIVERSAL::isa($data, "ARRAY"))
207 0 1615 $keys <= 0 ? :
211 51 0 if (UNIVERSAL::isa($data, "HASH"))
213 0 51 $keys <= 0 ? :