Branch Coverage

blib/lib/Mail/SendEasy/SMTP.pm
Criterion Covered Total %
branch 0 120 0.0


line true false branch
35 0 0 if ($CLASS_HPLOO{'ATTR'})
37 0 0 unless exists $$this{$Key}
38 0 0 defined &SMTP ? :
39 0 0 if (ref $ret_this and UNIVERSAL::isa($ret_this, $class)) { }
0 0 elsif ($ret_this == $undef) { }
41 0 0 if ($CLASS_HPLOO{'ATTR'} and UNIVERSAL::isa($this, 'HASH'))
43 0 0 unless exists $$this{$Key}
62 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
76 0 0 if $from_sendeasy
78 0 0 if $this->connect($_)
80 0 0 if not $$this{'SOCKET'}
84 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
94 0 0 unless ($sock)
95 0 0 if not $n or $n > 1
102 0 0 unless ($this->response =~ /^2/)
103 0 0 if not $n or $n > 1
107 0 0 if (not $this->EHLO('main') =~ /^2/) { }
114 0 0 unless $$response_i[0] =~ /^2/
124 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
126 0 0 if $$this{'SOCKET'} and $$this{'SOCKET'}->connected
131 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
138 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
144 0 0 if $user eq ''
145 0 0 if $pass eq ''
146 0 0 unless @types
150 0 0 if ($auth and $this->AUTH($auth->type) =~ /^3/)
151 0 0 if (my $init = $auth->start)
153 0 0 if $this->response == 235
163 0 0 if $response[0][0] == 235
164 0 0 if $response[0][0] == 535
173 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
174 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
176 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
177 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
179 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
180 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
182 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
0 0 wantarray ? :
185 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
188 0 0 if $error
189 0 0 unless $$this{'SOCKET'}
195 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
198 0 0 unless $error
199 0 0 if ($$this{'SENDEASY'}) { }
204 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
207 0 0 unless $this->is_connected
208 0 0 unless $$this{'SOCKET'}
214 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
218 0 0 unless $this->is_connected
219 0 0 unless $$this{'SOCKET'}
229 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
231 0 0 unless $this->is_connected
232 0 0 unless $$this{'SOCKET'}
241 0 0 if ($sel->can_read($$this{'TIMEOUT'}))
247 0 0 if $more ne '-'
253 0 0 if wantarray
259 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
0 0 wantarray ? :
261 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :
263 0 0 ref $_[0] && UNIVERSAL::isa($_[0], 'UNIVERSAL') ? :