Branch Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/KeyRelay.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
56 0 0 if $d->is_zero
65 0 0 unless $d[$wi] > 0
68 0 0 if length $tmp
74 0 0 unless $d[$wi] > 0
77 0 0 if length $tmp
78 0 0 if $d->is_negative
87 0 0 unless defined $domain and length $domain
88 0 0 unless Net::DRI::Util::xml_is_token($domain, 1, 255)
93 0 0 unless Net::DRI::Util::has_auth($rd)
94 0 0 exists $rd->{'auth'}{'roid'} ? :
96 0 0 unless Net::DRI::Util::has_key($rd, 'key')
97 0 0 unless ref $rd->{'key'} eq 'ARRAY' or ref $rd->{'key'} eq 'HASH'
98 0 0 ref $rd->{'key'} eq 'ARRAY' ? :
99 0 0 if grep {ref $_ ne 'HASH';} @keys
103 0 0 unless Net::DRI::Util::has_key($kd, 'secdns')
104 0 0 unless ref $kd->{'secdns'} eq 'HASH'
108 0 0 if (Net::DRI::Util::has_key($kd, 'expiry'))
111 0 0 if (Net::DRI::Util::is_class($exp, 'DateTime')) { }
0 0 elsif (Net::DRI::Util::is_class($exp, 'DateTime::Duration')) { }
138 0 0 unless $tmp =~ s/^P//
142 0 0 if ($token eq 'T')
148 0 0 unless exists $rm->{$t}
158 0 0 unless $mes->is_success
161 0 0 unless defined $data
167 0 0 if ($name eq 'name') { }
0 0 elsif ($name eq 'authInfo') { }
0 0 elsif ($name eq 'keyRelayData') { }
0 0 elsif ($name eq 'crDate') { }
0 0 elsif ($name =~ /^(?:reID|acID)$/) { }
201 0 0 if ($name eq 'keyData') { }
0 0 elsif ($name eq 'expiry') { }
209 0 0 if (defined($exp = Net::DRI::Util::xml_child_content($node, $ns, 'absolute'))) { }
0 0 elsif (defined($exp = Net::DRI::Util::xml_child_content($node, $ns, 'relative'))) { }