Software Defect Prediction via Code Grayscale Pixel Visualization with Fusion Attention (S)

Software defect prediction helps quality assurance teams find defects in software, thereby enhancing the reliability of the systems.In existing code-visualization-based defect prediction methods, challenges arise from mixing code information and the potential omission of critical defect features.To enhance the completeness of code features, this paper proposes a defect prediction model based on code grayscale pixel visualization with a fusion attention mechanism (Gpv2DP).Gpv2DP converts code into grayscale images and reshapes the images to a standard size, effectively alleviating the information loss problem caused by element mixing and image cropping.Furthermore, it constructs a code feature extracting network that simultaneously integrates the channel, spatial and 3D attention.We conduct empirical experiments on ten open-source Java projects from the PROMISE repository.The results show that the F-measure and AUC metrics of Gpv2DP outperform related defect prediction methods.

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-025
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Software Defect Prediction via Code Grayscale Pixel Visualization with Fusion Attention (S)

Shaojian Qiu, Shaosheng Wang, Yi-Shen Lin, Lili Liao et al.
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Software Engineering Research
article

Software Defect Prediction via Code Grayscale Pixel Visualization with Fusion Attention (S)

Shaojian Qiu, Shaosheng Wang, Yi-Shen Lin, Lili Liao, Wei Rong
article en

Abstract

Software defect prediction helps quality assurance teams find defects in software, thereby enhancing the reliability of the systems.In existing code-visualization-based defect prediction methods, challenges arise from mixing code information and the potential omission of critical defect features.To enhance the completeness of code features, this paper proposes a defect prediction model based on code grayscale pixel visualization with a fusion attention mechanism (Gpv2DP).Gpv2DP converts code into grayscale images and reshapes the images to a standard size, effectively alleviating the information loss problem caused by element mixing and image cropping.Furthermore, it constructs a code feature extracting network that simultaneously integrates the channel, spatial and 3D attention.We conduct empirical experiments on ten open-source Java projects from the PROMISE repository.The results show that the F-measure and AUC metrics of Gpv2DP outperform related defect prediction methods.

Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge EngineeringVol. 2024
National Key Research and Development Program of China, Basic and Applied Basic Research Foundation of Guangdong Province
Openalex Percentile: Top 60%
Software Engineering Research
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.

Software Defect Prediction via Code Grayscale Pixel Visualization with Fusion Attention (S) — Shaojian Qiu, Shaosheng Wang, et al. · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering (2024) | TGRS Research Map | TGRS