Branch Coverage

blib/lib/Net/Proxmox/VE/Access.pm
Criterion Covered Total %
branch 0 186 0.0


line true false branch
35 0 0 unless my $self = shift()
44 0 0 unless my $self = shift()
53 0 0 unless my $self = shift()
56 0 0 unless @p
59 0 0 if (@p == 1) { }
60 0 0 unless ref $a eq "HASH"
65 0 0 if scalar @p % 2 != 0
77 0 0 unless my $self = shift()
79 0 0 unless my $a = shift()
80 0 0 if ref $a
89 0 0 unless my $self = shift()
90 0 0 unless my $realm = shift()
91 0 0 if ref $realm
94 0 0 unless @p
97 0 0 if (@p == 1) { }
98 0 0 unless ref $a eq "HASH"
103 0 0 if scalar @p % 2 != 0
115 0 0 unless my $self = shift()
116 0 0 unless my $a = shift()
125 0 0 unless my $self = shift()
134 0 0 unless my $self = shift()
137 0 0 unless @p
140 0 0 if (@p == 1) { }
141 0 0 unless ref $a eq "HASH"
146 0 0 if scalar @p % 2 != 0
158 0 0 unless my $self = shift()
160 0 0 unless my $a = shift()
161 0 0 if ref $a
170 0 0 unless my $self = shift()
171 0 0 unless my $realm = shift()
172 0 0 if ref $realm
175 0 0 unless @p
178 0 0 if (@p == 1) { }
179 0 0 unless ref $a eq "HASH"
184 0 0 if scalar @p % 2 != 0
196 0 0 unless my $self = shift()
197 0 0 unless my $a = shift()
207 0 0 unless my $self = shift()
216 0 0 unless my $self = shift()
219 0 0 unless @p
222 0 0 if (@p == 1) { }
223 0 0 unless ref $a eq "HASH"
228 0 0 if scalar @p % 2 != 0
240 0 0 unless my $self = shift()
242 0 0 unless my $a = shift()
243 0 0 if ref $a
252 0 0 unless my $self = shift()
253 0 0 unless my $realm = shift()
254 0 0 if ref $realm
257 0 0 unless @p
260 0 0 if (@p == 1) { }
261 0 0 unless ref $a eq "HASH"
266 0 0 if scalar @p % 2 != 0
278 0 0 unless my $self = shift()
279 0 0 unless my $a = shift()
289 0 0 unless my $self = shift()
298 0 0 unless my $self = shift()
301 0 0 unless @p
304 0 0 if (@p == 1) { }
305 0 0 unless ref $a eq "HASH"
310 0 0 if scalar @p % 2 != 0
322 0 0 unless my $self = shift()
324 0 0 unless my $a = shift()
325 0 0 if ref $a
334 0 0 unless my $self = shift()
335 0 0 unless my $realm = shift()
336 0 0 if ref $realm
339 0 0 unless @p
342 0 0 if (@p == 1) { }
343 0 0 unless ref $a eq "HASH"
348 0 0 if scalar @p % 2 != 0
360 0 0 unless my $self = shift()
361 0 0 unless my $a = shift()
370 0 0 unless my $self = shift()
372 0 0 if ($self->{'ticket'} and ref $self->{'ticket'} eq 'HASH' and $self->{'ticket'} and $self->{'ticket'}{'ticket'} and $self->{'ticket'}{'CSRFPreventionToken'} and $self->{'ticket'}{'username'} eq $self->{'params'}{'username'} . '@' . $self->{'params'}{'realm'} and $self->{'ticket_timestamp'} and $self->{'ticket_timestamp'} + $self->{'ticket_life'} > time) { }
395 0 0 unless my $self = shift()
397 0 0 if ($self->{'ticket'} or $self->{'timestamp'})
410 0 0 unless my $self = shift()
418 0 0 unless my $self = shift()
434 0 0 if ($response->is_success) { }
444 0 0 if $self->{'params'}{'debug'}
450 0 0 if $self->{'params'}{'debug'}
452 0 0 if $self->{'params'}{'debug'}
462 0 0 unless my $self = shift()
465 0 0 unless @p
468 0 0 if (@p == 1) { }
469 0 0 unless ref $a eq "HASH"
474 0 0 if scalar @p % 2 != 0
486 0 0 unless my $self = shift()
489 0 0 unless @p
492 0 0 if (@p == 1) { }
493 0 0 unless ref $a eq "HASH"
498 0 0 if scalar @p % 2 != 0