Percentage | Lines | ||
---|---|---|---|
Updater |
|
0 % | 119 |
GuzzlApapter |
|
42 % | 78 |
GithubStrategy |
|
83 % | 172 |
HttpClientFactory |
|
86 % | 22 |
CRAP Score | Lines | ||
---|---|---|---|
Updater::getStrategy() | 12 | 26 | |
GuzzlApapter::download() | 6 | 17 | |
GuzzlApapter::saveBodyAsFile() | 6 | 12 | |
Updater::__construct() | 6 | 12 | |
GithubStrategy::getLatestVersion() | 5 | 18 | |
GithubStrategy::getApiCallUrl() | 3 | 16 | |
GithubStrategy::getPharDownloadUrl() | 3 | 14 | |
HttpClientFactory::getHttpClient() | 2 | 11 | |
GithubStrategy::getReleaseInfo() | 2 | 11 | |
GuzzlApapter::getJsonResponse() | 2 | 15 | |