English

Towards Informative Tagging of Code Fragments to Support the Investigation of Code Clones

Software Engineering 2021-10-05 v1

Abstract

Investigating the code fragments of code clones detected by code clone detection tools is a time-consuming task, especially when a large number of reference source files are available. This paper proposes (i) a method for clustering a clone class, which is detected by code clone detection tools using syntactic similarity, based on topic similarity by considering its code fragments as sequences of words and (ii) a method for assigning short tags to clusters of the clustering result. We also report an experiment of applying the proposed method to packages of an open source operating system.

Keywords

Cite

@article{arxiv.2110.01092,
  title  = {Towards Informative Tagging of Code Fragments to Support the Investigation of Code Clones},
  author = {Daisuke Nishioka and Toshihiro Kamiya},
  journal= {arXiv preprint arXiv:2110.01092},
  year   = {2021}
}

Comments

7 pages, 15th International Workshop on Software Clones