Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | GithubStrategy::getLatestVersion() | 0 | 10 | 5 | 5.02 | 3 | 0 | 0 |
B | PSU\Updater::getStrategy() | 0 | 13 | 3 | 12 | 2 | 0 | 0 |
A | Updater::downloadLatestVersion() | 0 | 3 | 1 | 2 | 1 | 0 | 0 |
A | Strategy\GithubStrategy::__construct() | 0 | 3 | 1 | 1 | 2 | 0 | 0 |
A | Adapter\GuzzlApapter::__construct() | 0 | 3 | 1 | 1 | 1 | 0 | 0 |
A | PSU\Updater::__construct() | 0 | 6 | 2 | 6 | 1 | 0 | 0 |
A | Updater::updateToLatestVersion() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |
A | Adapter\GuzzlApapter::getJsonResponse() | 0 | 8 | 2 | 2 | 1 | 0 | 0 |
A | GithubStrategy::downloadLatestVersion() | 0 | 3 | 1 | 1 | 2 | 0 | 0 |
A | Adapter\GuzzlApapter::download() | 0 | 9 | 2 | 6 | 1 | 0 | 0 |
A | Strategy\GithubStrategy::getApiCallUrl() | 0 | 9 | 3 | 3.18 | 1 | 0 | 0 |
A | Adapter\GuzzlApapter::saveBodyAsFile() | 0 | 6 | 2 | 6 | 1 | 0 | 0 |
A | GithubStrategy::getReleaseInfo() | 0 | 5 | 2 | 2.01 | 1 | 0 | 0 |
A | HttpClientFactory::getHttpClient() | 0 | 5 | 2 | 2.01 | 1 | 0 | 0 |
A | GithubStrategy::getPharDownloadUrl() | 0 | 6 | 3 | 3.14 | 1 | 0 | 0 |