Branch Coverage

blib/lib/WebService/PayPal/PaymentsAdvanced.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
127 1 12 $self->production_mode ? :
138 1 3 $self->production_mode ? :
153 1 1 $amt ? :
213 1 17 unless ($args->{'params'}{'RESPMSG'})
229 15 1 $response->is_credit_card_transaction ? :
253 14 0 if $self->verbose
266 4 10 if ($post->{'CREATESECURETOKEN'} and $post->{'CREATESECURETOKEN'} eq 'Y')
273 0 4 unless $options
288 10 0 if ($type and exists $class_for_type{$type})
293 5 5 unless (&any(sub {
299 3 2 $response->is_credit_card_transaction ? :
316 1 1 $amount ? :
347 2 0 $extra ? :
377 0 2 $extra ? :
397 0 2 if ($res->secure_token_id ne $token_id)