Branch Coverage

blib/lib/AI/Pathfinding/OptimizeMultiple.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
54 3 9 defined $factor ? :
89 8 0 if (ref $self->_quotas eq 'ARRAY') { }
149 0 0 unless (defined $q_more)
191 0 0 unless (defined $q_more)
232 0 8 unless (defined $q_more)
279 4 4 if ($self->_total_boards_solved == $self->_num_boards) { }
310 0 4 if (my $err = 'Exception::Class'->caught('AI::Pathfinding::OptimizeMultiple::Error::OutOfQuotas')) { }
320 0 4 if ($err)
322 0 0 unless (&blessed($err) and $err->can("rethrow"))
501 0 0 if ($info[$s->scan_idx] > 0 and $info[$s->scan_idx] <= $s->iters) { }
509 0 0 if ($info[$s->scan_idx] > 0)
534 0 0 unless ($board_idx =~ /\A[0-9]+\z/u)
564 0 0 if ($info[$s->scan_idx] > 0 and $info[$s->scan_idx] <= $s->iters) { }
581 0 0 if ($info[$s->scan_idx] > 0)
610 0 8 if (my $trace_callback = $self->_trace_cb)