Branch Coverage

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


line true false branch
32 0 0 if (@_ % 2) { }
41 0 0 if delete $arg{'SSL'}
43 0 0 defined $host ? :
54 0 0 defined $_args{'Timeout'} ? :
56 0 0 ref $hosts ? :
65 0 0 if $obj = $type->SUPER::new(%_args)
72 0 0 unless defined $obj
76 0 0 exists $arg{'Debug'} ? :
80 0 0 if ($ssl)
83 0 0 unless (eval { do { require IO::Socket::SSL } })
89 0 0 exists $arg{'Debug'} ? :
93 0 0 if (defined $ssl and $ssl =~ /ssl/i)
95 0 0 unless ($obj->ssl_start(\%ssl_args))
102 0 0 unless ($obj->response == 2)
113 0 0 unless ($obj->hello($arg{'Hello'} || ''))
119 0 0 if (defined $ssl and $ssl =~ /starttls/i and $obj->supports('STARTTLS'))
123 0 0 unless ($obj->command('STARTTLS')->response == 2 and $obj->ssl_start(\%ssl_args) and $obj->hello($arg{'Hello'} || ''))
137 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
148 0 0 if ($mech)
149 0 0 if $self->debug
153 0 0 if (exists do { *$self }->{'net_smtp_esmtp'}{'AUTH'})
156 0 0 if (index($sv, $i) >= 0 and grep(/$i/i, @matched) == ())
161 0 0 if (@matched)