Please use this identifier to cite or link to this item: https://doi.org/10.1109/ACCESS.2020.2990645
DC FieldValue
dc.titleImproving maintenance-consistency prediction during code clone creation
dc.contributor.authorZhang, F.
dc.contributor.authorKhoo, S.-C.
dc.contributor.authorSu, X.
dc.date.accessioned2021-08-18T08:54:39Z
dc.date.available2021-08-18T08:54:39Z
dc.date.issued2020
dc.identifier.citationZhang, 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.issn21693536
dc.identifier.urihttps://scholarbank.nus.edu.sg/handle/10635/197818
dc.description.abstractDevelopers 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.publisherInstitute of Electrical and Electronics Engineers Inc.
dc.sourceScopus OA2020
dc.subjectclone consistency prediction
dc.subjectclone consistent change
dc.subjectCode clones
dc.subjectmachine learning
dc.subjectsoftware maintenance
dc.typeArticle
dc.contributor.departmentDEPARTMENT OF COMPUTER SCIENCE
dc.description.doi10.1109/ACCESS.2020.2990645
dc.description.sourcetitleIEEE Access
dc.description.volume8
dc.description.page82085-82099
Appears in Collections:Staff Publications
Elements

Show simple item record
Files in This Item:
File Description SizeFormatAccess SettingsVersion 
10_1109_ACCESS_2020_2990645.pdf1.33 MBAdobe PDF

OPEN

NoneView/Download

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.