EasyRequest D

Total Complexity 302
Dependencies 3
Dependents 0
Total lines 1
Lines of code 83
Logical lines of code 505
Comment lines 0
Methods 83
Properties 6

Methods 83

Method Rating Maintainability Complexity Lines of code
prepareRequest()
B
76 27 1
sendWithSocket()
A
77 15 1
getUriAsString()
A
81 12 1
getCookieAsString()
S
82 9 1
addHeaderToArray()
S
82 9 1
parseStringCookie()
S
82 9 1
getHandler()
S
82 9 1
collectResponseCookies()
S
83 9 1
create()
S
81 9 1
parseUri()
S
82 9 1
getFileType()
S
82 8 1
withCookie()
S
82 8 1
addParamToArray()
S
82 8 1
parseStringParams()
S
82 8 1
parseStringCookies()
S
82 8 1
sendWithCurl()
S
80 6 1
getAbsoluteUrl()
S
82 6 1
followRedirects()
S
81 6 1
isCookieMatchesDomain()
S
84 5 1
withFollowRedirects()
S
85 4 1
getHeaderLine()
S
85 4 1
setOptions()
S
84 4 1
withProxy()
S
85 3 1
getBodyAsString()
S
86 3 1
withJson()
S
85 3 1
withFormFile()
S
85 3 1
getMultipartAsString()
S
83 3 1
withAuth()
S
86 3 1
getHeaderAsLines()
S
86 3 1
getParamsAsArray()
S
85 3 1
getHeadersAsLines()
S
86 3 1
withTimeout()
S
86 3 1
getResponseCookies()
S
85 3 1
getResponseArrayCookies()
S
85 3 1
getOptions()
S
86 3 1
__callStatic()
S
83 3 1
send()
S
82 3 1
__toString()
S
89 2 1
getResponse()
S
89 2 1
getResponseHeader()
S
87 2 1
getParamsAsString()
S
86 2 1
getResponseHeaderLine()
S
87 2 1
getRequest()
S
89 2 1
getDebugInfo()
S
89 2 1
isCookieData()
S
88 2 1
isCookieMatchesPath()
S
87 2 1
getResponseHeaders()
S
88 2 1
getResponseBody()
S
89 2 1
withStringCookies()
S
85 2 1
getMultipartHeaders()
S
85 2 1
withProtocolVersion()
S
85 2 1
getResponseStatus()
S
88 2 1
getResponseReason()
S
88 2 1
getAllResponseCookies()
S
89 2 1
getResponseProtocolVersion()
S
88 2 1
getCurrentUrl()
S
88 2 1
getRedirectedCookies()
S
91 1 1
getRedirectedUrls()
S
91 1 1
getRedirectedRequests()
S
91 1 1
getRedirectedCount()
S
91 1 1
getCookieDefaults()
S
85 1 1
withUserAgent()
S
90 1 1
removeParamFromArray()
S
90 1 1
normalizeHeaderKey()
S
89 1 1
hasHeader()
S
89 1 1
parseResponseHeaders()
S
84 1 1
withHttpProxy()
S
89 1 1
withSock5Proxy()
S
89 1 1
withBody()
S
88 1 1
withNobody()
S
89 1 1
withHeader()
S
87 1 1
withoutHeader()
S
88 1 1
withoutCookie()
S
89 1 1
headerHasKey()
S
89 1 1
withMultipart()
S
86 1 1
withoutMultipart()
S
89 1 1
withQuery()
S
86 1 1
withoutQuery()
S
87 1 1
withFormParam()
S
86 1 1
withoutFormParam()
S
87 1 1
withMethod()
S
90 1 1
removeHeaderFromArray()
S
90 1 1
__construct()
S
98 1 1