Predicting Source Code Effectiveness of Prediction based Source Code Auto Completion

نویسنده

  • Rahul Kapoor
چکیده

Auto Completion is the facility provided by most modern Integrated Development Environments and source code editors for word completion when editing source code. All auto completion mechanisms that we know of use syntactic knowledge of the programming language to provide this feature. We investigate the use of programming language agnostic prediction models to provide auto completion. We implement prediction based auto completion by using a variant of the popular compression scheme called Prediction by Partial Matching. We compare the results to an implementation of Syntax based Auto Completion. The results include a measurement of Key Strokes Per Character as well as subjective evaluation. We find that the prediction based auto completion performs remarkably well and consistently performs better than the syntax based completion method implemented.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Investigating the Effect of Gamma Ray Source Activity on Down-hole Nuclear Density Tool’s Reading Using Simulation by MCNP Code

Developing well logging methods will increase the applications of logs related to all the other geology sciences. Well logging curves introduce the essential information to evaluate reservoir characterizations, rock type and also formation fluid properties quantitatively. One of the most important parts of drilling and completion operations which affect making decision about the future planes i...

متن کامل

A Comparative Study of Different Source Code Metrics and Machine Learning Algorithms for Predicting Change Proneness of Object Oriented Systems

Change-prone classes or modules are defined as software components in the source code which are likely to change in the future. Change-proneness prediction is useful to the maintenance team as they can optimize and focus their testing resources on the modules which have a higher likelihood of change. Change-proneness prediction model can be built by using source code metrics as predictors or fe...

متن کامل

Code Completion with Neural Attention and Pointer Networks

Intelligent code completion has become an essential tool to accelerate modern software development. To facilitate effective code completion for dynamically-typed programming languages, we apply neural language models by learning from large codebases, and investigate the effectiveness of attention mechanism on the code completion task. However, standard neural language models even with attention...

متن کامل

Natural Language Models for Predicting Programming Comments

Statistical language models have successfully been used to describe and analyze natural language documents. Recent work applying language models to programming languages is focused on the task of predicting code, while mainly ignoring the prediction of programmer comments. In this work, we predict comments from JAVA source files of open source projects, using topic models and n-grams, and we an...

متن کامل

Predicting Bugs in Source Code Changes with Incremental Learning Method

Software is constructed by a series of changes and each change has the risk to introduce bugs. Predicting the existence of bugs in source code changes could help developers detect and fix bugs immediately upon the completion of a change, which accelerates the bug fixing process and save the limited time and human resources effectively. However, because of altering nature in the underlying bug g...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007