Branch Coverage

lib/Net/Domain/Match.pm
Criterion Covered Total %
branch 3 24 12.5


line true false branch
14 0 2 if (grep {/:pdata/;} @_)
31 2 0 unless (-e $$o{'local'})
46 0 0 if (scalar @a == 2)
64 0 0 if (/^(\S[^\.\s]+)$/) { }
0 0 elsif (/^\S[^\.\s]+\.(.+)$/ and exists $$tlds{$1}) { }
89 0 2 if ($res->is_success) { }
114 0 0 if (defined $$map{$t})
148 0 0 if (defined $$map{"$tokens[-1]"})
150 0 0 if (defined $$map{"$tokens[-1]"}{"$tokens[-2].$tokens[-1]"}) { }
158 0 0 unless $tld
166 0 0 unless scalar @a > 0
172 0 0 if scalar @a > 0