Clone detection vs. Pattern mining The Battle

Open Access
Authors
  • J. Fabry
Publication date 2019
Host editors
  • D. Di Nucci
  • C. De Roover
Book title Proceedings of the 18th Belgium-Netherlands Software Evolution Workshop
Book subtitle Brussels, Belgium, November 28th to 29th, 2019
Series CEUR Workshop Proceedings
Event 18th Belgium-Netherlands Software Evolution Workshop, BENEVOL 2019
Article number 14
Number of pages 7
Publisher Aachen: CEUR-WS
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
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.

Document type Conference contribution
Language English
Published at https://ceur-ws.org/Vol-2605/14.pdf
Other links https://ceur-ws.org/Vol-2605/ https://www.scopus.com/pages/publications/85089884272
Downloads
14 (Final published version)
Permalink to this page
Back