通过重构洞察代码克隆管理:系统的文献回顾

IF 12.7 1区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
Manpreet Kaur , Dhavleesh Rattan , Madan Lal
{"title":"通过重构洞察代码克隆管理:系统的文献回顾","authors":"Manpreet Kaur ,&nbsp;Dhavleesh Rattan ,&nbsp;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 ,&nbsp;Dhavleesh Rattan ,&nbsp;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}
引用次数: 0

摘要

背景软件克隆存在于软件设计模型、源代码和测试用例中。软件克隆的检测引起了许多研究者的关注。然而,管理这些克隆仍然是一项具有挑战性的任务。目的通过重构寻找克隆管理领域的研究方向。克隆检测后,开发人员面临两个重大挑战。1)了解大量报告的克隆2)确定哪些克隆适合重构。本文综述了现有克隆重构研究的成果,并重点介绍了有助于筛选克隆检测结果以进行重构的克隆相关参数。方法基于7个研究问题,利用9个数字图书馆进行系统的文献综述,找出截至2024年7月发表的与克隆重构相关的文章。从最初的810篇文章开始,我们选择了在各种主要期刊和会议上发表的78篇文章。结果综述了克隆检测工具、重构方法、重构工具以及克隆重构研究的主题体系。它还确定了克隆进化研究以及机器学习和深度学习技术在克隆重构中的使用的重要性。结论对现有克隆重构工具的实证研究有限。未来的研究可以探索迁移学习和LLM模型增强克隆重构的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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
Computer Science Review Computer Science-General Computer Science
CiteScore
32.70
自引率
0.00%
发文量
26
审稿时长
51 days
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信