论文标题

关于Java方法名称建议的实证研究:我们在那里吗?

An empirical study on Java method name suggestion: are we there yet?

论文作者

Wang, Weidong, Kang, Yujian, Li, Dian

论文摘要

对当前命名方法的大规模评估证明了这种方法是准确的。但是,对于哪些方法名称类别通过这种命名方法以及命名方法的性能如何很好地奏效。为了指出当前命名方法的优越性,在本文中,我们对新数据集中的这种方法进行了一项经验研究。此外,我们分析了上述成功的命名方法,并发现:(1)在GET,SET,SET,IS和测试中,大约有60%的接受建议名称是在接受的。 (2)成功推荐的大部分方法名称可以从给定的方法主体得出。比较还证明了实证研究的出色表现。

A large-scale evaluation for current naming approaches substantiates that such approaches are accurate. However, it is less known about which categories of method names work well via such naming approaches and how's the performance of naming approaches. To point out the superiority of the current naming approach, in this paper, we conduct an empirical study on such approaches in a new dataset. Moreover, we analyze the successful naming approaches above and find that: (1) around 60% of the accepted recommendation names are made on prefixes within get, set, is, and test. (2) A large portion (19.3%) of method names successfully recommended could be derived from the given method bodies. The comparisons also demonstrate the superior performance of the empirical study.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源