Branch Coverage

blib/lib/Protocol/TLS/Server.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
22 0 2 unless defined $file
25 0 2 unless open my $fh, '<', $file
34 0 2 unless $cert
41 0 2 unless defined $file
44 0 2 unless open my $fh, '<', $file
51 0 2 unless $key
79 0 1 if (exists $opts{'on_data'})
92 0 1 if ($sid ne '' and exists $$self{'sid'}{$sid}) { }
163 0 0 if (exists $opts{'on_handshake_finish'})