Branch Coverage

lib/App/MtAws/QueueJobResult.pm
Criterion Covered Total %
branch 45 56 80.3


line true false branch
82 0 3502 unless wantarray
94 0 311 unless wantarray
96 304 7 $cb ? :
106 0 3330 unless wantarray
108 1 3329 unless @_ >= 2
111 517 2812 if (ref $task_action eq ref {})
113 1 516 $h->{'attachment'} ? :
117 1 3328 if defined $task_args and ref $task_args ne ref {}
118 0 3328 unless $task_action
119 2 3326 unless $cb and ref $cb eq 'CODE'
120 1 3325 if defined $attachment and ref $attachment ne ref \''
122 236 3089 defined $attachment ? :
150 1 10484 unless @_
152 10632 8468 if (&blessed($o) and $o->isa($class)) { }
8466 2 elsif (ref $o eq ref '') { }
153 1 10631 unless $o->{'_type'} eq 'partial'
155 0 10631 if @fields_to_copy != 1
157 5 10626 if defined $res->{$field_to_copy}
160 52 8414 if defined $res->{'code'}
171 0 10424 unless defined $res->{'code'}
172 0 10424 unless $res->{'code'}
173 1 10423 unless &is_code($res->{'code'})
174 3310 7113 if ($res->{'code'} eq 'MT_J_OK')
175 5 3305 unless defined $res->{'task'}
176 0 3305 unless defined $res->{'task'}{'action'}
177 0 3305 unless defined $res->{'task'}{'cb'}
178 0 3305 unless defined $res->{'task'}{'args'}
180 0 10418 if $res->{'code'} ne 'MT_J_OK' and defined $res->{'task'}