Branch Coverage

blib/lib/Protocol/TLS/Client.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
15 0 0 if (exists $opts{'cert_file'} and exists $opts{'key_file'})
24 0 3 unless defined $server_name
27 0 3 if exists $self->{'key'}
28 0 3 if exists $self->{'cert'}
33 1 2 if (exists $self->{'sid'}{$server_name}) { }
56 3 0 if (exists $opts{'on_data'})
80 0 2 if ($pro->{'session_id'} ne '')
86 0 2 if (exists $p->{'client_cert'})
92 0 0 exists $ctx->{'cert'} ? :
98 2 0 if ($da eq 'RSA') { }
117 0 0 if (exists $p->{'client_cert'} and exists $ctx->{'cert'})
122 0 0 if ($alg and exists &{"SIGN_$alg";}) { }
0 0 elsif ($alg) { }
136 0 0 if ($$sah[$i * 2 + 1] == $alg_n)
145 0 0 if ($alg eq 'RSA') { }
207 3 0 if (exists $opts{'on_handshake_finish'})