| lib/WebService/Shippo/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 18 | 27.7 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 7 | 0 | unless ($value) |
| 31 | 0 | 28 | if (-e $candidate) |
| 37 | 7 | 0 | unless @_ > 1 |
| 56 | 7 | 0 | unless @_ > 1 |
| 65 | 0 | 0 | if $api_key |
| 67 | 0 | 0 | if $user and not $api_key |
| 79 | 7 | 0 | unless $config_file and -e $config_file |
| 84 | 0 | 0 | unless open my $fh, '<:encoding(UTF-8)', $config_file |
| 89 | 0 | 0 | unless $config_yaml |