Code clones are similar or identical code fragments to one another in source code. It is said that code clones decrease maintainability of software. On the other hand, all the code clones are not necessarily harmful to software. In this study, we propose a method to identify risky code clones out of all the code clones in source code by using machine learning techniques. Our proposed method learns information about features of code clones which existed in the past and whether they were risky or not. Then, based on these information, we identify risky code clones. As a result of a pilot study, we confirmed that the proposed method was able to predict risky code clones with high accuracy.
CITATION STYLE
Imazato, A., Hotta, K., Higo, Y., & Kusumoto, S. (2014). Predicting risky clones based on machine learning. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 8892, 294–297. https://doi.org/10.1007/978-3-319-13835-0_25
Mendeley helps you to discover research relevant for your work.