Clone Detection vs. Pattern Mining: The Battle

Céline Deknop, Simon Baars, Kim Mens, Ana Oprescu, Johan Fabry · UvA-DARE (University of Amsterdam) · 2019

In this paper we compare two approaches to discover recurrent fragments in source code: clone detection and frequent subtree mining. We apply both approaches to a medium-sized Java case and compare qualitatively and quantitatively their results in terms of what types of code fragments are detected, as well as their size, relevance, coverage, and level of detail. We conclude that both approaches are complementary, while existing overlap may be used for cross-validation of the approaches.

Read the paper · More papers on PaperTik