Branch Coverage

blib/lib/Test2/Harness/Job.pm
Criterion Covered Total %
branch 35 38 92.1


line true false branch
26 2 643 unless $self->{'id'}
29 2 641 unless $self->{'file'}
53 0 607 unless $proc
60 0 607 unless $parser
73 19454 15606 unless @events
87 48 14270 if (@events and $self->{'_timeout'})
90 48 0 if $self->{'_timeout_notified'}
92 14318 19458 @events ? :
99 2 2337 if $self->{'proc'}->exit
104 613 1724 if ($plans and @$plans)
108 40 573 unless $max
109 571 2 if $max == $r->total
119 2 28176 if $self->{'_done'}
122 22558 5618 unless $proc->is_done
127 3281 2337 if $self->step
129 1730 607 if (my $timeout = $self->timeout)
130 50 1680 unless ($self->{'_timeout'})
138 26 24 if $timeout >= 1 and not $self->{'_timeout_notified'}++
143 1678 2 if $timeout > &Test2::Harness::Job::time() - $self->{'_timeout'}