Branch Coverage

blib/lib/WWW/Namecheap/API.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
115 0 2 unless $params->{$_}
123 0 1 if ($params->{'ApiUrl'}) { }
126 1 0 if ($params->{'System'}) { }
164 0 0 unless ($reqparams{'Command'})
170 0 0 unless ($clientip)
176 0 0 unless defined $reqparams{$_}
186 0 0 unless ($response->is_success)
193 0 0 if ($xml->{'Status'} eq 'ERROR')
211 0 1 if ($self->{'_domain'})
229 0 1 if ($self->{'_dns'})
249 1 0 if (@_ % 2 == 0) { }
0 0 elsif (ref $_[0] eq 'HASH') { }