Branch Coverage

blib/lib/RundeckAPI.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
84 0 0 if defined $args{'proxy'}
98 0 0 if (defined $self->{'token'})
104 0 0 if ($rc - $rc % 100 == 200 and index($client->{'_res'}{'_content'}, 'alert alert-danger') == -1) { }
106 0 0 if (defined $jHash->[0]) { }
109 0 0 if ($tokenInfo->{'user'} eq $self->{'login'})
114 0 0 if ($connOK) { }
127 0 0 if ($rc - $rc % 100 != 200) { }
136 0 0 if $rc - $rc % 100 == 200
153 0 0 if ($endpoint =~ m[api/[0-9]+/job])
162 0 0 if ($rc - $rc % 100 != 200) { }
187 0 0 if ($rc - $rc % 100 != 200) { }
211 0 0 if ($rc - $rc % 100 != 200) { }
233 0 0 if ($rc - $rc % 100 != 200) { }
258 0 0 if ($rc - $rc % 100 != 200) { }
283 0 0 if ($rc - $rc % 100 != 200) { }
307 0 0 if ($responseType =~ m[^application/json.*]) { }
0 0 elsif ($responseType =~ m[text/plain.*]) { }
309 0 0 if $responseContent ne ""
311 0 0 if (not defined $reftype) { }
0 0 elsif ($reftype eq 'ARRAY') { }
0 0 elsif ($reftype eq 'SCALAR') { }
0 0 elsif ($reftype eq 'HASH') { }
340 0 0 if ($self->{'verbose'} >= 1)
341 0 0 if (defined $msg) { }
352 0 0 if ($self->{'verbose'} >= 2)
353 0 0 if (defined $obj) { }
365 0 0 if $self->{'debug'}