Branch Coverage

blib/lib/Net/Silverpeak/Orchestrator.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
65 0 0 if ($self->has_user and $self->has_passwd)
75 0 0 ref $res->data eq 'HASH' && exists $res->data->{'error'} ? :
82 0 0 unless $self->has_user and $self->has_passwd
90 0 0 unless $res->code == 200
94 0 0 if (my($csrf_cookie) = grep({$_->{'name'} eq "orchCsrfToken";} @cookies))
105 0 0 unless $self->has_user and $self->has_passwd
109 0 0 unless $res->code == 200
122 0 0 unless $res->code == 200
131 0 0 unless $res->code == 200
139 0 0 unless $res->code == 200
149 0 0 unless $res->code == 204
156 0 0 unless ref $templatenames eq "ARRAY"
161 0 0 unless $res->code == 200
170 0 0 unless $res->code == 200
178 0 0 unless $res->code == 204
186 0 0 unless $res->code == 200
194 0 0 unless $res->code == 200
202 0 0 unless $res->code == 200
210 0 0 unless $res->code == 200
218 0 0 unless $res->code == 200
226 0 0 unless $res->code == 200
234 0 0 unless $res->code == 200
242 0 0 unless $res->code == 200
250 0 0 unless $res->code == 200
261 0 0 if &any(sub {
269 0 0 unless $res->code == 200
277 0 0 unless $res->code == 200
285 0 0 unless $res->code == 200
295 0 0 unless $res->code == 204
305 0 0 unless $res->code == 204
313 0 0 unless $res->code == 204
321 0 0 unless $res->code == 200
329 0 0 unless $res->code == 200
337 0 0 unless $res->code == 200
347 0 0 unless $res->code == 204
357 0 0 unless $res->code == 204
365 0 0 unless $res->code == 204
374 0 0 unless $res->code == 200
383 0 0 unless $res->code == 200
391 0 0 unless $res->code == 200
400 0 0 unless $res->code == 200
412 0 0 unless $res->code == 200
422 0 0 unless exists $application_groups->{$name}
426 0 0 unless $res->code == 200
435 0 0 if $self->has_user and $self->has_passwd and $self->is_logged_in