Branch Coverage

blib/lib/Net/SMTPS.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
34 0 0 if (@_ % 2) { }
43 0 0 if ($ssl =~ /ssl/i)
46 0 0 if (defined $arg{'SSL'} and $arg{'SSL'} > 0)
51 0 0 defined $host ? :
62 0 0 defined $_args{'Timeout'} ? :
64 0 0 ref $hosts ? :
73 0 0 if $obj = $type->SUPER::new(%_args)
80 0 0 unless defined $obj
84 0 0 exists $arg{'Debug'} ? :
88 0 0 if ($ssl or defined $arg{'SSL'})
91 0 0 unless (eval { do { require IO::Socket::SSL } })
97 0 0 exists $arg{'Debug'} ? :
101 0 0 if (defined $ssl and $ssl =~ /ssl/i)
103 0 0 unless ($obj->ssl_start(\%ssl_args))
110 0 0 unless ($obj->response == 2)
123 0 0 unless ($obj->hello($arg{'Hello'} || ''))
129 0 0 if (defined $ssl and $ssl =~ /starttls/i and defined $obj->supports('STARTTLS'))
131 0 0 unless ($obj->starttls)
144 0 0 unless unshift @Net::SMTPS::ISA, 'IO::Socket::SSL' and 'IO::Socket::SSL'->start_SSL($self, %$args) and $self->isa('IO::Socket::SSL') and bless $self, $type
158 0 0 unless ($self->_STARTTLS and $self->ssl_start(\%ssl_args, @_))
170 0 0 if ($mech)
171 0 0 if $self->debug
175 0 0 if (exists do { *$self }->{'net_smtp_esmtp'}{'AUTH'})
177 0 0 if $self->debug
180 0 0 if (index($sv, $i) >= 0 and grep(/$i/i, @matched) == ())
185 0 0 if (@matched)
189 0 0 if $self->debug