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
181 0 8 43 $ok &&= &check_hostname_syntax($hostname)
182 8 8 35 $ok &&= &check_username_syntax($username)
186 0 15 8 $ok &&= &check_network($hostname, $username)
367 1 0 12 $tainted and $tainted eq $mserver
1 12 0 $tainted and $tainted eq $mserver and $resolve->{$tainted}
0 0 12 $tainted and $tainted eq $mserver and $resolve->{$tainted} and $ping->ping($tainted)
516 119 0 0 $code == 7 and not $Mail::CheckUser::Treat_Full_As_Fail
517 119 0 0 $code == 3 and not $Mail::CheckUser::Treat_Timeout_As_Fail
518 118 0 1 $code == 5 and not $Mail::CheckUser::Treat_Timeout_As_Fail
519 119 0 0 $code == 8 and not $Mail::CheckUser::Treat_Grey_As_Fail

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
247 0 23 0 $Mail::CheckUser::Net_DNS_Resolver || 'Net::DNS::Resolver'->new
467 3 0 0 $code == 550 or $code == 551
3 0 0 $code == 550 or $code == 551 or $code == 553