Branch Coverage

lib/Net/Domain/Regex.pm
Criterion Covered Total %
branch 3 20 15.0


line true false branch
14 0 1 if (grep {/:pdata/;} @_)
31 1 0 unless (-e $$o{'local'})
52 0 0 if (/^(\S[^\.\s]+)$/) { }
0 0 elsif (/^\S[^\.\s]+\.(.+)$/ and exists $$tlds{$1}) { }
76 0 1 if ($res->is_success) { }
122 0 0 if ($target =~ /$regex/g)
131 0 0 if $match =~ /^.*?\.($tld)$/
133 0 0 if ($t)
138 0 0 if $match =~ /([^\.]+)$/
141 0 0 if ($d)