| Learning from examples to improve code completion systems |
| Full text |
Pdf
(1.19 MB)
|
Source
|
Foundations of Software Engineering
archive
Proceedings of the the 7th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering
table of contents
Amsterdam, The Netherlands
SESSION: Tools & environment
table of contents
Pages: 213-222
Year of Publication: 2009
ISBN:978-1-60558-001-2
|
|
Authors
|
|
Marcel Bruch
|
Darmstadt University of Technology, Darmstadt, Germany
|
|
Martin Monperrus
|
Darmstadt University of Technology, Darmstadt, Germany
|
|
Mira Mezini
|
Darmstadt University of Technology, Darmstadt, Germany
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 28, Downloads (12 Months): 127, Citation Count: 0
|
|
|
ABSTRACT
The suggestions made by current IDE's code completion features are based exclusively on static type system of the programming language. As a result, often proposals are made which are irrelevant for a particular working context. Also, these suggestions are ordered alphabetically rather than by their relevance in a particular context. In this paper, we present intelligent code completion systems that learn from existing code repositories. We have implemented three such systems, each using the information contained in repositories in a different way. We perform a large-scale quantitative evaluation of these systems, integrate the best performing one into Eclipse, and evaluate the latter also by a user study. Our experiments give evidence that intelligent code completion systems which learn from examples significantly outperform mainstream code completion systems in terms of the relevance of their suggestions and thus have the potential to enhance developers' productivity.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Overview of the Third Text REtrieval Conference (TREC-3), Gaithersburg, MD, USA, 1990. NIST.
|
 |
2
|
Rakesh Agrawal , Tomasz Imieliński , Arun Swami, Mining association rules between sets of items in large databases, Proceedings of the 1993 ACM SIGMOD international conference on Management of data, p.207-216, May 25-28, 1993, Washington, D.C., United States
[doi> 10.1145/170035.170072]
|
| |
3
|
|
| |
4
|
|
 |
5
|
|
 |
6
|
|
 |
7
|
|
| |
8
|
T. Cover and P. Hart. Nearest neighbor pattern classification. IEEE Transactions on Information Theory, 1967.
|
| |
9
|
Eclipse Foundation. SWT: The standard widget toolkit. http://www.eclipse.org/swt/, 2006.
|
 |
10
|
|
| |
11
|
D. Gangopadhyay and S. Mitra. Design by framework completion. Automated Software Eng., 3(3/4):219--237, 1996.
|
| |
12
|
Google code search. http://www.google.com/codesearch.
|
| |
13
|
|
 |
14
|
|
 |
15
|
Ralph E. Johnson, Documenting frameworks using patterns, conference proceedings on Object-oriented programming systems, languages, and applications, p.63-76, October 18-22, 1992, Vancouver, British Columbia, Canada
[doi> 10.1145/141936.141943]
|
 |
16
|
|
| |
17
|
Koders. http://www.koders.com.
|
| |
18
|
|
 |
19
|
David Mandelin , Lin Xu , Rastislav Bodík , Doug Kimelman, Jungloid mining: helping to navigate the API jungle, Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation, June 12-15, 2005, Chicago, IL, USA
[doi> 10.1145/1065010.1065018]
|
 |
20
|
|
| |
21
|
|
| |
22
|
|
 |
23
|
Naiyana Sahavechaphan , Kajal Claypool, XSnippet: mining For sample code, Proceedings of the 21st annual ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications, October 22-26, 2006, Portland, Oregon, USA
[doi> 10.1145/1167473.1167508]
|
| |
24
|
|
 |
25
|
|
| |
26
|
|
 |
27
|
Yunwen Ye , Gerhard Fischer , Brent Reeves, Integrating active information delivery and reuse repository systems, Proceedings of the 8th ACM SIGSOFT international symposium on Foundations of software engineering: twenty-first century applications, p.60-68, November 06-10, 2000, San Diego, California, United States
[doi> 10.1145/355045.355053]
|
|