GitHubClient

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total82 of 93391%13 of 10087%139120209241
lambda$logRequest$3(GitHubRequest)260%20%222211
getCurrentUser(Consumer)182153%4450%3571401
interpretApiError(IOException, GitHubRequest, GitHubResponse.ResponseInfo)88391%11191%1712101
retryConnectionError(IOException, URL, int)84885%10100%0621001
GitHubClient(String, HttpConnector, RateLimitHandler, AbuseLimitHandler, GitHubRateLimitChecker, Consumer, AuthorizationProvider)84183%1375%1311401
setConnector(HttpConnector)70%n/a113311
isPrivateModeEnabled()32086%1375%132401
isAnonymous()31178%1375%132301
createResponse(GitHubResponse.ResponseInfo, GitHubResponse.BodyHandler)13897%1583%140801
sendRequest(GitHubRequest, GitHubResponse.BodyHandler)78100%10100%0601901
noteRateLimit(GitHubResponse.ResponseInfo)54100%n/a0101201
isInvalidCached404Response(GitHubResponse.ResponseInfo)40100%1787%150701
static {...}37100%n/a010901
rateLimit(RateLimitTarget)36100%1375%130801
getMappingObjectReader(GitHubResponse.ResponseInfo)36100%2100%020701
getRateLimit(RateLimitTarget)34100%n/a0101301
checkApiUrlValidity()34100%2100%020801
isCredentialValid()30100%n/a010601
parseURL(String)22100%2100%020301
parseInstant(String)19100%4100%030501
fetch(Class, String)17100%n/a010201
updateRateLimit(GHRateLimit)16100%n/a010301
detectOTPRequired(GitHubResponse.ResponseInfo)16100%4100%030401
isRateLimitResponse(GitHubResponse.ResponseInfo)14100%4100%030201
getMappingObjectReader(GitHub)13100%n/a010301
isAbuseLimitResponse(GitHubResponse.ResponseInfo)12100%4100%030201
requireCredential()9100%2100%020301
isOffline()8100%2100%020101
parseDate(String)8100%2100%020301
printDate(Date)8100%n/a010101
logRequest(GitHubRequest)7100%n/a010201
sendRequest(GitHubRequest.Builder, GitHubResponse.BodyHandler)6100%n/a010101
lastRateLimit()5100%n/a010101
lambda$getRateLimit$1(GitHubResponse.ResponseInfo)5100%n/a010101
getRateLimit()4100%n/a010101
getEncodedAuthorization()4100%n/a010101
lambda$updateRateLimit$2(GHRateLimit, GHRateLimit)4100%n/a010101
lambda$fetch$0(Class, GitHubResponse.ResponseInfo)4100%n/a010101
getConnector()3100%n/a010101
getApiUrl()3100%n/a010101
getMappingObjectWriter()3100%n/a010101