Condition Coverage

blib/lib/Parse/RandGen/Condition.pm
Criterion Covered Total %
condition 16 39 41.0


and 3 conditions

line !l l&&!r l&&r condition
118 11 0 14 int rand 2 || !$self->max and $self->min
164 0 0 12 defined $self->max && $self->min == 1 && $self->max == 1
177 0 0 0 $_[0] == $_[2] && (!(defined $_[1] || defined $_[3]) || defined $_[1] && defined $_[3] && $_[1] == $_[3])
191 0 0 0 $max and $self->min == $self->max

or 3 conditions

line l !l&&r !l&&!r condition
44 0 18 0 ref $class || $class
59 3 0 3 $quant eq '+' or $quant eq 's'
60 0 0 6 $quant eq '*' or $quant eq 's?'
78 6 12 0 $self->isQuantSupported or $self->once
108 146 0 56 $args{'match'} or $self->zeroOrMore
118 14 0 11 int rand 2 || !$self->max
126 177 0 0 $self->min || ($self->containsVals(%args) ? 1 : 0)
127 177 0 0 $self->max || $minCnt + (1 << int(rand 5))
169 157 0 0 $self->min || defined $self->max