Branch Coverage

blib/lib/Net/ENUM.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
28 0 1 if $args and ref $args ne 'HASH'
30 0 1 if ($vanity) { }
31 0 0 if ref $vanity ne 'HASH'
68 0 2 unless my $e164 = $self->number_to_domain(shift())
72 0 2 unless my $nameservers = $self->get_nameservers($e164)
82 2 0 if ($NAPTR) { }
86 1 1 if $media
88 1 1 if (wantarray) { }
122 3 1 if ($query) { }
143 0 6 if $number =~ /^(?:\d\.)+e164\.arpa$/
145 1 5 unless ($number =~ /^\s*\+/)
154 1 4 unless ($number)