arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.09476cs.SE
收藏

一个两阶段的Java方法名一致性推荐框架

A Two-phase Recommendation Framework for Consistent Java Method Names

Weidong Wang, Dian Li, Yujian Kang

摘要:

在软件工程(SE)任务中,命名方法是非常重要的,因此吸引了世界各地的许多学者研究如何提高方法名的质量。为了准确地推荐方法名称,我们采用了一个新的框架来处理这个问题。在我们的实验中,从开源组织收集了近800万个Java方法作为我们的评估数据集。在第一阶段的推荐中,我们引入了一个快速和简单的分类器的基础上的快速文本神经网络推荐潜在的方法类别。在第二阶段,我们使用两个长短期记忆网络,以reccomend一致的方法名称,从每个分类。评估结果证明,该方法显着优于国家的最先进的方法。

英文摘要:

In software engineering (SE) tasks, the naming approach is so important that it attracts many scholars from all over the world to study how to improve the quality of method names. To accurately recommend method names, we employ a novel framework to handle this problem. In our expeirments, nearly 8 million Java methods are collected from open source organizations as our evaluation dataset. In the first-phase recommendation, we introduce a fast and simple classifier based on the fast text neural network for reccomending potential method category. In the second-phase recomendation, we employ both two Long Short Term Memory Networks to reccomend consitent method names from each classification. Evaluation results prove that the proposed approach significantly outperforms state-of-the-art approach.

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

↑