Branch Coverage

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


line true false branch
34 0 0 if (@_ % 2) { }
43 0 0 if delete $arg{'SSL'}
45 0 0 defined $host ? :
56 0 0 defined $_args{'Timeout'} ? :
58 0 0 ref $hosts ? :
67 0 0 if $obj = $type->SUPER::new(%_args)
74 0 0 unless defined $obj
78 0 0 exists $arg{'Debug'} ? :
82 0 0 if ($ssl)
85 0 0 unless (eval { do { require IO::Socket::SSL } })
91 0 0 exists $arg{'Debug'} ? :
95 0 0 if (defined $ssl and $ssl =~ /ssl/i)
97 0 0 unless ($obj->ssl_start(\%ssl_args))
104 0 0 unless ($obj->response == 2)
115 0 0 unless ($obj->hello($arg{'Hello'} || ''))
121 0 0 if (defined $ssl and $ssl =~ /starttls/i and defined $obj->supports('STARTTLS'))
126 0 0 unless ($obj->command('STARTTLS')->response == 2 and $obj->ssl_start(\%ssl_args) and $obj->hello($arg{'Hello'} || ''))
140 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
151 0 0 if ($mech)
152 0 0 if $self->debug
156 0 0 if (exists do { *$self }->{'net_smtp_esmtp'}{'AUTH'})
158 0 0 if $self->debug
161 0 0 if (index($sv, $i) >= 0 and grep(/$i/i, @matched) == ())
166 0 0 if (@matched)
170 0 0 if $self->debug