Branch Coverage

lib/App/MtAws/QueueJob.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
49 833 2192 if (my(@r) = &$cb(@_))
51 833 0 if defined $result->{'state'}
52 0 833 if $result->{'job'}
53 0 833 if $result->{'task'}
65 297 0 if (my(@r) = &$cb($j->{'job'}))
67 297 0 if defined $result->{'state'}
68 0 297 if $result->{'job'}
69 0 297 if $result->{'task'}
78 303 1 if $j->{'cb'}
87 1814 9262 if (@{$self->{'_jobs'};}) { }
89 0 1814 unless $res->isa('App::MtAws::QueueJobResult')
90 298 1516 if ($res->{'code'} eq 'MT_J_DONE') { }
92 297 1 if $j->{'cb_job_proxy'}
100 2346 6916 if defined $res->{'state'}
101 304 8958 if defined $res->{'job'}
102 3300 0 if $res->{'task'} and $res->{'task'}{'cb'}
103 2300 6962 if $res->{'code'} eq 'MT_J_RETRY'