Condition Coverage

blib/lib/Mail/CheckUser.pm
Criterion Covered Total %
condition 20 41 48.7


and 3 conditions

line !l l&&!r l&&r condition
186 0 8 47 $ok &&= &check_hostname_syntax($hostname)
187 8 8 39 $ok &&= &check_username_syntax($username)
191 0 19 8 $ok &&= &check_network($hostname, $username)
372 2 0 30 $tainted and $tainted eq $mserver
2 30 0 $tainted and $tainted eq $mserver and $resolve->{$tainted}
0 0 30 $tainted and $tainted eq $mserver and $resolve->{$tainted} and $ping->ping($tainted)
521 131 0 0 $code == 7 and not $Mail::CheckUser::Treat_Full_As_Fail
522 131 0 0 $code == 3 and not $Mail::CheckUser::Treat_Timeout_As_Fail
523 130 0 1 $code == 5 and not $Mail::CheckUser::Treat_Timeout_As_Fail
524 131 0 0 $code == 8 and not $Mail::CheckUser::Treat_Grey_As_Fail

or 2 conditions

line l !l condition
395 0 0 $ping->nack($mserver) || 'no SYN sent'

or 3 conditions

line l !l&&r !l&&!r condition
252 0 27 0 $Mail::CheckUser::Net_DNS_Resolver || 'Net::DNS::Resolver'->new
472 4 0 0 $code == 550 or $code == 551
4 0 0 $code == 550 or $code == 551 or $code == 553