Title :
CACHECA: A Cache Language Model Based Code Suggestion Tool
Author :
Franks, Christine ; Zhaopeng Tu ; Devanbu, Premkumar ; Hellendoorn, Vincent
Author_Institution :
Dept. of Comput. Sci., Univ. of California at Davis, Davis, CA, USA
Abstract :
Nearly every Integrated Development Environment includes a form of code completion. The suggested completions ("suggestions") are typically based on information available at compile time, such as type signatures and variables in scope. A statistical approach, based on estimated models of code patterns in large code corpora, has been demonstrated to be effective at predicting tokens given a context. In this demo, we present CACHECA, an Eclipse plug in that combines the native suggestions with a statistical suggestion regime. We demonstrate that a combination of the two approaches more than doubles Eclipse\´s suggestion accuracy. A video demonstration is available at https://www.youtube.com/watch?v=3INk0N3JNtc.
Keywords :
programming languages; software tools; source code (software); CACHECA; Eclipse plugin; cache language model; code completion; code pattern model estimation; code suggestion tool; integrated development environment; statistical approach; Accuracy; Computational modeling; Context; Context modeling; Engines; Java; Predictive models;
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location :
Florence
DOI :
10.1109/ICSE.2015.228