Branch Coverage

blib/lib/Algorithm/QuineMcCluskey/Util.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
109 563 2805 if ($m0 & $b) == $m0 and ($m1 & $b) == $b
142 197 1996 if ($m0 & $b) == $m0 and ($m1 & $b) == $b
170 503 492 unless exists $bterms{$term}
181 171 332 if (scalar @{$bterms{$k};} == 1)
231 3741 153 if $row1 eq $row2 or is_LequivalentR([$primes->{$row1}, $primes->{$row2}]) or not is_LsubsetR([$primes->{$row1}, $primes->{$row2}])
233 83 70 $dominant_rows ? :
283 36 30 if ($c < $count)
292 74 43 if &any(sub { $_ eq $term; } , @{$$primes{$p};})
313 56 117 if scalar @ess == 0 or scalar keys %$primes == 0
357 110 938 if (scalar @pos == scalar @{$href->{$k};}) { }
383 124 0 $h{join ',', @{$_;}}++ == 0 ? :
441 7608 1472 unless scalar(() = $v =~ /[^0]/gu) == 1