line |
true |
false |
branch |
157
|
2 |
0 |
unless @_ |
159
|
0 |
0 |
if ($_ eq 'smtp_server') { } |
182
|
0 |
5 |
defined wantarray ? : |
187
|
7 |
0 |
unless defined $$self{'hostname'} |
191
|
0 |
0 |
if (exists $$self{'event_failed'}) |
197
|
0 |
0 |
unless ($con) |
206
|
0 |
0 |
if @DB::args < 2 |
207
|
0 |
0 |
if $DB::args[0] == $main::self and $DB::args[1] eq $main::event and UNIVERSAL::isa($DB::args[2], 'AnyEvent::SMTP::Conn') |
213
|
0 |
0 |
if ($con) |
215
|
0 |
0 |
if ($$self{'devel'}) |
230
|
0 |
164 |
unless length $_ |
234
|
164 |
0 |
if (exists $CMD{$cmd}) { } |
262
|
0 |
41 |
unless $from =~ s/^from://iu |
263
|
0 |
41 |
unless $$con{'helo'} |
265
|
41 |
0 |
if (not $from =~ /^\s*<>\s*$/u) { } |
267
|
0 |
41 |
unless @addrs == 1 |
271
|
0 |
41 |
if ($$self{'mail_validate'}) |
273
|
0 |
0 |
unless $res |
281
|
0 |
41 |
unless $to =~ s/^to://iu |
282
|
0 |
41 |
unless defined $$con{'m'}{'from'} |
284
|
0 |
41 |
unless @addrs |
285
|
0 |
41 |
if ($$self{'rcpt_validate'}) |
287
|
0 |
0 |
unless $res |
294
|
0 |
41 |
unless defined $$con{'m'}{'from'} |
295
|
0 |
41 |
unless $$con{'m'}{'to'} |
299
|
0 |
41 |
if ($$self{'data_validate'}) |
301
|
0 |
0 |
unless $res |
307
|
0 |
41 |
if ($$s{'event_failed'}) { } |
331
|
1 |
0 |
if $$self{'c'}{$_} |
340
|
0 |
7 |
unless $self->eventcan('command') |
344
|
0 |
47 |
unless ($fh) |
352
|
7 |
0 |
unless defined $$self{'host'} |
353
|
0 |
7 |
unless defined $$self{'port'} |
354
|
0 |
7 |
if $$self{'debug'} |
363
|
0 |
47 |
if $$self{'debug'} |
388
|
46 |
165 |
unless $self->eventcan($name) |
397
|
46 |
172 |
unless exists $$self{'__oe_events'}{$name} |
404
|
0 |
164 |
unless ($self->eventif($cmd, $con, @args)) |