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
135 0 0 if $y and $m
137 0 0 if ($y) { }
139 0 0 unless $y >= 1 and $y <= 99
144 0 0 unless $m >= 1 and $m <= 99
159 0 0 if ($asattr) { }
166 0 0 if ($n =~ /\S+\.$domain$/i || lc $n eq lc $domain || $asattr == 2 and not defined $noip && $noip)
168 0 0 if @$r4
169 0 0 if @$r6
178 0 0 unless defined $xmlns
190 0 0 if ($name eq 'hostObj') { }
0 0 elsif ($name eq 'hostAttr') { }
199 0 0 if ($name2 eq 'hostName') { }
0 0 elsif ($name2 eq 'hostAddr') { }
205 0 0 if ($ip eq 'v6') { }
239 0 0 if not defined $type and defined $epp->{'defaulti18ntype'}
246 0 0 if ($name =~ /^(name|org)$/) { }
0 0 elsif ($name eq 'addr') { }
255 0 0 if ($subname eq 'street') { }
0 0 elsif ($subname =~ /^(city|sp|pc|cc)$/) { }
277 0 0 if ($name =~ /^(name|org|addr)$/) { }
292 0 0 unless $d and ref $d eq 'HASH'
294 0 0 unless keys %v == 1
300 0 0 if (exists $d->{$item}) { }
305 0 0 if exists $$d{$item . '_int'}
306 0 0 if exists $$d{$item . '_loc'}
312 0 0 if exists $d->{$item}
321 0 0 unless @tmp
322 0 0 if ($what eq 'street') { }
324 0 0 if (defined $tmp[0])
325 0 0 if (defined $tmp[1])
328 0 0 if (defined $tmp[0])
329 0 0 if (defined $tmp[1])
340 0 0 if ($hasint and not $hasloc and ($v & 5) == $v) { }
0 0 elsif ($hasloc and not $hasint and ($v & 6) == $v) { }
358 0 0 if @addrl
359 0 0 if @addri
362 0 0 if $v & 5 and $hasloc
363 0 0 if $v & 6 and $hasint