Branch Coverage

blib/lib/Business/OnlinePayment/PPIPayMover/SecureHttp.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
29 0 4 unless ($$self{'ctx'})
35 0 4 unless (&Net::SSLeay::CTX_set_options($$self{'ctx'}, &Net::SSLeay::OP_ALL))
45 0 4 unless ($$self{'ssl'})
58 0 4 unless $port =~ /^\d+$/
61 0 4 unless (defined $destIp)
68 0 4 unless (socket S, 2, 1, 0)
73 0 4 unless (connect S, $destServerSockAddr)
80 0 4 unless (&Net::SSLeay::connect($$self{'ssl'}))
101 0 4 unless (Net::SSLeay::ssl_write_all($$self{'ssl'}, $PostString))
109 0 4 if ($^O eq 'MSWin32') { }
130 0 4 unless (defined $$Response)