Branch Coverage

blib/lib/Metabrik/Audit/Smtp.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
59 0 0 unless $self->brik_help_run_undef_arg('connect', $hostname)
60 0 0 unless $self->brik_help_run_undef_arg('connect', $port)
61 0 0 unless $self->brik_help_run_undef_arg('connect', $domainname)
65 0 0 unless my $smtp = 'Net::SMTP'->new($hostname, 'Port', $port, 'Hello', $domainname, 'Timeout', $timeout, 'Debug', $self->log->level)
82 0 0 unless $self->brik_help_run_undef_arg('connect', $smtp)
93 0 0 unless $self->brik_help_run_undef_arg('connect', $smtp)
114 0 0 unless $self->brik_help_run_undef_arg('connect', $smtp)
120 0 0 if ($msg =~ /AUTH LOGIN/i) { }
124 0 0 if ($ok == Net::Cmd::CMD_MORE())
126 0 0 if ($ok == Net::Cmd::CMD_MORE())
128 0 0 if ($ok == Net::Cmd::CMD_OK())
148 0 0 unless $self->brik_help_run_undef_arg('connect', $smtp)
157 0 0 if ($ok) { }
159 0 0 if ($ok) { }
164 0 0 if ($status == Net::Cmd::CMD_REJECT()) { }
0 0 elsif ($status == Net::Cmd::CMD_ERROR()) { }
178 0 0 if ($status == Net::Cmd::CMD_REJECT()) { }
0 0 elsif ($status == Net::Cmd::CMD_ERROR()) { }