Branch Coverage

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


line true false branch
126 1 12 $self->production_mode ? :
137 1 3 $self->production_mode ? :
152 1 1 $amt ? :
212 1 17 unless ($args->{'params'}{'RESPMSG'})
228 15 1 $response->is_credit_card_transaction ? :
252 14 0 if $self->verbose
265 4 10 if ($post->{'CREATESECURETOKEN'} and $post->{'CREATESECURETOKEN'} eq "Y")
272 0 4 unless $options
287 10 0 if ($type and exists $class_for_type{$type})
292 5 5 unless (&any(sub {
298 3 2 $response->is_credit_card_transaction ? :
315 1 1 $amount ? :
346 2 0 $extra ? :
377 0 2 $extra ? :
397 0 2 if ($res->secure_token_id ne $token_id)