BackendSelectionManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total558 of 77828%102 of 14429%791071402141535
orderQueryCandidatesWithinTies(BackendSelection.SelectionHint, List, Comparator, Function)103119%16211%910232701
validateOrderedCandidates(String, List, List)640%120%77131311
requiredCandidates(String, BackendSelection.SelectionHint, List, BackendSelection.CandidateSelection)530%80%55121211
partitionPreferredLoadCandidates(BackendSelection.SelectionHint, List)350%120%77111111
loadProvider(ClassLoader)301533%3125%2391501
orderLoadCandidates(BackendSelection.SelectionHint, List)290%60%448811
partitionPreferredQueryCandidates(BackendSelection.SelectionHint, List, Function)261027%10216%6781101
validateCandidatePartition(String, List, BackendSelection.CandidateSelection)260%n/a116611
orderQueryCandidates(BackendSelection.SelectionHint, List, Function)241131%2250%2361001
orderLoadCandidates(ConnectContext, List)201644%4450%3541101
chooseFirstPreferredLoadBackend(ConnectContext, List, Predicate)18521%3125%234601
resolveLoadSelectionHint(ConnectContext)162460%4660%4661501
ensureRequiredSelectionSatisfied(BackendSelection.SelectionHint, boolean)130%40%334411
invalidCandidateOrder(String)130%20%223311
chooseLoadBackend(ConnectContext, List)121147%1150%123701
orderRepairSourceCandidates(List, long)110%n/a114411
requiredLoadCandidates(BackendSelectionProvider, BackendSelection.SelectionHint, List)110%n/a113311
hasLoadSelectionPreference(BackendSelection.SelectionHint)9640%5337%351301
classifyQuerySelection(BackendSelection.SelectionHint, List, Function)81361%3350%342601
classifyRepairSource(long, long, List, List)70%n/a111111
setProviderForTest(BackendSelectionProvider)60%n/a112211
invalidCandidatePartition(String)60%n/a111111
getForwardedLoadSelectionHint(String, String)50%n/a111111
chooseFirstAvailable(List, Predicate)31684%2250%232501
resetProviderForTest()30%n/a112211
isRepairSourceSelectionEnabled()30%n/a111111
isLoadSelectionEnabled(ConnectContext)21890%4660%460501
isRequiredSelection(BackendSelection.SelectionHint)2880%1375%130101
provider()23100%4100%030901
hasLoadSelectionPreference(ConnectContext)8100%2100%020301
static {...}8100%n/a010201
restoreLoadSelection(ConnectContext, BackendSelection.SelectionHint)7100%n/a010301
getQuerySelectionHint(ConnectContext)4100%n/a010101
supportsRequiredSelection()3100%n/a010101
captureLoadSelection(ConnectContext)3100%n/a010101