Branch Coverage

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


line true false branch
270 3 1 unless $self->{'id'}
331 1 2 if (defined $buttonparam{'form_id'})
338 68 38 unless defined $buttonparam{$param}
339 3 35 if $param eq 'button_image'
361 0 0 wantarray ? :
0 3 if $succ
362 2 1 wantarray ? :
378 0 3 if ($address[0] =~ /:/) { }
395 0 0 wantarray ? :
0 3 unless $ppcert
412 0 3 if ($Cert)
418 0 3 if ($Certcontent)
424 0 3 if ($self->{'addcert'})
427 0 3 if ($self->{'addcertcontent'})
431 0 3 if ($self->{'cert'})
434 0 3 if ($self->{'certcontent'})
438 2 1 if ($self->{'check_cert'})
440 0 0 wantarray ? :
0 2 unless grep {$_ eq $ppx509;} @certs
442 0 0 wantarray ? :
0 2 unless grep {$_ eq $ppcertcontent;} @cert_cont
444 3 0 wantarray ? :
3 0 if $page eq 'INVALID'
446 0 0 wantarray ? :
0 0 if $page eq 'VERIFIED'
449 0 0 wantarray ? :