Branch Coverage

blib/lib/WWW/GoDaddy/REST.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
87 3 11 if (defined $$params{'basic_username'} or defined $$params{'basic_password'})
88 1 2 unless (defined $$params{'basic_username'})
91 1 1 unless (defined $$params{'basic_password'})
96 1 11 if (defined $$params{'schemas_file'} and not -e $$params{'schemas_file'})
144 0 1 if (not $response->is_success and $self->raise_http_errors)
162 0 28 if (not $http_response->is_success and $self->raise_http_errors)
163 0 0 if ($WWW::GoDaddy::REST::EXCEPTIONS_BEING_CAUGHT) { }
186 10 25 if (defined $perl_data)
188 0 10 if ($@)
202 7 28 if (my $e = $@)
203 6 1 if ($e eq "alarm\n") { }
213 27 1 if ($response_text) { }
215 0 27 if ($@)
222 28 0 wantarray ? :
230 0 36 if (defined $self->basic_username or defined $self->basic_password)
246 3 1 if ($self->schemas_file) { }
254 0 4 if ($@)