GitHubClient

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total171 of 1,37487%30 of 14679%2913539322461
logRetryConnectionError(IOException, URL, int)510%20%22131311
lambda$logRetryConnectionError$12(IOException, URL, long, int)360%n/a117711
interpretApiError(IOException, GitHubConnectorRequest, GitHubConnectorResponse)226675%31178%2832201
prepareRedirectRequest(GitHubConnectorResponse, GitHubRequest)176278%4660%3641801
lambda$getRateLimit$3(RateLimitTarget, GHRateLimit)120%40%331111
GitHubClient(String, GitHubConnector, GitHubRateLimitHandler, GitHubAbuseLimitHandler, GitHubRateLimitChecker, AuthorizationProvider)84685%1375%1311501
getRedirectedMethod(int, String)8850%4233%453501
lambda$getRedirectedUri$7()50%n/a111111
detectKnownErrors(GitHubConnectorResponse, GitHubRequest, boolean)34794%8100%0511401
isPrivateModeEnabled()32086%1375%132401
isAnonymous()31178%1375%132301
shouldIgnoreBody(GitHubConnectorResponse)21789%1375%131601
getLogin()11894%1375%131701
sendRequest(GitHubRequest, GitHubClient.BodyHandler)91100%8100%0502201
prepareConnectorRequest(GitHubRequest, AuthorizationProvider)90100%12100%0701901
getMappingObjectReader(GitHubConnectorResponse)43100%1375%130901
static {...}41100%n/a0101001
detectInvalidCached404Response(GitHubConnectorResponse, GitHubRequest)40100%1787%150701
rateLimit(RateLimitTarget)36100%1375%130801
detectExpiredToken(GitHubConnectorResponse, GitHubRequest)36100%1787%1501001
noteRateLimit(RateLimitTarget, GitHubConnectorResponse)35100%n/a010901
lambda$getRateLimit$5(RateLimitTarget)34100%n/a0101301
checkApiUrlValidity()26100%2100%020801
lambda$logResponse$9(GitHubConnectorResponse)23100%n/a010401
lambda$logResponseBody$10(GitHubConnectorResponse)21100%n/a010501
lambda$logRequest$8(GitHubConnectorRequest)21100%n/a010401
lambda$isCredentialValid$1()20100%n/a010401
isRedirecting(int)19100%4660%460101
parseInstant(String)19100%4100%030501
fetch(Class, String)17100%n/a010201
createResponse(GitHubConnectorResponse, GitHubClient.BodyHandler)17100%4100%030501
lambda$shouldIgnoreBody$11(GitHubConnectorResponse)17100%n/a010301
updateRateLimit(GHRateLimit)16100%n/a010301
getRedirectedUri(URI, GitHubConnectorResponse)16100%n/a010501
detectOTPRequired(GitHubConnectorResponse)16100%4100%030401
parseURL(String)16100%2100%020301
lambda$detectInvalidCached404Response$13(GitHubConnectorResponse)16100%n/a010301
detectRedirect(GitHubConnectorResponse, GitHubRequest)15100%2100%020401
lambda$noteRateLimit$14(NumberFormatException)15100%n/a010301
getRateLimit(RateLimitTarget)14100%n/a010201
lambda$isCredentialValid$2()14100%n/a010501
getMappingObjectReader(GitHub)13100%n/a010301
requireCredential()9100%2100%020301
isCredentialValid()8100%n/a010101
isOffline()8100%2100%020101
parseDate(String)8100%2100%020301
printDate(Date)8100%n/a010101
unmodifiableMapOrNull(Map)7100%2100%020101
unmodifiableListOrNull(List)7100%2100%020101
sendRequest(GitHubRequest.Builder, GitHubClient.BodyHandler)6100%n/a010101
logRequest(GitHubConnectorRequest)6100%n/a010201
logResponse(GitHubConnectorResponse)6100%n/a010201
logResponseBody(GitHubConnectorResponse)6100%n/a010201
lastRateLimit()5100%n/a010101
lambda$getRateLimit$4(GitHubConnectorResponse)5100%n/a010101
getRateLimit()4100%n/a010101
getEncodedAuthorization()4100%n/a010101
lambda$updateRateLimit$6(GHRateLimit, GHRateLimit)4100%n/a010101
lambda$fetch$0(Class, GitHubConnectorResponse)4100%n/a010101
getApiUrl()3100%n/a010101
getMappingObjectWriter()3100%n/a010101