Condition Coverage

blib/lib/Math/PRBS.pm
Criterion Covered Total %
condition 33 33 100.0


and 3 conditions

line !l l&&!r l&&r condition
167 35 1475505 409905 $i and not defined $self->{'period'}
1475540 409888 17 $i and not defined $self->{'period'} and $self->{'lfsr'} eq $self->{'start'}
214 83 8 2 defined $self->{'period'} && $self->{'i'} >= $self->{'period'}
8 2 91 $self->{'i'} < $n and not defined $self->{'period'} && $self->{'i'} >= $self->{'period'}
235 2 1 38 $self->{'lfsr'} != $lfsr and $self->{'lfsr'} != $state
270 1 4 1 defined $self->{'period'} and $self->{'i'} > $self->{'period'}
273 29 245804 4 defined $self->{'period'} and $self->{'period'} < $limit
321 9 7 2 defined $self->{'period'} and $self->{'i'} > $self->{'period'}
325 163992 114986 15 defined $self->{'period'} and $self->{'period'} < $limit
475 3 2 245774 $self->{'i'} < $max and not defined $self->{'period'}

or 3 conditions

line l !l&&r !l&&!r condition
371 1 3 2 lc $limit eq 'max' or $limit > $period