Code Suggestion of Method Call Statements Using a Source Code Corpus

Code Suggestion of Method Call Statements Using a Source Code Corpus
复制标题

DOI:
10.1109/apsec.2017.82
复制
发表时间:
2017-12
期刊:
2017 24th Asia-Pacific Software Engineering Conference (APSEC)
影响因子:
--
通讯作者:
Tetsuo Yamamoto
Tetsuo Yamamoto
中科院分区:
其他
文献类型:
--
作者:
Tetsuo Yamamoto

文献摘要

被引文献

相似文献

在编写源代码时,开发人员经常重用现有的源代码或使用库,以便有效地开发新软件。我们提出了一种方法,建议方法调用语句的源代码开发人员。在我们的研究中,我们专注于现有源代码中的方法调用语句。源代码语料库是从现有的源代码中预先自动构建的。语料库在方法调用语句之前/之后存储方法调用语句。从语料库中向开发人员推荐适当的方法调用语句。我们实现所提出的方法作为一个Eclipse插件,并通过评估澄清的方法的有效性。评估结果表明,合适的方法调用语句在候选列表中排名很高。
When writing source code, developers often reuse existing source code or use libraries in order to effectively develop new software. We propose an approach to suggest method call statements to source code developers. In our study, we focus on method call statements in existing source code. A source code corpus is automatically constructed in advance from existing source code. The corpus stores method call statements before/after a method call statement. Appropriate method call statements are recommended to the developer from the corpus. We implement the proposed approach as an Eclipse plugin and clarify the effectiveness of the approach through evaluations. The evaluation results show that appropriate method call statements are ranked highly in the candidate list.