Branch Coverage

blib/lib/Mail/MXplus.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
49 2 0 if (defined $packet) { }
54 2 0 if ($type eq 'MX')
69 2 0 if (defined $packet)
73 2 0 if ($type eq 'A')
75 1 1 if ($rr->address =~ /^$testip/)
84 1 0 if ($ip =~ /([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/)
87 0 1 if (defined $packet)
91 0 0 if ($type eq 'PTR')
92 0 0 if ($rr->ptrdname =~ /$domain$/)