Code

Rating   Name Duplication Size Complexity Changes Bugs Features
A SuccessExample::emptyDataReturn() 0 1 1 1 0 0
A RestResponse\Response::badRequest() 0 1 1 1 0 0
A HttpResponse\Error::unauthorized() 0 5 1 1 0 0
A ErrorExample::unauthorized() 0 3 1 1 0 0
A RestResponse\Response::noContent() 0 1 1 1 0 0
A HttpResponse\Success::noContent() 0 6 1 1 0 0
A ErrorExample::__construct() 0 1 1 1 0 0
A HttpResponse\HttpResponse::getStatusCode() 0 1 1 1 0 0
A RestResponse\HttpResponse\Success::success() 0 4 1 1 0 0
A RestResponse\HttpResponse\Error::toArray() 0 6 1 1 0 0
A HttpResponse\HttpResponse::setData() 0 2 1 1 0 0
A RestResponse\Response::successfullResponse() 0 7 1 1 0 0
A ErrorExample::badRequest() 0 1 1 1 0 0
A RestResponse\Response::internalError() 0 1 1 1 0 0
A RestResponse\HttpResponse\Success::toArray() 0 3 1 1 0 0