Branch Coverage

qpsmtpd-plugin/qmail_deliverable
Criterion Covered Total %
branch 43 66 65.1


line true false branch
108 0 1 if (not $INC{'Qpsmtpd.pm'})
160 0 1 if (@args % 2) { }
165 0 1 if ($args{'server'} and $args{'server'} =~ /^smtproutes:/) { }
1 0 elsif ($args{'server'}) { }
169 0 0 unless open my $fh, "/var/qmail/control/smtproutes"
178 0 0 if defined $server
179 0 0 if defined $fallback
188 0 1 if ($args{'vpopmail_ext'})
207 1 19 unless (defined $rv and length $rv)
213 1 18 if $rv == 17
214 1 18 if $rv == 18
215 1 18 if $rv == 19
216 3 16 if ($rv == 20)
218 2 1 if not $s or $s eq "<>"
223 1 16 if $rv == 33
225 1 16 if $rv == 34
227 1 16 if $rv == 47
229 1 16 if $rv == 241
230 1 16 if $rv == 242
231 1 16 if $rv == 243
232 1 16 if $rv == 244
233 1 16 if $rv == 245
234 1 16 if $rv == 246
235 1 16 if $rv == 254
236 1 16 if $rv == 255
238 16 1 if ($rv)
239 1 15 unless $k
249 0 0 if (exists $smtproutes{$domain})
250 0 0 if $smtproutes{$domain} eq ""
255 0 0 if (exists $smtproutes{$wildcard})
256 0 0 if $smtproutes{$wildcard} eq ""
260 0 0 unless exists $smtproutes{''}
261 0 0 if $smtproutes{''} eq ""