Branch Coverage

blib/lib/Net/DRI/Protocol/EPP/Util.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
57 0 0 unless defined $from
64 0 0 if ($name eq 'extValue') { }
0 0 elsif ($name eq 'value') { }
71 0 0 $v =~ /^
75 0 0 $v =~ /^
87 0 0 ref $domain ? :
88 0 0 unless @dom
91 0 0 unless defined $d and $d
92 0 0 unless Net::DRI::Util::xml_is_token($d, 1, 255)
95 0 0 ref $command ? :
105 0 0 if !defined($$rauth{'pw'}) || $$rauth{'pw'} eq '' and $$epp{'usenullauth'} and (defined $isupdate and $isupdate)
106 0 0 exists $$rauth{'roid'} ? :
112 0 0 if ($tel =~ /^(\S+)x(\S+)$/) { }
126 0 0 if $ext
134 0 0 if $y and $m
136 0 0 if ($y) { }
138 0 0 unless $y >= 1 and $y <= 99
143 0 0 unless $m >= 1 and $m <= 99
158 0 0 if ($asattr) { }
165 0 0 if ($n =~ /\S+\.$domain$/i || lc $n eq lc $domain || $asattr == 2 and not defined $noip && $noip)
167 0 0 if @$r4
168 0 0 if @$r6
177 0 0 unless defined $xmlns
189 0 0 if ($name eq 'hostObj') { }
0 0 elsif ($name eq 'hostAttr') { }
198 0 0 if ($name2 eq 'hostName') { }
0 0 elsif ($name2 eq 'hostAddr') { }
204 0 0 if ($ip eq 'v6') { }
238 0 0 if not defined $type and defined $$epp{'defaulti18ntype'}
245 0 0 if ($name =~ /^(name|org)$/) { }
0 0 elsif ($name eq 'addr') { }
254 0 0 if ($subname eq 'street') { }
0 0 elsif ($subname =~ /^(city|sp|pc|cc)$/) { }
276 0 0 if ($name =~ /^(name|org|addr)$/) { }
291 0 0 unless $d and ref $d eq 'HASH'
293 0 0 unless keys %v == 1
299 0 0 if (exists $$d{$item}) { }
304 0 0 if exists $$d{$item . '_int'}
305 0 0 if exists $$d{$item . '_loc'}
311 0 0 if exists $$d{$item}
320 0 0 unless @tmp
321 0 0 if ($what eq 'street') { }
323 0 0 if (defined $tmp[0])
324 0 0 if (defined $tmp[1])
327 0 0 if (defined $tmp[0])
328 0 0 if (defined $tmp[1])
339 0 0 if ($hasint and not $hasloc and ($v & 5) == $v) { }
0 0 elsif ($hasloc and not $hasint and ($v & 6) == $v) { }
357 0 0 if @addrl
358 0 0 if @addri
361 0 0 if $v & 5 and $hasloc
362 0 0 if $v & 6 and $hasint