BackendSelectionManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total38 of 77895%29 of 14479%2910714214035
loadProvider(ClassLoader)83782%1375%1331501
chooseLoadBackend(ConnectContext, List)81565%2100%022701
orderLoadCandidates(ConnectContext, List)72980%3562%3521101
partitionPreferredLoadCandidates(BackendSelection.SelectionHint, List)43188%6650%6721101
requiredCandidates(String, BackendSelection.SelectionHint, List, BackendSelection.CandidateSelection)35094%3562%3511201
orderQueryCandidatesWithinTies(BackendSelection.SelectionHint, List, Comparator, Function)211298%21688%21012701
partitionPreferredQueryCandidates(BackendSelection.SelectionHint, List, Function)23494%4866%4711101
orderLoadCandidates(BackendSelection.SelectionHint, List)22793%2466%241801
hasLoadSelectionPreference(ConnectContext)2675%1150%121301
validateOrderedCandidates(String, List, List)64100%11191%1701301
resolveLoadSelectionHint(ConnectContext)40100%10100%0601501
orderQueryCandidates(BackendSelection.SelectionHint, List, Function)35100%4100%0301001
validateCandidatePartition(String, List, BackendSelection.CandidateSelection)26100%n/a010601
provider()23100%4100%030901
chooseFirstPreferredLoadBackend(ConnectContext, List, Predicate)23100%4100%030601
classifyQuerySelection(BackendSelection.SelectionHint, List, Function)21100%1583%140601
isLoadSelectionEnabled(ConnectContext)20100%3770%360501
chooseFirstAvailable(List, Predicate)19100%4100%030501
hasLoadSelectionPreference(BackendSelection.SelectionHint)15100%1787%150301
ensureRequiredSelectionSatisfied(BackendSelection.SelectionHint, boolean)13100%1375%130401
invalidCandidateOrder(String)13100%2100%020301
orderRepairSourceCandidates(List, long)11100%n/a010401
requiredLoadCandidates(BackendSelectionProvider, BackendSelection.SelectionHint, List)11100%n/a010301
isRequiredSelection(BackendSelection.SelectionHint)10100%4100%030101
static {...}8100%n/a010201
classifyRepairSource(long, long, List, List)7100%n/a010101
restoreLoadSelection(ConnectContext, BackendSelection.SelectionHint)7100%n/a010301
setProviderForTest(BackendSelectionProvider)6100%n/a010201
invalidCandidatePartition(String)6100%n/a010101
getForwardedLoadSelectionHint(String, String)5100%n/a010101
getQuerySelectionHint(ConnectContext)4100%n/a010101
resetProviderForTest()3100%n/a010201
supportsRequiredSelection()3100%n/a010101
isRepairSourceSelectionEnabled()3100%n/a010101
captureLoadSelection(ConnectContext)3100%n/a010101