数据驱动提取方法建议:ING的研究
Data-Driven Extract Method Recommendations: A Study at ING
摘要:
重构机会的合理识别在软件工程中仍然是一个悬而未决的问题。最近的研究表明,机器学习模型在推荐应该经历不同重构操作的方法方面是有效的。在这项工作中,我们尝试使用这种方法来识别应该在大型金融组织ING的背景下进行提取方法重构的方法。更具体地说,我们(i)比较开源和ING系统之间的代码度量分布,这些代码度量分布被模型用作特征,(ii)测量不同机器学习模型在推荐提取方法重构时的准确性,(iii)将模型给出的建议与ING专家的意见进行比较。我们的研究结果表明,ING系统和开源系统的特征分布有些不同,机器学习模型可以推荐提取方法重构具有较高的准确性,专家往往同意模型的大部分建议。
英文摘要:
The sound identification of refactoring opportunities is still an open problem in software engineering. Recent studies have shown the effectiveness of machine learning models in recommending methods that should undergo different refactoring operations. In this work, we experiment with such approaches to identify methods that should undergo an Extract Method refactoring, in the context of ING, a large financial organization. More specifically, we (i) compare the code metrics distributions, which are used as features by the models, between open-source and ING systems, (ii) measure the accuracy of different machine learning models in recommending Extract Method refactorings, (iii) compare the recommendations given by the models with the opinions of ING experts. Our results show that the feature distributions of ING systems and open-source systems are somewhat different, that machine learning models can recommend Extract Method refactorings with high accuracy, and that experts tend to agree with most of the recommendations of the model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。