arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.18169cs.SE
收藏

寻找指导基于开发者的重构推荐的度量标准

In Search of Metrics to Guide Developer-Based Refactoring Recommendations

Mikel Robredo, Matteo Esposito, Fabio Palomba, Rafael Peñaloza, Valentina Lenarduzzi

AI总结:

本文提出一项实证研究,通过量化产品和过程度量标准来把握开发者执行重构的动机,从而为基于开发者的重构推荐器设计提供度量标准目录。

摘要:

背景。源代码重构是一种在不影响其外部行为的前提下提高源代码质量的成熟方法。动机。文献描述了重构的益处,但其在实践中的应用受到持续执行它所需的时间、资源分配和精力的高昂成本的威胁。提供更接近开发者认为相关的重构建议,可能支持重构在实践中的更广泛应用,并推动优先级排序工作。目标。在本文中,我们旨在促进基于开发者的重构推荐器的设计,提出一项关于研究开发者应用重构操作意愿的度量标准的实证研究。我们建立在先前描述开发者重构动机的工作之上,并研究产品和过程度量标准如何能够把握这些动机。预期结果。我们将量化产品和过程度量标准在把握开发者执行重构的动机方面的价值,从而为基于开发者的重构推荐器提供一份可供使用的度量标准目录。

英文摘要:

Context. Source code refactoring is a well-established approach to improving source code quality without compromising its external behavior. Motivation. The literature described the benefits of refactoring, yet its application in practice is threatened by the high cost of time, resource allocation, and effort required to perform it continuously. Providing refactoring recommendations closer to what developers perceive as relevant may support the broader application of refactoring in practice and drive prioritization efforts. Aim. In this paper, we aim to foster the design of a developer-based refactoring recommender, proposing an empirical study into the metrics that study the developer's willingness to apply refactoring operations. We build upon previous work describing the developer's motivations for refactoring and investigate how product and process metrics may grasp those motivations. Expected Results. We will quantify the value of product and process metrics in grasping developers' motivations to perform refactoring, thus providing a catalog of metrics for developer-based refactoring recommenders to use.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑