Please use this identifier to cite or link to this item:
https://doi.org/10.1109/ACCESS.2020.2990645
DC Field | Value | |
---|---|---|
dc.title | Improving maintenance-consistency prediction during code clone creation | |
dc.contributor.author | Zhang, F. | |
dc.contributor.author | Khoo, S.-C. | |
dc.contributor.author | Su, X. | |
dc.date.accessioned | 2021-08-18T08:54:39Z | |
dc.date.available | 2021-08-18T08:54:39Z | |
dc.date.issued | 2020 | |
dc.identifier.citation | Zhang, F., Khoo, S.-C., Su, X. (2020). Improving maintenance-consistency prediction during code clone creation. IEEE Access 8 : 82085-82099. ScholarBank@NUS Repository. https://doi.org/10.1109/ACCESS.2020.2990645 | |
dc.identifier.issn | 21693536 | |
dc.identifier.uri | https://scholarbank.nus.edu.sg/handle/10635/197818 | |
dc.description.abstract | Developers frequently introduce code clones into software through the copy-and-paste operations during the software development phase in order to shorten development time. Not all such clone creations are beneficial to software maintenance, as they may introduce extra effort at the software maintenance phase, where additional care is needed to ensure consistent change among these clones; i.e., changes made to a piece of code may need to be propagated to other clones. Failure in doing so may risk introducing bugs into software, which are usually called consistent defect. In response to the rampant maintenance cost caused by the introduction of new clones, some researchers have advocated the use of machine-learning approach to predict the likelihood of consistent change requirement when clones are freshly introduced. Leading in this approach is the work by Wang et al., which uses Bayesian Network to model maintenance-consistency of newly introduced clones. In this work, we leverage the success of the above-mentioned work by providing a revised set of attributes that has been shown to strengthen the predictive power of the Bayesian network model, as determined more quantitatively by the precision and recall levels. We firstly provide the definition of clone consistency-maintenance requirement, which can help transfer this problem to a classification problem. Then, based on collecting all clone creation operations through traversing clone genealogies, we redesign the attribute sets for representing clone creation with more information in code and context perspective. We evaluate the effectiveness of our approach on four open source projects with more quantitative analysis, and the experimental results show that our approach possesses a powerful ability in predicting clone consistency. To transfer this work into practice, we develop an Eclipse plug-in tool of this prediction to aid developers in software development and maintenance. © 2013 IEEE. | |
dc.publisher | Institute of Electrical and Electronics Engineers Inc. | |
dc.source | Scopus OA2020 | |
dc.subject | clone consistency prediction | |
dc.subject | clone consistent change | |
dc.subject | Code clones | |
dc.subject | machine learning | |
dc.subject | software maintenance | |
dc.type | Article | |
dc.contributor.department | DEPARTMENT OF COMPUTER SCIENCE | |
dc.description.doi | 10.1109/ACCESS.2020.2990645 | |
dc.description.sourcetitle | IEEE Access | |
dc.description.volume | 8 | |
dc.description.page | 82085-82099 | |
Appears in Collections: | Staff Publications Elements |
Show simple item record
Files in This Item:
File | Description | Size | Format | Access Settings | Version | |
---|---|---|---|---|---|---|
10_1109_ACCESS_2020_2990645.pdf | 1.33 MB | Adobe PDF | OPEN | None | View/Download |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.