Code Analysis: Wincher Rank Tracker 3.0.7

Function Rating Maintainability Complexity Lines of code
Wincher\Providers\PKCEProvider::getAuthorizationParameters()
A
46 8 40
Wincher\DashboardPage::enqueueAssets()
S
53 6 21
Wincher\Plugin::registerApiRoutes()
S
43 2 60
Wincher\WincherOAuthClient::doRequest()
S
51 4 27
Wincher\WincherOAuthClient::__construct()
S
51 4 26
Wincher\Controller\StatusController::get()
S
58 4 16
Wincher\Providers\PKCEProvider::getParsedResponse()
S
58 4 16
Wincher\Plugin::showActivateButton()
S
53 2 38
Wincher\Providers\PKCEProvider::getAccessToken()
S
55 3 19
Wincher\WincherOAuthClient::requestTokens()
S
57 3 18
Wincher\Plugin::addAdminMenu()
S
52 2 28
Wincher\Controller\DashboardController::createDefaultDateRange()
S
62 3 12
Wincher\WincherOAuthClient::getTokens()
S
66 3 9
Wincher\WincherOAuthClient::refreshTokens()
S
62 2 13
Wincher\WincherOAuthClient::storeToken()
S
69 2 7
Wincher\Providers\PKCEProvider::getPkceMethod()
S
80 2 3
Wincher\Providers\PKCEProvider::getConfigurableOptions()
S
61 1 15
Wincher\Controller\AuthController::token()
S
66 2 8
Wincher\WincherOAuthClient::hasValidTokens()
S
79 2 3
Wincher\Plugin::__construct()
S
63 2 10
Wincher\Controller\DashboardController::getRankingHistory()
S
61 1 14
Wincher\Controller\DashboardController::getKeywords()
S
62 1 13
Wincher\Controller\DashboardController::getDashboardData()
S
64 1 11
Wincher\WincherOAuthClient::getKeywords()
S
63 1 11
Wincher\Providers\PKCEProvider::getRandomPkceCode()
S
65 1 11
Wincher\Controller\RestController::getPermission()
S
82 1 3
Wincher\Plugin::wincherCloseNotice()
S
76 1 4
Wincher\Providers\PKCEProvider::getPkceCode()
S
82 1 3
Wincher\Plugin::displayOverview()
S
76 1 4
Wincher\DashboardPage::__construct()
S
77 1 4
Wincher\Plugin::getImageBase64()
S
75 1 4
Wincher\DashboardPage::getName()
S
82 1 3
Wincher\WincherOAuthClient::getAuthorizationUrl()
S
64 1 10
Wincher\DashboardPage::getAssets()
S
73 1 6
Wincher\WincherOAuthClient::get()
S
79 1 3
Wincher\WincherOAuthClient::post()
S
69 1 6
Wincher\WincherOAuthClient::delete()
S
71 1 5
Wincher\Plugin::getClient()
S
82 1 3
Wincher\WincherOAuthClient::deleteKeywords()
S
71 1 5
Wincher\Providers\PKCEProvider::setPkceCode()
S
77 1 4
Wincher\WincherOAuthClient::getSearchEngines()
S
80 1 3
Wincher\Plugin::getApiNamespace()
S
79 1 3
Wincher\Controller\DashboardController::getSearchEngines()
S
80 1 3
Wincher\WincherOAuthClient::hasExpiredTokens()
S
81 1 3
Wincher\WincherOAuthClient::getWebsites()
S
80 1 3
Wincher\WincherOAuthClient::getAccount()
S
80 1 3
Wincher\Controller\DashboardController::handleApiResponse()
S
78 1 3
Wincher\Plugin::activate()
S
91 1 2
Wincher\WincherOAuthClient::hasTokens()
S
80 1 3
Wincher\Controller\RestController::hasPermission()
S
80 1 3
Wincher\Controller\DashboardController::deleteKeywords()
S
70 1 6
Wincher\DashboardPage::render()
S
71 1 6
Wincher\Controller\RestController::__construct()
S
81 1 3
Wincher\Plugin::deactivate()
S
77 1 4
Wincher\WincherOAuthClient::getDashboardData()
S
67 1 8
Wincher\Plugin::enqueueGlobalAssets()
S
65 1 8
Wincher\Controller\DashboardController::createKeyword()
S
70 1 6
Wincher\Controller\AuthController::authorization_url()
S
75 1 4
Wincher\WincherOAuthClient::cast_to_class()
S
76 1 3
Wincher\WincherOAuthClient::getRankingHistory()
S
65 1 9
Wincher\WincherOAuthClient::createKeyword()
S
71 1 5