Branch Coverage

blib/lib/Quantum/Entanglement.pm
Criterion Covered Total %
branch 30 102 29.4


line true false branch
78 13 2 if $uni1 == $uni2
108 0 0 if ($_[0]) { }
110 0 0 ++$t % 2 ? :
128 0 32 if $$_ > $os
32 21 if ($$_ != $os) { }
130 21 0 if $Quantum::Entanglement::destroy
139 0 0 rand 1 < $c / ($c + $d) ? :
152 0 15 if ($sum <= 0) { }
174 0 44 ref $$state[$_] ? :
176 23 21 if ($_ == 2 * $len - 1) { }
177 6 17 if (exists $$tref{$val}) { }
186 6 15 if (exists $$tref{$val}) { }
199 21 17 unless $aref
207 21 17 unless scalar keys %$tref
220 15 0 if scalar keys %{${$h;}{$val};} < 1
315 15 0 if ($rand < ${$hr;}{$_})
325 21 0 if "$foo" eq $rt
327 15 0 if ($Quantum::Entanglement::destroy)
335 0 0 if ($snum == $next_retain)
361 0 0 if ($rand < ${$hr;}{$_})
371 0 0 if $foo == $rt
374 0 0 if ($Quantum::Entanglement::destroy)
382 0 0 if ($snum == $next_retain)
403 2 0 if ($c2) { }
415 0 2 unless $rt
416 2 0 unless $ft
419 0 0 if (_sel_output($p_true, $p_false) or $Quantum::Entanglement::conform) { }
429 0 0 if ($Quantum::Entanglement::destroy)
436 0 0 if ($snum == $next_retain)
451 15 0 if (ref $d and UNIVERSAL::isa($d, 'Quantum::Entanglement')) { }
466 0 0 if ($r) { }
484 0 0 if (ref $d and UNIVERSAL::isa($d, 'Quantum::Entanglement')) { }
492 0 0 if (&$code($c2, $d2)) { }
511 0 0 if $reverse
512 0 0 if (&$code($c2, $d2)) { }
525 0 0 unless $rt
526 0 0 unless $ft
529 0 0 if (_sel_output($p_true, $p_false) or $Quantum::Entanglement::conform) { }
539 0 0 if ($Quantum::Entanglement::destroy)
546 0 0 if ($snum == $next_retain)
586 3 0 ref $true_cf ? :
587 3 0 ref $false_cf ? :
589 0 3 unless (ref $arg1 and UNIVERSAL::isa($arg1, 'Quantum::Entanglement'))
605 0 3 if $@
618 0 0 ref $func ? :
631 0 0 scalar @_ ? :
640 0 0 if $@
692 0 0 unless ref $_ and UNIVERSAL::isa($_, 'Quantum::Entanglement')
711 0 0 unless $num_saved
715 0 0 if ($num_saved > 1)
726 0 0 wantarray ? :