BAFLineDP: Code Bilinear Attention Fusion Framework for Line-Level Defect Prediction
Shaojian Qiu, Huihao Huang, Jianxiang Luo, Yingjie Kuang, Haoyu Luo

TL;DR
This paper introduces BAFLineDP, a novel line-level defect prediction framework that effectively integrates code semantics and local interactions, significantly improving defect localization accuracy over existing methods.
Contribution
It presents a new bilinear attention fusion framework for line-level defect prediction that considers code semantics and local interactions, addressing limitations of prior approaches.
Findings
Outperforms existing defect prediction methods in multiple projects
Effectively integrates code semantics and local interactions
Demonstrates robustness across diverse project datasets
Abstract
Software defect prediction aims to identify defect-prone code, aiding developers in optimizing testing resource allocation. Most defect prediction approaches primarily focus on coarse-grained, file-level defect prediction, which fails to provide developers with the precision required to locate defective code. Recently, some researchers have proposed fine-grained, line-level defect prediction methods. However, most of these approaches lack an in-depth consideration of the contextual semantics of code lines and neglect the local interaction information among code lines. To address the above issues, this paper presents a line-level defect prediction method grounded in a code bilinear attention fusion framework (BAFLineDP). This method discerns defective code files and lines by integrating source code line semantics, line-level context, and local interaction information between code lines…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIndustrial Vision Systems and Defect Detection · Advancements in Photolithography Techniques · Integrated Circuits and Semiconductor Failure Analysis
