Opti Code Pro: A Heuristic Search-based Approach to Code Refactoring

Sourena Khanzadeh, Samad Alias Nyein Chan,Richard Valenzano,Manar Alalfi

CoRR(2023)

引用 0|浏览0
暂无评分
摘要
This paper presents an approach that evaluates best-first search methods to code refactoring. The motivation for code refactoring could be to improve the design, structure, or implementation of an existing program without changing its functionality. To solve a very specific problem of coupling and cohesion, we propose using heuristic search-based techniques on an approximation of the full code refactoring problem, to guide the refactoring process toward solutions that have high cohesion and low coupling. We evaluated our approach by providing demonstrative examples of the effectiveness of this approach on random state problems and created a tool to implement the algorithm on Java projects.
更多
查看译文
关键词
opti code pro,heuristic,search-based
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要