Clone Detection vs. Pattern Mining: The Battle

Deknop, Céline;Baars, Simon;Mens, Kim;Oprescu, Ana;Fabry, Johan
(2019) The 18th Belgium-Netherlands Software Evolution Workshop — Location: Brussels (28.November.2019)

Files

BENEVOL_Paper.pdf
  • Open Access
  • Adobe PDF
  • 342.95 KB

Details

Authors
  • Deknop, CĂ©lineUCLouvain
    Author
  • Baars, SimonUvA
    Author
  • Mens, Kimorcid-logoUCLouvain
    Author
  • Oprescu, AnaUvA
    Author
  • Fabry, JohanRaincode Labs
    Author
Abstract
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.
Affiliations

Citations

Deknop, C., Baars, S., Mens, K., Oprescu, A., & Fabry, J. (2019). Clone Detection vs. Pattern Mining: The Battle. C E U R Workshop Proceedings, Vol(2605), 14-21. https://hdl.handle.net/2078.5/123703 (Original work published 2019)