Branch Coverage

blib/lib/Test/Mock/Net/Server/Mail.pm
Criterion Covered Total %
branch 13 50 26.0


line true false branch
77 1 0 if ($self->logging)
96 0 0 unless my $fh = 'IO::File'->new($self->_log_fh->filename, 1025)
113 9 0 if ($line)
124 0 9 unless (defined $log)
130 0 9 if ($log->{'verb'} ne $verb)
136 8 1 if (defined $params)
137 1 7 if (ref $params eq 'Regexp')
152 0 0 if ($self->logging)
157 0 0 if ($self->can($method))
166 0 0 if (ref $params eq '') { }
0 0 elsif (ref $params eq 'SCALAR') { }
173 0 0 defined $params_out ? :
188 0 0 if $self->support_8bitmime
190 0 0 if $self->support_pipelining
192 0 0 if $self->support_starttls
219 0 0 if ($name =~ /^bad/)
228 0 0 unless (defined $user)
231 0 0 if ($user =~ /^bad/)
234 0 0 if (defined $domain and $domain =~ /^bad/)
244 0 0 if ($$data =~ /bad mail content/ism)
267 0 1 if (defined $self->pid)
276 0 1 if ($pid == 0) { }
290 0 1 defined $text ? :
298 2 0 if (defined $pid)
318 1 0 defined $text ? :