| line |
true |
false |
branch |
|
37
|
1 |
1 |
if not defined $params or ref $params ne 'HASH' |
|
39
|
0 |
1 |
if $@ |
|
41
|
0 |
1 |
unless defined $params->{'service_key'} |
|
47
|
0 |
1 |
if $@ |
|
65
|
0 |
0 |
if not defined $self or ref $self ne 'WWW::PagerDuty' |
|
67
|
0 |
0 |
if not defined $params or ref $params ne 'HASH' |
|
69
|
0 |
0 |
unless defined $params->{'incident_key'} or defined $self->{'incident_key'} |
|
71
|
0 |
0 |
unless defined $params->{'description'} |
|
75
|
0 |
0 |
if (defined $params->{'details'} and ref $params->{'details'} eq 'SCALAR') { } |
|
|
0 |
0 |
elsif (defined $params->{'details'} and ref $params->{'details'} eq 'HASH') { } |
|
90
|
0 |
0 |
defined $params->{'incident_key'} ? : |
|
101
|
0 |
0 |
if ($data) { } |
|
|
0 |
0 |
elsif ($@) { } |
|
105
|
0 |
0 |
if (defined $return_body) { } |
|
|
0 |
0 |
elsif ($@) { } |
|
107
|
0 |
0 |
if (defined $result and ref $result eq 'HASH') { } |
|
108
|
0 |
0 |
if ($@) |
|
109
|
0 |
0 |
if (defined $result->{'errors'} and ref $result->{'errors'} eq 'ARRAY') |
|
134
|
0 |
0 |
if not defined $self and ref $self ne 'WWW::PagerDuty' |
|
135
|
0 |
0 |
if not defined $params or ref $params ne 'HASH' |
|
136
|
0 |
0 |
unless defined $self->{'service_key'} |
|
137
|
0 |
0 |
unless $self->{'incident_key'} or $params->{'incident_key'} |
|
138
|
0 |
0 |
unless $params->{'description'} |
|
142
|
0 |
0 |
if (defined $details) |
|
143
|
0 |
0 |
if (ref $details eq 'SCALAR') { } |
|
|
0 |
0 |
elsif (ref $details eq 'HASH') { } |
|
159
|
0 |
0 |
defined $params->{'service_key'} ? : |
|
|
0 |
0 |
defined $params->{'service_key'} ? : |
|
168
|
0 |
0 |
if (defined $request_body_json and $request_body_json and not $@) { } |
|
|
0 |
0 |
elsif ($@) { } |
|
173
|
0 |
0 |
if (defined $http_response_body and not $@) { } |
|
|
0 |
0 |
elsif (defined $http_response_body and $@) { } |
|
|
0 |
0 |
elsif ($@) { } |
|
178
|
0 |
0 |
if (defined $http_response) |
|
179
|
0 |
0 |
if ($@) |
|
180
|
0 |
0 |
if (ref $http_response eq 'HASH' and defined $http_response->{'errors'} and ref $http_response->{'errors'} eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (ref $http_response eq 'HASH' and not defined $http_response->{'errors'}) { } |