AddressResolver

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,261 of 1,2610%154 of 1540%1141142632633737
tryResolveServerPartitionByPartitionKey(RxDocumentServiceRequest, PartitionKeyInternal, boolean, DocumentCollection, CollectionRoutingMap)1270%200%1111292911
tryResolveServerPartitionAsync(RxDocumentServiceRequest, DocumentCollection, CollectionRoutingMap, boolean, boolean, boolean)1210%180%1010222211
isSameCollection(PartitionKeyRange, PartitionKeyRange)890%240%1313232311
lambda$resolveAddressesAndIdentityAsync$15(Function, RxDocumentServiceRequest, AddressResolver.RefreshState, boolean, Utils.ValueHolder)800%80%55181811
ensureRoutingMapPresent(RxDocumentServiceRequest, CollectionRoutingMap, DocumentCollection)560%140%88161611
throwIfTargetChanged(RxDocumentServiceRequest, PartitionKeyRange)510%80%559911
tryResolveServerPartitionByPartitionKeyRangeIdAsync(RxDocumentServiceRequest, DocumentCollection, CollectionRoutingMap, boolean, boolean, boolean)500%40%338811
getOrRefreshRoutingMap(RxDocumentServiceRequest, boolean)450%60%447711
handleRangeAddressResolutionFailure(RxDocumentServiceRequest, boolean, boolean, CollectionRoutingMap)440%80%558811
lambda$resolveAddressesAndIdentityAsync$14(AddressResolver.RefreshState, RxDocumentServiceRequest, Utils.ValueHolder)400%20%228811
lambda$getOrRefreshRoutingMap$4(AddressResolver.RefreshState, RxDocumentServiceRequest, Utils.ValueHolder, Utils.ValueHolder)400%40%338811
lambda$tryResolveServerPartitionByPartitionKeyRangeIdAsync$18(RxDocumentServiceRequest, boolean, boolean, CollectionRoutingMap, PartitionKeyRange, Utils.ValueHolder)390%40%337711
lambda$resolveAddressesAndIdentityAsync$16(RxDocumentServiceRequest, boolean, AddressResolver.RefreshState)370%n/a117711
lambda$resolveMasterResourceAddress$2(RxDocumentServiceRequest, Utils.ValueHolder)360%20%228811
lambda$getOrRefreshRoutingMap$8(RxDocumentServiceRequest, AddressResolver.RefreshState)340%40%337711
lambda$getOrRefreshRoutingMap$5(AddressResolver.RefreshState, RxDocumentServiceRequest, Utils.ValueHolder)320%n/a115511
lambda$tryResolveServerPartitionAsync$1(DocumentCollection, PartitionKeyRange, Utils.ValueHolder)310%20%225511
tryResolveSinglePartitionCollection(RxDocumentServiceRequest, CollectionRoutingMap, boolean)300%40%336611
lambda$resolveAddressesAndIdentityAsync$11(RxDocumentServiceRequest, AddressResolver.RefreshState, AddressResolver.RefreshState)290%20%227711
resolveMasterResourceAddress(RxDocumentServiceRequest, boolean)270%60%444411
resolveAddressesAndIdentityAsync(RxDocumentServiceRequest, boolean)260%40%335511
lambda$getOrRefreshRoutingMap$7(AddressResolver.RefreshState, RxDocumentServiceRequest, Utils.ValueHolder)250%n/a115511
lambda$resolveAddressesAndIdentityAsync$12(RxDocumentServiceRequest, boolean, AddressResolver.RefreshState)220%n/a115511
lambda$resolveAddressesAndIdentityAsync$10(RxDocumentServiceRequest, AddressResolver.RefreshState, AddressResolver.ResolutionResult)220%60%444411
lambda$resolveAddressesAndIdentityAsync$13(RxDocumentServiceRequest, Utils.ValueHolder)200%20%224411
lambda$resolveAsync$0(RxDocumentServiceRequest, AddressResolver.ResolutionResult)190%n/a116611
static {...}160%20%223311
resolveAsync(RxDocumentServiceRequest, boolean)110%n/a112211
initializeCaches(RxCollectionCache, ICollectionRoutingMapCache, IAddressCache)100%n/a114411
lambda$tryResolveServerPartitionByPartitionKeyRangeIdAsync$17(RxDocumentServiceRequest, boolean, boolean, CollectionRoutingMap)100%n/a111111
returnOrError(Callable)80%n/a113311
lambda$getStateWithNewRoutingMap$9(AddressResolver.RefreshState, Utils.ValueHolder)70%n/a112211
lambda$getOrRefreshRoutingMap$6(AddressResolver.RefreshState, Utils.ValueHolder)70%n/a112211
lambda$getOrRefreshRoutingMap$3(AddressResolver.RefreshState, Utils.ValueHolder)70%n/a112211
updateAddresses(RxDocumentServiceRequest, URI)50%n/a111111
getStateWithNewRoutingMap(AddressResolver.RefreshState, Mono)50%n/a111111
AddressResolver()30%n/a112211