| blib/lib/WebService/PagerDuty/Request.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 0 | 2 | unless $method =~ /^(get|post)$/io |
| 57 | 1 | 1 | if $api_key and $user || $password |
| 59 | 0 | 0 | if $params and ref $params and ref $params eq 'HASH' and %$params |
| 62 | 0 | 1 | if %$body |
| 63 | 0 | 1 | if $user and $password |
| 64 | 1 | 0 | if $api_key |
| 67 | 0 | 1 | if %$body |