Branch Coverage

blib/lib/Test/LectroTest/Generator.pm
Criterion Covered Total %
branch 60 60 100.0


line true false branch
212 2 115 if $rlo > $rhi
213 65 50 unless ($sized)
221 2 48 if 0 < $rlo or 0 > $rhi
227 103512 70000 if (defined $size)
229 32101 71411 if -$size > $lo
230 62516 40996 if $size < $hi
277 2 43 if $rlo > $rhi
278 14 29 unless ($sized)
286 2 27 if $rlo > 0 or 0 > $rhi
292 103976 70000 if (defined $size)
293 31966 72010 if -$size > $lo
294 61966 42010 if $size < $hi
386 27 15 defined $2 ? :
446 480072 2 defined $size ? :
461 6 118 unless (defined $lenspec)
465 80 44 if (not ref $lenspec) { }
31 13 elsif (ref $lenspec eq 'ARRAY' and @$lenspec == 1) { }
10 3 elsif (ref $lenspec eq 'ARRAY' and @$lenspec == 2) { }
467 1 79 if $n < 0
475 1 30 if $m < 0
478 94000 226001 $m >= $size ? :
487 2 8 if $m > $n or $m < 0
527 1 3 unless @{_template(@_);} == 2
567 4 18 defined $cset ? :
20 2 defined $length ? :
593 1 37 unless @_
726 1 7 if (my(@baddies) = grep({$_ < 0;} @freqs))
731 2 5 unless ($total)
867 54 46 ref $_ ? :
899 40 43 ref $_ ? :