A Neural Network Based Intelligent Support Model for Program Code Completion

المؤلفون المشاركون

Rahman, Md. Mostafizer
Watanobe, Yutaka
Nakamura, Keita

المصدر

Scientific Programming

العدد

المجلد 2020، العدد 2020 (31 ديسمبر/كانون الأول 2020)، ص ص. 1-18، 18ص.

الناشر

Hindawi Publishing Corporation

تاريخ النشر

2020-07-14

دولة النشر

مصر

عدد الصفحات

18

التخصصات الرئيسية

الرياضيات

الملخص EN

In recent years, millions of source codes are generated in different languages on a daily basis all over the world.

A deep neural network-based intelligent support model for source code completion would be a great advantage in software engineering and programming education fields.

Vast numbers of syntax, logical, and other critical errors that cannot be detected by normal compilers continue to exist in source codes, and the development of an intelligent evaluation methodology that does not rely on manual compilation has become essential.

Even experienced programmers often find it necessary to analyze an entire program in order to find a single error and are thus being forced to waste valuable time debugging their source codes.

With this point in mind, we proposed an intelligent model that is based on long short-term memory (LSTM) and combined it with an attention mechanism for source code completion.

Thus, the proposed model can detect source code errors with locations and then predict the correct words.

In addition, the proposed model can classify the source codes as to whether they are erroneous or not.

We trained our proposed model using the source code and then evaluated the performance.

All of the data used in our experiments were extracted from Aizu Online Judge (AOJ) system.

The experimental results obtained show that the accuracy in terms of error detection and prediction of our proposed model approximately is 62% and source code classification accuracy is approximately 96% which outperformed a standard LSTM and other state-of-the-art models.

Moreover, in comparison to state-of-the-art models, our proposed model achieved an interesting level of success in terms of error detection, prediction, and classification when applied to long source code sequences.

Overall, these experimental results indicate the usefulness of our proposed model in software engineering and programming education arena.

نمط استشهاد جمعية علماء النفس الأمريكية (APA)

Rahman, Md. Mostafizer& Watanobe, Yutaka& Nakamura, Keita. 2020. A Neural Network Based Intelligent Support Model for Program Code Completion. Scientific Programming،Vol. 2020, no. 2020, pp.1-18.
https://search.emarefa.net/detail/BIM-1209112

نمط استشهاد الجمعية الأمريكية للغات الحديثة (MLA)

Rahman, Md. Mostafizer…[et al.]. A Neural Network Based Intelligent Support Model for Program Code Completion. Scientific Programming No. 2020 (2020), pp.1-18.
https://search.emarefa.net/detail/BIM-1209112

نمط استشهاد الجمعية الطبية الأمريكية (AMA)

Rahman, Md. Mostafizer& Watanobe, Yutaka& Nakamura, Keita. A Neural Network Based Intelligent Support Model for Program Code Completion. Scientific Programming. 2020. Vol. 2020, no. 2020, pp.1-18.
https://search.emarefa.net/detail/BIM-1209112

نوع البيانات

مقالات

لغة النص

الإنجليزية

الملاحظات

Includes bibliographical references

رقم السجل

BIM-1209112