CosmosClientBuilder

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total557 of 5570%32 of 320%74741551555858
buildConnectionPolicy()940%60%44171711
validateConfig()720%200%1111111111
CosmosClientBuilder()370%n/a11111111
authorizationTokenResolver(CosmosAuthorizationTokenResolver)200%n/a116611
key(String)200%n/a116611
resourceToken(String)200%n/a116611
credential(TokenCredential)200%n/a116611
permissions(List)200%n/a116611
credential(AzureKeyCredential)200%n/a116611
lambda$validateConfig$0(URI, String)200%20%224411
buildAsyncClient()90%n/a113311
buildClient()90%n/a113311
endpoint(String)80%n/a112211
directMode(DirectConnectionConfig, GatewayConnectionConfig)80%n/a113311
getPreferredRegions()80%20%221111
ifThrowIllegalArgException(boolean, String)80%20%223311
metadataCaches(CosmosClientMetadataCachesSnapshot)50%n/a112211
setApiType(ApiType)50%n/a112211
sessionCapturingOverrideEnabled(boolean)50%n/a112211
connectionSharingAcrossClientsEnabled(boolean)50%n/a112211
consistencyLevel(ConsistencyLevel)50%n/a112211
contentResponseOnWriteEnabled(boolean)50%n/a112211
gatewayMode()50%n/a112211
gatewayMode(GatewayConnectionConfig)50%n/a112211
directMode()50%n/a112211
directMode(DirectConnectionConfig)50%n/a112211
userAgentSuffix(String)50%n/a112211
throttlingRetryOptions(ThrottlingRetryOptions)50%n/a112211
preferredRegions(List)50%n/a112211
endpointDiscoveryEnabled(boolean)50%n/a112211
multipleWriteRegionsEnabled(boolean)50%n/a112211
clientTelemetryEnabled(boolean)50%n/a112211
readRequestsFallbackEnabled(boolean)50%n/a112211
configs(Configs)50%n/a112211
static {...}50%n/a112211
metadataCaches()30%n/a111111
apiType()30%n/a111111
isSessionCapturingOverrideEnabled()30%n/a111111
isConnectionSharingAcrossClientsEnabled()30%n/a111111
getAuthorizationTokenResolver()30%n/a111111
getEndpoint()30%n/a111111
getKey()30%n/a111111
getResourceToken()30%n/a111111
getTokenCredential()30%n/a111111
getPermissions()30%n/a111111
getConsistencyLevel()30%n/a111111
getConnectionPolicy()30%n/a111111
getCredential()30%n/a111111
isContentResponseOnWriteEnabled()30%n/a111111
getGatewayConnectionConfig()30%n/a111111
getDirectConnectionConfig()30%n/a111111
getUserAgentSuffix()30%n/a111111
getThrottlingRetryOptions()30%n/a111111
isEndpointDiscoveryEnabled()30%n/a111111
isMultipleWriteRegionsEnabled()30%n/a111111
isClientTelemetryEnabled()30%n/a111111
isReadRequestsFallbackEnabled()30%n/a111111
configs()30%n/a111111