Branch Coverage

lib/App/MtAws/QueueJob/Iterator.pm
Criterion Covered Total %
branch 21 22 100.0


line true false branch
36 1 136 unless $self->{'iterator'}
48 469 109 if ($next_job)
64 1387 983 if ($res->{'code'} eq 'MT_J_WAIT') { }
469 514 elsif ($res->{'code'} eq 'MT_J_DONE') { }
514 0 elsif ($res->{'code'} eq 'MT_J_OK') { }
65 11 1376 unless --$maxcnt
88 104 5 if ($self->get_next_itt) { }
100 859 469 if (my(@r) = $self->find_next_job) { }
365 104 elsif ($self->get_next_itt) { }
112 135 350 if (my(@r) = $self->find_next_job) { }
115 246 104 keys %{$$self{'jobs'};} ? :