BackendSelectionManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total662 of 81919%116 of 14419%901071622142035
orderQueryCandidatesWithinTies(BackendSelection.SelectionHint, List, Comparator, Function)1140%180%1010272711
validateOrderedCandidates(String, List, List)640%120%77131311
requiredCandidates(String, BackendSelection.SelectionHint, List, BackendSelection.CandidateSelection)610%80%55121211
loadProvider(ClassLoader)391527%3125%2391501
orderLoadCandidates(ConnectContext, List)360%80%55111111
partitionPreferredLoadCandidates(BackendSelection.SelectionHint, List)350%120%77111111
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
chooseLoadBackend(ConnectContext, List)230%20%227711
ensureRequiredSelectionSatisfied(BackendSelection.SelectionHint, boolean)210%40%334411
invalidCandidateOrder(String)210%20%223311
chooseFirstAvailable(List, Predicate)190%40%335511
resolveLoadSelectionHint(ConnectContext)182255%5550%5671501
chooseFirstPreferredLoadBackend(ConnectContext, List, Predicate)18521%3125%234601
invalidCandidatePartition(String)140%n/a111111
orderRepairSourceCandidates(List, long)110%n/a114411
requiredLoadCandidates(BackendSelectionProvider, BackendSelection.SelectionHint, List)110%n/a113311
hasLoadSelectionPreference(BackendSelection.SelectionHint)9640%6225%451301
classifyQuerySelection(BackendSelection.SelectionHint, List, Function)81361%3350%342601
classifyRepairSource(long, long, List, List)70%n/a111111
setProviderForTest(BackendSelectionProvider)60%n/a112211
getForwardedLoadSelectionHint(String, String)50%n/a111111
isLoadSelectionEnabled(ConnectContext)41680%5550%561501
resetProviderForTest()30%n/a112211
supportsRequiredSelection()30%n/a111111
captureLoadSelection(ConnectContext)30%n/a111111
isRequiredSelection(BackendSelection.SelectionHint)2880%2250%230101
hasLoadSelectionPreference(ConnectContext)2675%1150%121301
provider()23100%4100%030901
static {...}8100%n/a010201
restoreLoadSelection(ConnectContext, BackendSelection.SelectionHint)7100%n/a010301
getQuerySelectionHint(ConnectContext)4100%n/a010101
isRepairSourceSelectionEnabled()3100%n/a010101