Branch Coverage

blib/lib/Test2/Harness/Job.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
27 2 643 unless $self->{'id'}
30 2 641 unless $self->{'file'}
54 0 607 unless $proc
61 0 607 unless $parser
74 20429 15648 unless @events
88 48 14312 if (@events and $self->{'_timeout'})
91 48 0 if $self->{'_timeout_notified'}
93 14360 20433 @events ? :
100 2 2337 if $self->{'proc'}->exit
105 613 1724 if ($plans and @$plans)
109 40 573 unless $max
110 571 2 if $max == $r->total
120 2 29529 if $self->{'_done'}
122 5282 24247 if $self->proc->is_done
131 24247 0 unless my $timeout = $self->{'event_timeout'}
134 0 0 if $self->step
137 0 0 if $timeout > &Test2::Harness::Job::time() - $self->{'_timeout'}
158 2945 2337 if $self->step
162 1730 607 if (my $timeout = $self->timeout)
163 50 1680 unless ($self->{'_timeout'})
171 26 24 if $timeout >= 1 and not $self->{'_timeout_notified'}++
176 1678 2 if $timeout > &Test2::Harness::Job::time() - $self->{'_timeout'}