pith. sign in

arxiv: 2201.09476 · v1 · pith:KHZETHWYnew · submitted 2022-01-24 · 💻 cs.SE

A Two-phase Recommendation Framework for Consistent Java Method Names

classification 💻 cs.SE
keywords methodnamesapproachemployevaluationfastframeworkjava
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.