Branch Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/CZ/Domain.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
88 0 0 ref $domain ? :
89 0 0 unless @dom
94 0 0 unless defined $d and $d and not ref $d
96 0 0 unless Net::DRI::Util::is_hostname($d)
101 0 0 ref $command ? :
122 0 0 if Net::DRI::Util::has_auth($rd)
131 0 0 unless $mes->is_success
133 0 0 unless $infdata
141 0 0 unless $name
142 0 0 if ($name eq 'name') { }
0 0 elsif ($name eq 'roid') { }
0 0 elsif ($name eq 'status') { }
0 0 elsif ($name =~ /^(registrant|admin)$/) { }
0 0 elsif ($name eq 'ns') { }
0 0 elsif ($name eq 'nsset') { }
0 0 elsif ($name eq 'host') { }
0 0 elsif ($name =~ /^(clID|crID|upID)$/) { }
0 0 elsif ($name =~ /^(crDate|upDate|trDate|exDate)$/) { }
0 0 elsif ($name eq 'authInfo') { }
164 0 0 unless $ns
192 0 0 $pw ? :
201 0 0 if @host
203 0 0 if $ns
216 0 0 if ($def and ref $def eq 'HASH' and exists $def->{'domain_create'} and ref $def->{'domain_create'} eq 'HASH')
219 0 0 unless $rd and ref $rd eq 'HASH' and keys %$rd
223 0 0 if exists $rd->{$k}
229 0 0 if Net::DRI::Util::has_duration($rd)
232 0 0 if Net::DRI::Util::has_key($rd, 'nsset')
235 0 0 if Net::DRI::Util::has_contact($rd)
238 0 0 unless Net::DRI::Util::has_auth($rd)
265 0 0 unless Net::DRI::Util::isa_changes($todo)
269 0 0 if (grep {not /^(?:add|del)$/;} $todo->types('ns') or grep {not /^(?:add|del)$/;} $todo->types('status') or grep {not /^(?:add|del)$/;} $todo->types('contact') or grep {not /^set$/;} $todo->types('auth'))
289 0 0 if $nsadd and not $nsadd->is_empty
291 0 0 if $cadd
292 0 0 if $sadd
293 0 0 if $nsdel and not $nsdel->is_empty
295 0 0 if $cdel
296 0 0 if $sdel
298 0 0 if @add
299 0 0 if @del
303 0 0 if defined $chg and length $chg
305 0 0 if Net::DRI::Util::isa_contact($chg)
308 0 0 if $chg and ref $chg
309 0 0 if @chg