DeepVS: An efficient and generic approach for source code modelling usage

4Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

The source code suggestions provided by current integrated development environment (IDEs) are mostly dependent on static type learning. These suggestions often end up proposing irrelevant suggestions for a peculiar context. Recently, deep learning-based approaches have shown great potential in the modelling of source code for various software engineering tasks. However, these techniques lack adequate generalisation and resistance to acclimate the use of such models in a real-world software development environment. This Letter presents DeepVS, an end-to-end deep neural code completion tool that learns from existing codebases by exploiting the bidirectional gated recurrent unit (BiGRU) neural net. The proposed tool is capable of providing source code suggestions instantly in an IDE by using pre-trained BiGRU neural net. The evaluation of this work is two-fold, quantitative and qualitative. Through extensive evaluation on ten real-world open-source software systems, the proposed method shows significant performance enhancement and its practicality. Moreover, the results also suggest that DeepVS tool is capable of suggesting zero-day (unseen) code tokens by learning coding patterns from real-world software systems.

Cite

CITATION STYLE

APA

Hussain, Y., Huang, Z., Zhou, Y., & Wang, S. (2020). DeepVS: An efficient and generic approach for source code modelling usage. Electronics Letters, 56(12), 604–607. https://doi.org/10.1049/el.2020.0500

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free