Deep Just-In-Time Defect Prediction Based on Double-Source Input Self-Attention Mechanism (S)

Ensuring high-quality software products is an important issue for software productions, it emerged Just-In-Time Quality Assurance to automatically identify potentially defective code as early as possible in recent years.The presented models mainly utilize Convolutional Neural Networks for automatic defect feature extraction.However, these models ignore the utilization of contextual information and are not suitable for large-scale projects.To address these issues, we propose a model named Multi-head Convolution Structure of Attention-JIT (short for MCSA-JIT), which comprises four layers.Specifically, Commit Message-Code Change(short for CM-CC) Text Feature Extraction Layer leverages a variant of the self-attention mechanism to extract features from both commit messages and code changes, CM-CC Structure Feature Extraction Layer captures the content information of the submissions and different CNN structures are constructed to extract structural information, Feature Combination Layer combines the text feature and structure feature to predict defects and output layer outputs the final value.Experimental results conducted on two software projects, QT and OPENSTACK, demonstrate that the best variant of MCSA-JIT achieves a relative improvement of 7.46% in terms of AUC on the OPENSTACK project and a relative improvement of 8.85% on the QT project when compared to state-of-the-art methods with the best performance.

Authors

Publication Details

Journal
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Published
2024-10-28
DOI
https://doi.org/10.18293/seke2024-115
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep Just-In-Time Defect Prediction Based on Double-Source Input Self-Attention Mechanism (S)

Shikai Guo, Yi Wu, Weixiang Hong, Hui Li
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Industrial Vision Systems and Defect Detection
article

Deep Just-In-Time Defect Prediction Based on Double-Source Input Self-Attention Mechanism (S)

Shikai Guo, Yi Wu, Weixiang Hong, Hui Li
article en

Abstract

Ensuring high-quality software products is an important issue for software productions, it emerged Just-In-Time Quality Assurance to automatically identify potentially defective code as early as possible in recent years.The presented models mainly utilize Convolutional Neural Networks for automatic defect feature extraction.However, these models ignore the utilization of contextual information and are not suitable for large-scale projects.To address these issues, we propose a model named Multi-head Convolution Structure of Attention-JIT (short for MCSA-JIT), which comprises four layers.Specifically, Commit Message-Code Change(short for CM-CC) Text Feature Extraction Layer leverages a variant of the self-attention mechanism to extract features from both commit messages and code changes, CM-CC Structure Feature Extraction Layer captures the content information of the submissions and different CNN structures are constructed to extract structural information, Feature Combination Layer combines the text feature and structure feature to predict defects and output layer outputs the final value.Experimental results conducted on two software projects, QT and OPENSTACK, demonstrate that the best variant of MCSA-JIT achieves a relative improvement of 7.46% in terms of AUC on the OPENSTACK project and a relative improvement of 8.85% on the QT project when compared to state-of-the-art methods with the best performance.

Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge EngineeringVol. 2024
Openalex Percentile: Top 63%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.