首页> 外文会议>IEEE International Conference on Software Maintenance >An evaluation of the strategies of sorting, filtering, and grouping API methods for Code Completion
【24h】

An evaluation of the strategies of sorting, filtering, and grouping API methods for Code Completion

机译:评估代码完成的排序,过滤和分组API方法的策略

获取原文

摘要

Code Completion is one of the most popular IDE features for accessing APIs, freeing programmers from remembering specific details about an API and reducing keystrokes. We propose three ways to enhance the current code-completion systems to work more effectively with large APIs. First, we propose two methods for sorting APIs, by type hierarchy and by use count, and show that their use significantly reduces the number of API proposals a user must navigate while using Code Completion. Second, we show that context-specific filtering of inappropriate proposals can also reduce the number of proposals a user must navigate. Third, we propose to group API proposals by their functional roles, which can help maintain a well-ordered, meaningful list of API proposals in the presence of dynamic reordering. These functionalities are grouped into a research prototype, BCC (Better Code Completion). We evaluated fourteen configurations of BCC by simulating Code Completion nearly three million times on nine open-source Java projects that utilize AWT/Swing.
机译:代码完成是访问API的最流行的IDE功能之一,释放程序员忘记有关API和减少击键的特定详细信息。我们提出了三种方法来增强当前的代码完成系统,以更有效地使用大型API。首先,我们提出了两种方法,用于按类型层次结构和使用计数进行分类,并显示其使用显着减少了用户在使用代码完成时必须导航的API提案的数量。其次,我们显示特定于上下文过滤的不当建议也可以减少用户必须导航的提案数量。第三,我们建议通过他们的功能角色组成API提案,这可以帮助在动态重新排序的情况下帮助维护一个有序的,有意义的API提案列表。这些功能分为研究原型,BCC(更好的代码完成)。我们通过在利用AWT / Swing的九个开源Java项目上模拟近三百万次,通过模拟近三百万次进行了14个配置BCC配置。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号