Condition Coverage

blib/lib/WWW/PagerDuty.pm
Criterion Covered Total %
condition 2 54 3.7


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 0 defined $params->{'details'} and ref $params->{'details'} eq 'SCALAR'
0 0 0 defined $params->{'details'} and ref $params->{'details'} eq 'HASH'
107 0 0 0 defined $result and ref $result eq 'HASH'
109 0 0 0 defined $result->{'errors'} and ref $result->{'errors'} eq 'ARRAY'
134 0 0 0 not defined $self and ref $self ne 'WWW::PagerDuty'
168 0 0 0 defined $request_body_json and $request_body_json
0 0 0 defined $request_body_json and $request_body_json and not $@
173 0 0 0 defined $http_response_body and not $@
0 0 0 defined $http_response_body and $@
180 0 0 0 ref $http_response eq 'HASH' and defined $http_response->{'errors'}
0 0 0 ref $http_response eq 'HASH' and defined $http_response->{'errors'} and ref $http_response->{'errors'} eq 'ARRAY'
0 0 0 ref $http_response eq 'HASH' and not defined $http_response->{'errors'}

or 3 conditions

line l !l&&r !l&&!r condition
37 1 0 1 not defined $params or ref $params ne 'HASH'
65 0 0 0 not defined $self or ref $self ne 'WWW::PagerDuty'
67 0 0 0 not defined $params or ref $params ne 'HASH'
69 0 0 0 defined $params->{'incident_key'} or defined $self->{'incident_key'}
135 0 0 0 not defined $params or ref $params ne 'HASH'
137 0 0 0 $self->{'incident_key'} or $params->{'incident_key'}