Branch Coverage

blib/lib/WWW/Namecheap/Domain.pm
Criterion Covered Total %
branch 2 52 3.8


line true false branch
45 0 2 unless $params->{$_}
90 0 0 unless $xml
94 0 0 if ref $result eq 'HASH'
97 0 0 unless ($domains{$entry->{'Domain'}})
101 0 0 if ($entry->{'Available'} eq 'true') { }
193 0 0 if exists $params->{$parameter}
201 0 0 if ($params->{'Billing'})
209 0 0 unless $xml
225 0 0 unless $params->{'DomainName'}
234 0 0 unless $xml and $xml->{'Status'} eq 'OK'
290 0 0 unless $xml
292 0 0 if (ref $xml->{'CommandResponse'}{'DomainGetListResult'}{'Domain'} eq 'ARRAY') { }
0 0 elsif (ref $xml->{'CommandResponse'}{'DomainGetListResult'}{'Domain'} eq 'HASH') { }
299 0 0 if ($xml->{'CommandResponse'}{'Paging'}{'TotalItems'} <= $request{'Page'} * $request{'PageSize'}) { }
343 0 0 unless $params->{'DomainName'}
352 0 0 unless $xml
411 0 0 unless $params->{'DomainName'}
427 0 0 unless $xml
450 0 0 if (not $self->{'_tldlist_cachetime'} or time - $self->{'_tldlist_cachetime'} > 3600)
493 0 0 if ($params->{'EPPCode'} and not $params->{'EPPCode'} =~ /^base64:/)
504 0 0 unless $xml
535 0 0 unless $xml
592 0 0 unless $xml
595 0 0 if ($xml->{'CommandResponse'}{'Paging'}{'TotalItems'} <= $request{'Page'} * $request{'PageSize'}) { }
617 2 0 if (@_ % 2 == 0) { }
0 0 elsif (ref $_[0] eq 'HASH') { }