| blib/lib/WWW/PayPal.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 28 | 60.7 |
| line | true | false | branch |
|---|---|---|---|
| 38 | 1 | 0 | $_[0]->sandbox ? : |
| 79 | 0 | 4 | unless $self->client_id |
| 85 | 3 | 1 | if $args{'currency'} |
| 86 | 0 | 4 | if $args{'locale'} |
| 87 | 1 | 3 | if $args{'disable_funding'} |
| 88 | 0 | 4 | if $args{'enable_funding'} |
| 90 | 1 | 3 | if $args{'vault'} |
| 91 | 0 | 4 | if $args{'merchant_id'} |
| 92 | 0 | 4 | if $args{'buyer_country'} and $self->sandbox |
| 93 | 0 | 4 | if $args{'debug'} |
| 97 | 0 | 4 | if (my $extra = $args{'params'}) |
| 117 | 5 | 0 | ref $v eq 'ARRAY' ? : |
| 122 | 0 | 34 | unless defined $s |
| 129 | 0 | 1 | unless defined $s |