| lib/WebService/Shippo/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 19 | 10.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 67 | 0 | 0 | 0 | $user and not $api_key |
| 79 | 7 | 0 | 0 | $config_file and -e $config_file |
| line | l | !l | condition |
|---|---|---|---|
| 59 | 0 | 0 | $config->{'default_token'} || 'private_token' |
| 92 | 0 | 0 | YAML::XS::Load($config_yaml) || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 57 | 0 | 0 | 0 | ref $invocant || $invocant |
| 61 | 0 | 0 | 0 | $config->{'username'} || $config->{'email'} |
| 76 | 0 | 7 | 0 | ref $invocant || $invocant |