JOURNAL ARTICLE

A Software Defect Prediction Method based on Multi-type Features and Feature Selection

Jiaxin LiuHao XuLu LuQuanyi ZouZhanyu Yang

Year: 2023 Journal:   Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering Vol: 2023 Pages: 238-243

Abstract

Numerous software defect prediction methods utilize semantic information and software metrics as code features, neglecting the structural knowledge inherent in the source code.Other studies improve feature completeness by simply combining different types of defect indicators, which causes information redundancy.To address these challenges, this paper proposes a novel software defect prediction method that incorporates multitype features and performs feature selection.Firstly, semantic and structural features are extracted by Text Convolutional Neural Network (TextCNN) and Graph Isomorphism Network (GIN) from Abstract Syntax Tree (AST) and Program Dependency Graph (PDG), respectively, which are combined with software metrics to build a multi-type feature set.Then, Recursive Feature Elimination with Cross-Validation (RFECV) integrating a novel feature importance measure is utilized to remove redundant features and generate a feature subset.Finally, a prediction model for classification is established based on the feature subset.The experiments validated the effectiveness of multi-type features and the improved RFECV.Overall our proposed method outperforms state-of-the-art techniques on nine Java open-source projects.

Keywords:
Computer science Feature selection Data mining Software bug Feature (linguistics) Java Source code Software Abstract syntax tree Artificial intelligence Graph Redundancy (engineering) Program comprehension Pattern recognition (psychology) Feature model Machine learning Software system Syntax Theoretical computer science Programming language

Metrics

1
Cited By
0.62
FWCI (Field Weighted Citation Impact)
17
Refs
0.69
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software System Performance and Reliability
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

Optimized multi correlation-based feature selection in software defect prediction

Muhammad Nabil Muyassar RahmanRadityo Adi NugrohoMohammad Reza FaisalFriska AbadiRudy Herteno

Journal:   TELKOMNIKA (Telecommunication Computing Electronics and Control) Year: 2024 Vol: 22 (3)Pages: 598-598
JOURNAL ARTICLE

FSCR:A Feature Selection Method for Software Defect Prediction

Xiao YuZiyi MaChuanxiang MaYi GuRuiqi LiuYan Zhang

Journal:   Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering Year: 2017 Vol: 2017 Pages: 351-356
© 2026 ScienceGate Book Chapters — All rights reserved.