Content area

Abstract

Purpose

This study aims to solve the problems of large training sample size, low data sample quality, low efficiency of the currently used classical model, high computational complexity of the existing concern mechanism, and high graphics processing unit (GPU) occupancy in the current visualization software defect prediction, proposing a method for software defect prediction termed recurrent criss-cross attention for weighted activation functions of recurrent SE-ResNet (RCCA-WRSR). First, following code visualization, the activation functions of the SE-ResNet model are replaced with a weighted combination of Relu and Elu to enhance model convergence. Additionally, an SE module is added before it to filter feature information, eliminating low-weight features to generate an improved residual network model, WRSR. To focus more on contextual information and establish connections between a pixel and those not in the same cross-path, the visualized red as integer, green as integer, blue as integer images are inputted into a model incorporating a fused RCCA module for defect prediction.

Design/methodology/approach

Software defect prediction based on code visualization is a new software defect prediction technology, which mainly realizes the defect prediction of code by visualizing code as image, and then applying attention mechanism to extract the features of image. However, the challenges of current visualization software defect prediction mainly include the large training sample size and low sample quality of the data, and the classical models used today are not efficient, and the existing attention mechanisms have high computational complexity and high GPU occupancy.

Findings

Experimental evaluation using ten open-source Java data sets from PROMISE and five existing methods demonstrates that the proposed approach achieves an F-measure value of 0.637 in predicting 16 cross-version projects, representing a 6.1% improvement.

Originality/value

RCCA-WRSR is a new visual software defect prediction based on recurrent criss-cross attention and improved residual network. This method effectively enhances the performance of software defect prediction.

Details

Title
Visual software defect prediction method based on improved recurrent criss-cross residual network
Author
Chen, Liqiong 1 ; Lei Yunjie 1 ; Sun Huaiying 1 

 Shanghai Institute of Technology, Shanghai, China 
Volume
20
Issue
6
Pages
621-638
Number of pages
18
Publication year
2024
Publication date
2024
Publisher
Emerald Group Publishing Limited
Place of publication
Bingley
Country of publication
United Kingdom
Publication subject
ISSN
17440084
e-ISSN
17440092
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2024-11-07
Milestone dates
2024-07-11 (Received); 2024-08-15 (Revised); 2024-08-31 (Revised); 2024-09-01 (Accepted)
Publication history
 
 
   First posting date
07 Nov 2024
ProQuest document ID
3129241852
Document URL
https://www.proquest.com/scholarly-journals/visual-software-defect-prediction-method-based-on/docview/3129241852/se-2?accountid=208611
Copyright
© Emerald Publishing Limited.
Last updated
2025-11-14
Database
ProQuest One Academic