BackendSelectionManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total778 of 7780%144 of 1440%1071072142143535
orderQueryCandidatesWithinTies(BackendSelection.SelectionHint, List, Comparator, Function)1140%180%1010272711
validateOrderedCandidates(String, List, List)640%120%77131311
requiredCandidates(String, BackendSelection.SelectionHint, List, BackendSelection.CandidateSelection)530%80%55121211
loadProvider(ClassLoader)450%40%33151511
resolveLoadSelectionHint(ConnectContext)400%100%66151511
orderLoadCandidates(ConnectContext, List)360%80%55111111
partitionPreferredQueryCandidates(BackendSelection.SelectionHint, List, Function)360%120%77111111
partitionPreferredLoadCandidates(BackendSelection.SelectionHint, List)350%120%77111111
orderQueryCandidates(BackendSelection.SelectionHint, List, Function)350%40%33101011
orderLoadCandidates(BackendSelection.SelectionHint, List)290%60%448811
validateCandidatePartition(String, List, BackendSelection.CandidateSelection)260%n/a116611
provider()230%40%339911
chooseLoadBackend(ConnectContext, List)230%20%227711
chooseFirstPreferredLoadBackend(ConnectContext, List, Predicate)230%40%336611
classifyQuerySelection(BackendSelection.SelectionHint, List, Function)210%60%446611
isLoadSelectionEnabled(ConnectContext)200%100%665511
chooseFirstAvailable(List, Predicate)190%40%335511
hasLoadSelectionPreference(BackendSelection.SelectionHint)150%80%553311
ensureRequiredSelectionSatisfied(BackendSelection.SelectionHint, boolean)130%40%334411
invalidCandidateOrder(String)130%20%223311
orderRepairSourceCandidates(List, long)110%n/a114411
requiredLoadCandidates(BackendSelectionProvider, BackendSelection.SelectionHint, List)110%n/a113311
isRequiredSelection(BackendSelection.SelectionHint)100%40%331111
hasLoadSelectionPreference(ConnectContext)80%20%223311
static {...}80%n/a112211
classifyRepairSource(long, long, List, List)70%n/a111111
restoreLoadSelection(ConnectContext, BackendSelection.SelectionHint)70%n/a113311
setProviderForTest(BackendSelectionProvider)60%n/a112211
invalidCandidatePartition(String)60%n/a111111
getForwardedLoadSelectionHint(String, String)50%n/a111111
getQuerySelectionHint(ConnectContext)40%n/a111111
resetProviderForTest()30%n/a112211
supportsRequiredSelection()30%n/a111111
isRepairSourceSelectionEnabled()30%n/a111111
captureLoadSelection(ConnectContext)30%n/a111111