Branch Coverage

blib/lib/Algorithm/QuineMcCluskey.pm
Criterion Covered Total %
branch 41 52 78.8


line true false branch
77 1 35 if ($self->has_columnstring)
86 1 0 if scalar @{$min_ref;}
87 0 1 if scalar @{$dc_ref;}
90 31 5 if ($self->has_minterms)
101 5 31 if ($self->has_maxterms)
113 19 17 if ($self->has_dontcares)
125 0 36 unless $self->has_title
134 0 2 if $self->has_dontcares
136 2 0 if ($self->has_minterms) { }
157 0 1 if $self->has_dontcares
159 1 0 if ($self->has_minterms) { }
189 0 1 if $self->has_dontcares
193 1 0 if ($self->has_minterms) { }
218 26 4 $self->has_min_bits ? :
219 19 11 if $self->has_dc_bits
227 26 4 $self->has_min_bits ? :
264 26 99 unless ref $bits[$level]
292 340 1131 unless ref $bits[$level][$low + 1]
307 1472 7608 if ($hd1pos != -1)
332 177 308 if %nextlvlimp
352 212 15 if @matched
476 18 36 unless keys %primes
517 26 48 if (keys %reduced and scalar(@c = $self->recurse_solve(\%reduced, $level + 1))) { }
542 36 0 if ($self->minonly and scalar @covers > 1)
555 8 80 if $cost > $mincost
557 0 80 if ($cost < $mincost)