Sciweavers

SE
2016

Intelligent code completion with Bayesian networks

8 years 17 days ago
Intelligent code completion with Bayesian networks
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 q...
Sebastian Proksch, Johannes Lerch, Mira Mezini
Added 09 Apr 2016
Updated 09 Apr 2016
Type Journal
Year 2016
Where SE
Authors Sebastian Proksch, Johannes Lerch, Mira Mezini
Comments (0)