Difference between revisions of "2015 IntelligentCodeCompletionwithBa"

Jump to: navigation, search
(Imported from text file)
m (Omoreira moved page Test:2015 IntelligentCodeCompletionwithBa to 2015 IntelligentCodeCompletionwithBa without leaving a redirect)
(No difference)

Revision as of 06:44, 12 October 2019

Subject Headings: Intelligent Code Completion Task; Bayesian Network Based Intelligent Code Completion Task; Code Completion Task


Cited By



Code completion is an integral part of modern [[Integrated Development Environments (IDEs)]]. Developers often use it to explore [[Application Programming Interfaces (APIs)]]. It is also useful to reduce the required amount of typing and to help avoid typos. Traditional code completion systems propose all type-correct methods to the developer. Such a list is often very long with many irrelevant items. More intelligent code completion systems have been proposed in prior work to reduce the list of proposed methods to relevant items.

This work extends one of these existing approaches, the [[Best Matching Neighbor (BMN) algorithm]]. We introduce Bayesian networks as an alternative underlying model, use additional context information for more precise recommendations, and apply clustering techniques to improve model sizes. We compare our new approach, [[Pattern-based Bayesian Networks (PBN)]], to the existing BMN algorithm. We extend previously used evaluation methodologies and, in addition to prediction quality, we also evaluate model size and inference speed.

Our results show that the additional context information we collect improves prediction quality, especially for queries that do not contain method calls. We also show that PBN can obtain comparable prediction quality to BMN, while model size and inference speed scale better with large input sizes.



 AuthorvolumeDate ValuetitletypejournaltitleUrldoinoteyear
2015 IntelligentCodeCompletionwithBaSebastian Proksch
Johannes Lerch
Mira Mezini
Intelligent Code Completion with Bayesian Networks10.1145/27442002015
AuthorSebastian Proksch +, Johannes Lerch + and Mira Mezini +
doi10.1145/2744200 +
titleIntelligent Code Completion with Bayesian Networks +
year2015 +