Branch Coverage

blib/lib/Acme/Lingua/ZH/Remix.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
97 1 5 unless $corpus
114 111 2735 unless my $p = shift @x
161 0 279220 if $count == 0
169 0 70540 unless &random(@{$self->phrases->{$type} ||= [];})
198 0 200 unless (defined $x and int $x eq $x and $x >= 0)
203 0 100 if (defined $options{'max'} and defined $options{'min'} and $options{'max'} < $options{'min'})
237 3460 66695 if ($l + length($p) < $options{'max'})
243 217 69938 if $r < 0.1
244 39 69899 if $r < 0.2 and $iterations >= $max_iterations / 2
251 152 149 if (rand > 0.5) { }