Branch Coverage

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


line true false branch
32 0 0 unless my $self = shift()
41 0 0 unless my $self = shift()
50 0 0 unless my $self = shift()
53 0 0 unless @p
56 0 0 if (@p == 1) { }
57 0 0 unless ref $a eq "HASH"
62 0 0 if scalar @p % 2 != 0
74 0 0 unless my $self = shift()
76 0 0 unless my $a = shift()
77 0 0 if ref $a
86 0 0 unless my $self = shift()
87 0 0 unless my $realm = shift()
88 0 0 if ref $realm
91 0 0 unless @p
94 0 0 if (@p == 1) { }
95 0 0 unless ref $a eq "HASH"
100 0 0 if scalar @p % 2 != 0
112 0 0 unless my $self = shift()
113 0 0 unless my $a = shift()
122 0 0 unless my $self = shift()
131 0 0 unless my $self = shift()
134 0 0 unless @p
137 0 0 if (@p == 1) { }
138 0 0 unless ref $a eq "HASH"
143 0 0 if scalar @p % 2 != 0
155 0 0 unless my $self = shift()
157 0 0 unless my $a = shift()
158 0 0 if ref $a
167 0 0 unless my $self = shift()
168 0 0 unless my $realm = shift()
169 0 0 if ref $realm
172 0 0 unless @p
175 0 0 if (@p == 1) { }
176 0 0 unless ref $a eq "HASH"
181 0 0 if scalar @p % 2 != 0
193 0 0 unless my $self = shift()
194 0 0 unless my $a = shift()
204 0 0 unless my $self = shift()
213 0 0 unless my $self = shift()
216 0 0 unless @p
219 0 0 if (@p == 1) { }
220 0 0 unless ref $a eq "HASH"
225 0 0 if scalar @p % 2 != 0
237 0 0 unless my $self = shift()
239 0 0 unless my $a = shift()
240 0 0 if ref $a
249 0 0 unless my $self = shift()
250 0 0 unless my $realm = shift()
251 0 0 if ref $realm
254 0 0 unless @p
257 0 0 if (@p == 1) { }
258 0 0 unless ref $a eq "HASH"
263 0 0 if scalar @p % 2 != 0
275 0 0 unless my $self = shift()
276 0 0 unless my $a = shift()
286 0 0 unless my $self = shift()
295 0 0 unless my $self = shift()
298 0 0 unless @p
301 0 0 if (@p == 1) { }
302 0 0 unless ref $a eq "HASH"
307 0 0 if scalar @p % 2 != 0
319 0 0 unless my $self = shift()
321 0 0 unless my $a = shift()
322 0 0 if ref $a
331 0 0 unless my $self = shift()
332 0 0 unless my $realm = shift()
333 0 0 if ref $realm
336 0 0 unless @p
339 0 0 if (@p == 1) { }
340 0 0 unless ref $a eq "HASH"
345 0 0 if scalar @p % 2 != 0
357 0 0 unless my $self = shift()
358 0 0 unless my $a = shift()
367 0 0 unless my $self = shift()
369 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) { }
392 0 0 unless my $self = shift()
394 0 0 if ($self->{'ticket'} or $self->{'timestamp'})
407 0 0 unless my $self = shift()
415 0 0 unless my $self = shift()
431 0 0 if ($response->is_success) { }
441 0 0 if $self->{'params'}{'debug'}
447 0 0 if $self->{'params'}{'debug'}
449 0 0 if $self->{'params'}{'debug'}
459 0 0 unless my $self = shift()
462 0 0 unless @p
465 0 0 if (@p == 1) { }
466 0 0 unless ref $a eq "HASH"
471 0 0 if scalar @p % 2 != 0
483 0 0 unless my $self = shift()
486 0 0 unless @p
489 0 0 if (@p == 1) { }
490 0 0 unless ref $a eq "HASH"
495 0 0 if scalar @p % 2 != 0