InMemoryTokenStore

Source file "org/springframework/security/oauth2/provider/token/store/InMemoryTokenStore.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total582 of 5820%46 of 460%52521191192929
storeAccessToken(OAuth2AccessToken, OAuth2Authentication)1050%100%66171711
InMemoryTokenStore()720%n/a11151511
removeAccessToken(String)680%60%44141411
getAccessTokenCount()440%80%554411
addToCollection(ConcurrentHashMap, String, OAuth2AccessToken)300%40%337711
getAccessToken(OAuth2Authentication)290%40%336611
clear()280%n/a11101011
getApprovalKey(String, String)200%20%221111
flush()180%20%225511
getRefreshTokenCount()160%20%222211
getApprovalKey(OAuth2Authentication)160%20%223311
removeRefreshToken(String)160%n/a114411
findTokensByClientIdAndUserName(String, String)160%20%223311
storeRefreshToken(OAuth2RefreshToken, OAuth2Authentication)150%n/a113311
findTokensByClientId(String)130%20%223311
removeAccessTokenUsingRefreshToken(String)120%20%224411
readAuthentication(String)60%n/a111111
readAuthenticationForRefreshToken(String)60%n/a111111
readAccessToken(String)60%n/a111111
readRefreshToken(String)60%n/a111111
readAuthentication(OAuth2AccessToken)50%n/a111111
readAuthenticationForRefreshToken(OAuth2RefreshToken)50%n/a111111
removeAccessToken(OAuth2AccessToken)50%n/a112211
removeRefreshToken(OAuth2RefreshToken)50%n/a112211
removeAccessTokenUsingRefreshToken(OAuth2RefreshToken)50%n/a112211
setFlushInterval(int)40%n/a112211
setAuthenticationKeyGenerator(AuthenticationKeyGenerator)40%n/a112211
getExpiryTokenCount()40%n/a111111
getFlushInterval()30%n/a111111