Branch Coverage

blib/lib/VMware/vCloud.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
25 0 0 unless $org
41 0 0 if defined $self->{'api'}{'have_session'} and $self->{'api'}{'have_session'} > 0
86 0 0 if $ref->{'type'} eq 'application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml'
119 0 0 if $ref->{'type'} eq 'application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml'
144 0 0 if defined $vapp
157 0 0 unless (defined $vapps)
166 0 0 unless $entity->{'ResourceEntity'}{$name}{'type'} eq 'application/vnd.vmware.vcloud.vApp+xml'
175 0 0 wantarray ? :
0 0 if defined $vapps
184 0 0 if defined $tmpl
210 0 0 wantarray ? :
218 0 0 if defined $templates
231 0 0 unless $entity->{'ResourceEntity'}{$name}{'type'} eq 'application/vnd.vmware.vcloud.vAppTemplate+xml'
285 0 0 unless $href =~ m[/action/disable$]
293 0 0 unless $href =~ m[/action/enable$]
303 0 0 wantarray ? :
0 0 if defined $org
328 0 0 if $type eq 'controlAccess'
334 0 0 wantarray ? :
342 0 0 unless (defined $orgs)
348 0 0 unless $ret->{'Org'}{$orgname}{'type'} eq 'application/vnd.vmware.vcloud.org+xml'
355 0 0 wantarray ? :
0 0 if defined $orgs
378 0 0 unless $href =~ m[/action/disable$]
386 0 0 unless $href =~ m[/action/enable$]
396 0 0 if defined $vdc
415 0 0 if $type eq 'controlAccess'
421 0 0 wantarray ? :
428 0 0 if not defined $orgname or $orgname =~ /^[sS]ystem$/
431 0 0 unless (defined $vdcs)
434 0 0 if defined $orgname
445 0 0 wantarray ? :
468 0 0 wantarray ? :
485 0 0 if defined $networks
488 0 0 $vdcid ? :
520 0 0 if ($status eq 'queued' or $status eq 'preRunning' or $status eq 'running' or $status eq 'success')
528 0 0 defined $task->{'Progress'}[0] ? :
545 0 0 wantarray ? :
607 0 0 wantarray ? :
618 0 0 if $link->{'type'} eq 'application/vnd.vmware.admin.vmwExternalNetworkReferences+xml'
624 0 0 wantarray ? :
633 0 0 wantarray ? :