{"title":"通过重构洞察代码克隆管理:系统的文献回顾","authors":"Manpreet Kaur , Dhavleesh Rattan , Madan Lal","doi":"10.1016/j.cosrev.2025.100767","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Software clones exist in software design models, source code, and test cases. The detection of clones in software attracted the attention of many researchers. However, managing these clones is still a challenging task.</div></div><div><h3>Aim</h3><div>This review aims to find research directions in the field of clone management through refactoring. After the clone detection, developers face two significant challenges. 1) Understanding the large number of reported clones 2) Identifying which clones are suitable for refactoring. This review provides findings of existing clone refactoring research and highlights clone-related parameters that help in filtering clone detection results for refactoring.</div></div><div><h3>Method</h3><div>We conducted a systematic literature review using nine digital libraries, based on seven research questions, identifying articles related to clone refactoring published till July 2024. Starting from an initial set of 810 articles, we selected a comprehensive set of 78 articles published in various leading journals and conferences.</div></div><div><h3>Results</h3><div>The review gives information about clone detection tools, refactoring methods, refactoring tools, and subject systems used in clone refactoring research. It also identifies the importance of clone evolution studies and the usage of machine learning and deep learning techniques for clone refactoring.</div></div><div><h3>Conclusion</h3><div>We conclude that empirical studies on available clone refactoring tools are limited. Future studies exploring the potential of transfer learning and LLM models to enhance clone refactoring can be conducted.</div></div>","PeriodicalId":48633,"journal":{"name":"Computer Science Review","volume":"58 ","pages":"Article 100767"},"PeriodicalIF":12.7000,"publicationDate":"2025-06-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Insight into code clone management through refactoring: a systematic literature review\",\"authors\":\"Manpreet Kaur , Dhavleesh Rattan , Madan Lal\",\"doi\":\"10.1016/j.cosrev.2025.100767\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Background</h3><div>Software clones exist in software design models, source code, and test cases. The detection of clones in software attracted the attention of many researchers. However, managing these clones is still a challenging task.</div></div><div><h3>Aim</h3><div>This review aims to find research directions in the field of clone management through refactoring. After the clone detection, developers face two significant challenges. 1) Understanding the large number of reported clones 2) Identifying which clones are suitable for refactoring. This review provides findings of existing clone refactoring research and highlights clone-related parameters that help in filtering clone detection results for refactoring.</div></div><div><h3>Method</h3><div>We conducted a systematic literature review using nine digital libraries, based on seven research questions, identifying articles related to clone refactoring published till July 2024. Starting from an initial set of 810 articles, we selected a comprehensive set of 78 articles published in various leading journals and conferences.</div></div><div><h3>Results</h3><div>The review gives information about clone detection tools, refactoring methods, refactoring tools, and subject systems used in clone refactoring research. It also identifies the importance of clone evolution studies and the usage of machine learning and deep learning techniques for clone refactoring.</div></div><div><h3>Conclusion</h3><div>We conclude that empirical studies on available clone refactoring tools are limited. Future studies exploring the potential of transfer learning and LLM models to enhance clone refactoring can be conducted.</div></div>\",\"PeriodicalId\":48633,\"journal\":{\"name\":\"Computer Science Review\",\"volume\":\"58 \",\"pages\":\"Article 100767\"},\"PeriodicalIF\":12.7000,\"publicationDate\":\"2025-06-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Science Review\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1574013725000437\",\"RegionNum\":1,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Science Review","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1574013725000437","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
Insight into code clone management through refactoring: a systematic literature review
Background
Software clones exist in software design models, source code, and test cases. The detection of clones in software attracted the attention of many researchers. However, managing these clones is still a challenging task.
Aim
This review aims to find research directions in the field of clone management through refactoring. After the clone detection, developers face two significant challenges. 1) Understanding the large number of reported clones 2) Identifying which clones are suitable for refactoring. This review provides findings of existing clone refactoring research and highlights clone-related parameters that help in filtering clone detection results for refactoring.
Method
We conducted a systematic literature review using nine digital libraries, based on seven research questions, identifying articles related to clone refactoring published till July 2024. Starting from an initial set of 810 articles, we selected a comprehensive set of 78 articles published in various leading journals and conferences.
Results
The review gives information about clone detection tools, refactoring methods, refactoring tools, and subject systems used in clone refactoring research. It also identifies the importance of clone evolution studies and the usage of machine learning and deep learning techniques for clone refactoring.
Conclusion
We conclude that empirical studies on available clone refactoring tools are limited. Future studies exploring the potential of transfer learning and LLM models to enhance clone refactoring can be conducted.
期刊介绍:
Computer Science Review, a publication dedicated to research surveys and expository overviews of open problems in computer science, targets a broad audience within the field seeking comprehensive insights into the latest developments. The journal welcomes articles from various fields as long as their content impacts the advancement of computer science. In particular, articles that review the application of well-known Computer Science methods to other areas are in scope only if these articles advance the fundamental understanding of those methods.