An open-source natural language processing toolkit to support software development: addressing automatic bug detection, code summarisation and code search

Author:

Robledo CristianORCID,Sallicati FrancescaORCID,de Chalendar Gaël,Fernández Marcos,de Castro PabloORCID,Martín Eduardo,Gutiérrez Javier,Bouachera Yannis

Abstract

This paper aims to introduce the innovative work carried out in the Horizon 2020 DECODER project – acronym for “DEveloper COmpanion for Documented and annotatEd code Reference” – (Grant Agreement no. 824231) by linking the fields of natural language processing (NLP) and software engineering. The project as a whole addresses the development of a framework, namely the Persistent Knowledge Monitor (PKM), that acts as a central infrastructure to store, access, and trace all the data, information and knowledge related to a given software or ecosystem. This meta-model defines the knowledge base that can be queried and analysed by all the tools integrated and developed in DECODER. Besides, the DECODER project offers a friendly user interface where each of the predefined three roles (i.e., developers, maintainers and reviewers) can access and query the PKM with their personal accounts. The paper focuses on the NLP tools developed and integrated in the PKM, namely the deep learning models developed to perform variable misuse, code summarisation and semantic parsing. These were developed under a common work package – “Activities for the developer” – intended to precisely target developers, who can perform tasks such as detection of bugs, automatic generation of documentation for source code and generation of code snippets from natural languages instructions, among the multiple functionalities that DECODER offers. These tools assist and help the developers in the daily work, by increasing their productivity and avoiding loss of time in tedious tasks such as manual bug detection. Training and validation were conducted for four use cases in Java, C and C++ programming languages in order to evaluate the performance, suitability, usability, etc. of the developed tools.

Funder

Horizon 2020 Framework Programme

Publisher

F1000 Research Ltd

Subject

Multidisciplinary

Reference35 articles.

1. Measuring Program Comprehension: A Large-Scale Field Study with Professionals.;X Xia;IEEE Transactions on Software Engineering.,2018

2. Learning to represent Programs with graphs.;M Allamanis;Proceedings of the 6th International Conference on Learning Representations (ICLR).,2018

3. Expertise in debugging computer programs: A process analysis.;I Vessey;Int J Man Mach Stud.,1985

4. On the Use of Automated Text Summarization Techniques for Summarizing Source Code.;S Haiduc;2010 17th Working Conference on Reverse Engineering.,2010

5. A Transformer-based Approach for Source Code Summarization.;W Ahmad;Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL).,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3