Branch Coverage

blib/lib/Mojo/IOLoop/TLS.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
9 2 61 $ENV{'MOJO_NO_TLS'} ? :
26 0 2 ref $_[0] ? :
32 0 0 unless "IO::Socket::SSL"->start_SSL($handle, %{$self->_expand($args);})
40 0 2 unless my $reactor = $self->reactor
41 2 0 if $self->{'handle'}
50 0 0 if $args->{'tls_ca'} and -T $args->{'tls_ca'}
51 0 0 if $args->{'tls_cert'}
52 0 0 if $args->{'tls_key'}
53 0 0 if $args->{'server'}
54 0 0 if $args->{'tls_options'}
56 0 0 if ($args->{'server'}) { }
61 0 0 'IO::Socket::SSL'->can_client_sni ? :
72 0 0 $server ? :
0 0 if (not $server ? $handle->accept_SSL : $handle->connect_SSL) { }
74 0 0 if ($err == 76673296) { }
0 0 elsif ($err == 76673368) { }