Branch Coverage

blib/lib/Business/PayPal.pm
Criterion Covered Total %
branch 25 52 48.0


line true false branch
368 3 1 unless $self->{'id'}
429 1 2 if (defined $buttonparam{'form_id'})
436 68 38 unless defined $buttonparam{$param}
437 3 35 if $param eq 'button_image'
459 0 0 wantarray ? :
0 3 if $succ
460 2 1 wantarray ? :
476 0 3 if ($address[0] =~ /:/) { }
493 0 0 wantarray ? :
0 3 unless $ppcert
510 0 3 if ($Cert)
516 0 3 if ($Certcontent)
522 0 3 if ($self->{'addcert'})
525 0 3 if ($self->{'addcertcontent'})
529 0 3 if ($self->{'cert'})
532 0 3 if ($self->{'certcontent'})
536 2 1 if ($self->{'check_cert'})
538 0 0 wantarray ? :
0 2 unless grep {$_ eq $ppx509;} @certs
540 0 0 wantarray ? :
0 2 unless grep {$_ eq $ppcertcontent;} @cert_cont
542 3 0 wantarray ? :
3 0 if $page eq 'INVALID'
544 0 0 wantarray ? :
0 0 if $page eq 'VERIFIED'
547 0 0 wantarray ? :