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

10/03/2021
by   Daisuke Nishioka, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/09/2021

On the Nature of Code Cloning in Open-Source Java Projects

Code cloning plays a very important role in open-source software enginee...
research
01/20/2022

Evaluating the Performance of Clone Detection Tools in Detecting Cloned Co-change Candidates

Co-change candidates are the group of code fragments that require a chan...
research
01/18/2018

Challenges of the Dynamic Detection of Functionally Similar Code Fragments

Classic clone detection approaches are hardly capable of finding redunda...
research
08/25/2021

Recommending Extract Method Refactoring Based on Confidence of Predicted Method Name

Refactoring is an important activity that is frequently performed in sof...
research
07/26/2019

Scalable Source Code Similarity Detection in Large Code Repositories

Source code similarity are increasingly used in application development ...
research
11/04/2020

If You've Seen One, You've Seen Them All: Leveraging AST Clustering Using MCL to Mimic Expertise to Detect Software Supply Chain Attacks

Trojanized software packages used in software supply chain attacks const...
research
10/14/2019

Learning Lenient Parsing Typing via Indirect Supervision

Both professional coders and teachers frequently deal with imperfect (fr...

Please sign up or login with your details

Forgot password? Click here to reset