Home / Archives / Vol. 1 No. 3 / Articles
Deep Learning-Based Automated Bug Detection Through Code Representation Analysis
Pradeep. H
Assistant Professor, Department of Mechanical Engineering, BGS Institute of Technology, India.
Mohan R
Professor, Department of Mechanical Engineering, Sona College of Technology, India.
Keywords:
Deep Learning, Automated Bug Detection, Code Representation, Abstract
Syntax Trees (ASTs), Explainable AI (XAI), Source Code Analysis.
Abstract
Modern software systems are becoming increasingly complex, hence requiring smarter bug finding tools, rather than convention rule-based systems. We propose a deep learning approach for the detection of bugs in source code by means of rich code representation analysis, which includes abstract syntax trees (AST), control-flow and token embeddings. Whereas prior approaches suffer from high false positive rates and lack language generalizability, we aim for a sound and language agnostic approach, robust to large codebases, in order to be easily integrated in continuous development pipelines. By automatically extracting the structural and semantic characteristic from code, it eliminates the need for manual inspection and guarantees the early discovery of both syntactic and semantic flaws. Additionally, the use of attention mechanisms and SHAP explain ability further provides interpretable interpretation of the decisioning process to developers. This work contributes to develop the state of the art of automated bug detection by overcoming the relevant limitations of previous approaches and providing a solution which is powerful, flexible, and explainable for real-world software engineering scenarios.
Details
Published
2022-09-28
Pages
1-8
Issue
Vol. 1 No. 3 (2022):
IJRTTE - 01 - 03
Section
Articles