| blib/lib/Net/Easypost/Request.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 53 | unless ($http_response->{'success'}) |
| 28 | 0 | 0 | $code ? : |
| 39 | 9 | 2 | unless $endpoint =~ /https?/ |
| 45 | 9 | 2 | lc $http_response->{'headers'}{'content-type'} =~ m[^application\/json] ? : |
| 52 | 62 | 0 | if exists $ENV{'EASYPOST_API_KEY'} |