Clone Detection Method Selection Based on Bandit Algorithm: a Preliminary Analysis
Takeru Tabo, Takuto Kudo, Masateru Tsunoda, Amjed Tahir, Kwabena Ebo Bennin, Koji Toda, Keitaro Nakasai, Akito Monden · 2022
Various clone detection methods have been proposed in the past, with results varying depending on the combination of the methods and parameters setting used (i.e., configurations). To help with the selection of a suitable clone detection configuration, we propose Bandit Algorithm (BA) approach that can help in evaluating the configuration used dynamically while using detection methods. Our preliminary analysis showed that our approach is able to identify the best configurations from four used code clone detection methods.