Code Analysis: WP Admin Bruteforce Protection and Notification (by SiteGuarding.com) 1.0

Function Rating Maintainability Complexity Lines of code
plgsgabpn_settings_page_callback()
C
28
23 174
EasyRequest::prepareRequest()
B
76 27 1
EasyRequest::sendWithSocket()
A
77 15 1
PLGSGABPN_funcs::PatchConfig_file()
A
44 12 44
PLGSGABPN_funcs::RecognizeCountryCode()
A
43 11 48
plgsgabpn_admin_footer_function()
A
41 9 51
EasyRequest::getUriAsString()
A
81 12 1
PLGSGABPN_funcs::SendEmail()
A
38 1 138
PLGSGABPN_funcs::CheckConfig_file()
A
51 8 23
plgsgabpn_admin_head_function()
A
55 8 18
EasyRequest::create()
S
81 9 1
EasyRequest::addHeaderToArray()
S
82 9 1
EasyRequest::parseStringCookie()
S
82 9 1
EasyRequest::getCookieAsString()
S
82 9 1
EasyRequest::getHandler()
S
82 9 1
EasyRequest::collectResponseCookies()
S
83 9 1
EasyRequest::parseUri()
S
82 9 1
EasyRequest::withCookie()
S
82 8 1
EasyRequest::addParamToArray()
S
82 8 1
plgsgabpn_GetExtraParams()
S
50 6 30
EasyRequest::parseStringParams()
S
82 8 1
EasyRequest::parseStringCookies()
S
82 8 1
EasyRequest::getFileType()
S
82 8 1
EasyRequest::getAbsoluteUrl()
S
82 6 1
EasyRequest::sendWithCurl()
S
80 6 1
EasyRequest::followRedirects()
S
81 6 1
CheckRecaptcha()
S
52 4 30
GetRemote_file_contents()
S
54 4 21
CHECK_session_code()
S
55 4 20
plgsgabpn_SetExtraParams()
S
56 4 18
PLGSGABPN_funcs::OrganizeSessionData()
S
57 4 17
plgsgabpn_login_page()
S
66 5 7
EasyRequest::isCookieMatchesDomain()
S
84 5 1
CREATE_session_code()
S
57 3 16
EasyRequest::setOptions()
S
84 4 1
EasyRequest::getHeaderLine()
S
85 4 1
EasyRequest::withFollowRedirects()
S
85 4 1
REMOVE_old_codes()
S
60 3 12
plgsgabpn_activation()
S
56 2 18
EasyRequest::getMultipartAsString()
S
83 3 1
EasyRequest::getBodyAsString()
S
86 3 1
EasyRequest::__callStatic()
S
83 3 1
EasyRequest::withTimeout()
S
86 3 1
EasyRequest::getResponseArrayCookies()
S
85 3 1
EasyRequest::send()
S
82 3 1
EasyRequest::getResponseCookies()
S
85 3 1
EasyRequest::withFormFile()
S
85 3 1
EasyRequest::getOptions()
S
86 3 1
EasyRequest::getHeadersAsLines()
S
86 3 1
EasyRequest::getHeaderAsLines()
S
86 3 1
EasyRequest::withAuth()
S
86 3 1
EasyRequest::getParamsAsArray()
S
85 3 1
EasyRequest::withProxy()
S
85 3 1
EasyRequest::withJson()
S
85 3 1
EasyRequest::getCurrentUrl()
S
88 2 1
EasyRequest::getParamsAsString()
S
86 2 1
EasyRequest::getMultipartHeaders()
S
85 2 1
EasyRequest::getResponseStatus()
S
88 2 1
EasyRequest::getResponseProtocolVersion()
S
88 2 1
EasyRequest::getResponseHeaders()
S
88 2 1
EasyRequest::isCookieMatchesPath()
S
87 2 1
EasyRequest::getResponseBody()
S
89 2 1
EasyRequest::getResponseHeaderLine()
S
87 2 1
EasyRequest::getResponseReason()
S
88 2 1
EasyRequest::getResponse()
S
89 2 1
EasyRequest::withStringCookies()
S
85 2 1
EasyRequest::getRequest()
S
89 2 1
EasyRequest::isCookieData()
S
88 2 1
EasyRequest::getResponseHeader()
S
87 2 1
EasyRequest::__toString()
S
89 2 1
EasyRequest::withProtocolVersion()
S
85 2 1
EasyRequest::getAllResponseCookies()
S
89 2 1
EasyRequest::getDebugInfo()
S
89 2 1
EasyRequest::parseResponseHeaders()
S
84 1 1
EasyRequest::getRedirectedCookies()
S
91 1 1
EasyRequest::getRedirectedCount()
S
91 1 1
EasyRequest::withSock5Proxy()
S
89 1 1
EasyRequest::getCookieDefaults()
S
85 1 1
EasyRequest::headerHasKey()
S
89 1 1
plgsgabpn_add_action_link()
S
67 1 9
EasyRequest::getRedirectedRequests()
S
91 1 1
register_plgsgabpn_settings_page()
S
77 1 3
EasyRequest::removeParamFromArray()
S
90 1 1
EasyRequest::hasHeader()
S
89 1 1
EasyRequest::withBody()
S
88 1 1
EasyRequest::__construct()
S
98 1 1
EasyRequest::normalizeHeaderKey()
S
89 1 1
EasyRequest::withHeader()
S
87 1 1
EasyRequest::withoutCookie()
S
89 1 1
EasyRequest::withHttpProxy()
S
89 1 1
EasyRequest::withFormParam()
S
86 1 1
EasyRequest::withoutHeader()
S
88 1 1
PLGSGABPN_funcs::toDateInterval()
S
77 1 3
EasyRequest::withNobody()
S
89 1 1
plgsgabpn_uninstall()
S
70 1 6
EasyRequest::withMethod()
S
90 1 1
EasyRequest::removeHeaderFromArray()
S
90 1 1
EasyRequest::withMultipart()
S
86 1 1
EasyRequest::getRedirectedUrls()
S
91 1 1
EasyRequest::withoutFormParam()
S
87 1 1
EasyRequest::withoutQuery()
S
87 1 1
EasyRequest::withQuery()
S
86 1 1
EasyRequest::withoutMultipart()
S
89 1 1
EasyRequest::withUserAgent()
S
90 1 1