Code clone harmfulness evaluation based on support vectors machine

Fanlong ZHANG,Xiaohong SU,Zhichao LI,Peijun MA
DOI: https://doi.org/10.3969/j.issn.2095-2163.2016.04.036
2016-01-01
Abstract:Code clone ( also known as duplicated code) has always been a popular research field in software engineering. Traditional view is that code clone is harmful, because clone can decrease the quality of software. However, considering the clone evolution, some studies find that not all the clones are harmful. So how to evaluate the clone harmfulness is a problem. This paper proposes a method which can evaluate the clone harmfulness based on support vectors machine, and makes several experiments on six open?source software systems which were written in three kinds of programming languages. The results show that the proposed method has an applicability and higher accuracy. It is a meaningful attempt to evaluate the clone harmfulness.
What problem does this paper attempt to address?