blib/lib/Net/Domain/Info.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 12 | 33.3 |
line | true | false | branch |
---|---|---|---|
26 | 6 | 0 | if $plugin_tag =~ /^::/ |
28 | 3 | 3 | unless try_to_use($plugin) |
31 | 0 | 3 | unless $plugin->can('_init') |
46 | 0 | 0 | if ($domain =~ /^$Net::IDN::Encode::IDNA_prefix/ and $domain =~ /^([0-9a-z]+[0-9a-z\-]+\.)+[0-9a-z]+[0-9a-z\-]+$/i) { } |
0 | 0 | elsif (not $domain =~ /^([0-9a-z]+[0-9a-z\-]+\.)+[0-9a-z]+[0-9a-z\-]+$/i) { } | |
53 | 0 | 0 | unless (&Encode::is_utf8($domain)) |