Software Bug Count Prediction Using Abstract Syntax Trees (ASTs)

Predicting software defects is important for ensuring high-quality software delivery.This proposed study investigates the effectiveness of deep learning models in predicting software bug counts compared to traditional machine learning models.We concentrated our investigation on two fundamental questions: (1) Can deep learning techniques surpass traditional machine learning approaches in accurately predicting bug counts in software modules via regression analysis?(2) In the context of regression-based bug count prediction, does a deep learning model that leverages features extracted from Abstract Syntax Trees (ASTs) demonstrate superior performance compared to one that relies on Object-Oriented (OO) metrics?To address RQ-1, we trained layered Long Short-Term Memory (LSTM) networks and Convolutional Neural Networks (CNNs) on ( 17) OO metrics from the PROMISE and SPSC datasets and compared their performance.For RQ-2, we extracted relevant features from ASTs using specific node types and combined them with the OO metrics to train the LSTM and CNN models.Four experiments were conducted: LSTM on OO metrics, LSTM on AST features, CNN on OO metrics, and CNN on AST features.Evaluation using Mean Absolute Error (MAE) and Mean Relative Error (MRE) showed that deep learning models outperformed traditional machine learning models, with layered LSTM and CNN models trained on combined OO metrics and AST features achieving the best defect predictive accuracy.These findings highlight the potential of deep learning approaches in software defect prediction and show the importance of feature selection in achieving optimal results. CCS Concepts Software and

Authors

Institutions

Publication Details

Published
2024-12-02
DOI
https://doi.org/10.1145/3708635.3708652
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Software Bug Count Prediction Using Abstract Syntax Trees (ASTs)

Abdallah Qusef, Rahmeh Ibrahim
Software Engineering Research
article

Software Bug Count Prediction Using Abstract Syntax Trees (ASTs)

Abdallah Qusef, Rahmeh Ibrahim
article en

Abstract

Predicting software defects is important for ensuring high-quality software delivery.This proposed study investigates the effectiveness of deep learning models in predicting software bug counts compared to traditional machine learning models.We concentrated our investigation on two fundamental questions: (1) Can deep learning techniques surpass traditional machine learning approaches in accurately predicting bug counts in software modules via regression analysis?(2) In the context of regression-based bug count prediction, does a deep learning model that leverages features extracted from Abstract Syntax Trees (ASTs) demonstrate superior performance compared to one that relies on Object-Oriented (OO) metrics?To address RQ-1, we trained layered Long Short-Term Memory (LSTM) networks and Convolutional Neural Networks (CNNs) on ( 17) OO metrics from the PROMISE and SPSC datasets and compared their performance.For RQ-2, we extracted relevant features from ASTs using specific node types and combined them with the OO metrics to train the LSTM and CNN models.Four experiments were conducted: LSTM on OO metrics, LSTM on AST features, CNN on OO metrics, and CNN on AST features.Evaluation using Mean Absolute Error (MAE) and Mean Relative Error (MRE) showed that deep learning models outperformed traditional machine learning models, with layered LSTM and CNN models trained on combined OO metrics and AST features achieving the best defect predictive accuracy.These findings highlight the potential of deep learning approaches in software defect prediction and show the importance of feature selection in achieving optimal results. CCS Concepts Software and

Princess Sumaya University for Technology (JO)
Openalex Percentile: Top 52%
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.