Branch Coverage

blib/lib/VMware/vCloudDirector2/Object.pm
Criterion Covered Total %
branch 3 102 2.9


line true false branch
90 0 1 if scalar @_ > 0
94 0 0 $self->_partial_object ? :
0 1 if $self->api->debug
108 0 0 if scalar @_ > 0
109 0 1 if scalar @_ > 0
111 0 0 if scalar @_ > 0
115 0 0 if $path =~ /\b([0-9a-f]{8}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{12})\b/
141 0 0 if scalar @_ > 0
146 0 0 if scalar @_ > 0
148 0 0 if (exists $self->hash->{'link'})
165 0 0 if scalar @_ > 0
0 0 $self->href->path =~ m[/api/admin/] ? :
170 0 0 if scalar @_ > 0
171 0 0 if $self->_partial_object
176 0 0 if scalar @_ > 0
191 0 0 if keys %args
0 0 if scalar @_ > 6
194 0 0 if (not defined $rel or $rel eq ($link->rel || ''))
195 0 0 if (not defined $type or $type eq ($link->type || ''))
196 0 0 if (not defined $name or $name eq ($link->name || ''))
210 0 0 unless (scalar @matched_links)
232 0 0 unless scalar @_ > 0
0 0 scalar @_ > 1 ? :
0 0 if scalar @_ > 2
239 0 0 exists $hash->{'link'} ? :
241 0 0 $object->_partial_object ? :
0 0 if $self->api->debug
254 0 0 unless scalar @_ > 0
0 0 if scalar @_ > 1
257 0 0 unless exists $self->hash->{$type}
264 0 0 unless scalar @_ > 0
0 0 unless scalar @_ > 1
0 0 if scalar @_ > 2
267 0 0 unless exists $self->hash->{$type} and XXX
268 0 0 unless exists $self->hash->{$type}{$subtype}
275 0 0 if scalar @_ > 0
277 0 0 unless exists $hash->{'children'} and XXX
290 0 0 if scalar @_ > 0
293 0 0 if scalar @_ > 0
294 0 0 if scalar @_ > 0
297 0 0 unless scalar @_ > 0
0 0 if scalar @_ > 1
300 0 0 unless scalar @_ > 0
0 0 if scalar @_ > 1
305 0 0 if scalar @_ > 1
306 0 0 if ($self->is_admin_object and not defined $subpath) { }
313 0 0 if defined $subpath
319 0 0 unless scalar @_ > 0
0 0 if scalar @_ > 1
0 0 ref $thing eq 'ARRAY' ? :
0 0 !defined($thing) ? :