2011 27th IEEE International Conference on Software Maintenance (ICSM) 2011
DOI: 10.1109/icsm.2011.6080790
|View full text |Cite
|
Sign up to set email alerts
|

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

Abstract: Abstract-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 tha… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
30
0

Year Published

2012
2012
2021
2021

Publication Types

Select...
6
2

Relationship

1
7

Authors

Journals

citations
Cited by 50 publications
(31 citation statements)
references
References 10 publications
0
30
0
Order By: Relevance
“…This kind of experiments for code completion is adopted from the evaluation that has been done by Hou and Pletcher [24]. The specific purpose of these experiments is to know how well our code completion can predict the next method invocation while developers write their code.…”
Section: Discussionmentioning
confidence: 99%
See 1 more Smart Citation
“…This kind of experiments for code completion is adopted from the evaluation that has been done by Hou and Pletcher [24]. The specific purpose of these experiments is to know how well our code completion can predict the next method invocation while developers write their code.…”
Section: Discussionmentioning
confidence: 99%
“…There are two scenarios when developers use code completion [24]. The first scenario is that developers know what methods they want to invoke, but they still call code completion and type the method straightly.…”
Section: Applying Sequential Patterns To Code Completionmentioning
confidence: 99%
“…Bruch et al develop intelligent code completion that narrows down the possible suggestions to those API elements that are actually relevant [24]. Hou et al [25] compare different filtering, sorting and grouping strategies to this end. The latter would, for instance, group all methods related to managing the components of an AWT container.…”
Section: Related Workmentioning
confidence: 99%
“…The Better Code Completion (BCC) system [31] sorts, filters and groups API methods. Sorting, has two options, first is a type-hierarchy-based sorting, which proposes the methods from the declared type before its super type, which is very useful since in certain contexts methods like wait() are never used.…”
Section: Methods Call Recommendersmentioning
confidence: 99%