line |
true |
false |
branch |
58
|
0 |
5 |
unless (defined $key and exists $$self{$key}) |
67
|
0 |
2 |
if (defined $value) { } |
70
|
2 |
0 |
defined $$self{$key} ? : |
75
|
2 |
3 |
if (defined $value) { } |
80
|
0 |
3 |
defined $$self{$key} ? : |
111
|
0 |
0 |
unless (defined $whichTraits and exists $$self{$whichTraits}) |
122
|
0 |
0 |
if ($trait =~ /^\d+$/ and $trait < 16 and $trait > -1) { } |
|
0 |
0 |
elsif ($trait =~ /^(\d+)-(\d+)$/ and $1 < 16 and $1 > -1 and $2 < 16 and $2 > -1 and $1 < $2) { } |
134
|
0 |
0 |
if ($#traits > -1) { } |
148
|
0 |
0 |
unless (defined $_[0]) |
159
|
0 |
0 |
unless (defined $_[0]) |
175
|
0 |
0 |
unless (defined $error) |
181
|
0 |
0 |
if (exists $_errorSeverities{$error}) { } |
197
|
0 |
0 |
unless (defined $_[0]) |
205
|
0 |
0 |
if (exists $_alertSeverities{$severity}) |
210
|
0 |
0 |
if ($#alertseverities > -1) { } |
222
|
0 |
0 |
unless (defined $_[0]) |
234
|
0 |
0 |
if (exists $_eventTypes{$eventtype}) |
239
|
0 |
0 |
if ($#eventList > -1) { } |
252
|
0 |
0 |
unless (defined $confirm) |
261
|
0 |
0 |
if ($confirm eq 'no' or $confirm eq 'yes') { } |
274
|
0 |
0 |
unless (defined $type) |
283
|
0 |
0 |
if ($type eq 'subscription' or $type eq 'query') { } |
362
|
0 |
0 |
if ($self->Type eq 'subscription') |
364
|
0 |
0 |
if (defined $self->timeout) |
367
|
0 |
0 |
if (defined $self->confirm) |
372
|
0 |
0 |
if (defined $self->startTime) |
376
|
0 |
0 |
if (defined $self->maxNbrOfEvents) |
380
|
0 |
0 |
if (defined $self->mustHaveAlarmTraits) |
384
|
0 |
0 |
if (defined $self->mustNotHaveAlarmTraits) |
388
|
0 |
0 |
if (defined $self->alertSeverities) |
392
|
0 |
0 |
if (defined $self->errorSeverities) |
396
|
0 |
0 |
if ($self->Type eq 'query' and defined $self->stopTime) |
403
|
0 |
0 |
if ($result->is_success) { } |
404
|
0 |
0 |
if ($self->Type eq 'subscription') |
405
|
0 |
0 |
if (my $cookie = $result->header('Set-Cookie')) { } |
413
|
0 |
0 |
if (my $parameter = $result->header('X-CISCO-RDEP-PARAMETERS')) { } |
439
|
0 |
0 |
if ($self->Type eq 'query') |
442
|
0 |
0 |
if ($self->state eq 'closed') |
457
|
0 |
0 |
if (defined $self->timeout) |
461
|
0 |
0 |
if (defined $self->confirm) |
465
|
0 |
0 |
if (defined $self->maxNbrOfEvents) |
472
|
0 |
0 |
if ($result->is_success) { } |
473
|
0 |
0 |
if (my $cookie = $result->header('Set-Cookie')) |
477
|
0 |
0 |
if (my $parameter = $result->header('X-CISCO-RDEP-PARAMETERS')) |
479
|
0 |
0 |
if ($name eq 'missedEvents') |
480
|
0 |
0 |
if ($value eq 'true') { } |
505
|
0 |
0 |
if $self->state eq 'closed' or $self->Type eq 'query' |
523
|
0 |
0 |
if (defined $result and $result->is_success) { } |
537
|
0 |
1 |
if ($self->state eq 'opened') |