Revisiting the Impact of Dependency Network Metrics on Software Defect Prediction

02/12/2022
by   Lina Gong, et al.
0

Software dependency network metrics extracted from the dependency graph of the software modules by the application of Social Network Analysis (SNA metrics) have been shown to improve the performance of the Software Defect prediction (SDP) models. However, the relative effectiveness of these SNA metrics over code metrics in improving the performance of the SDP models has been widely debated with no clear consensus. Furthermore, some of the common SDP scenarios like predicting the number of defects in a module (Defect-count) in Cross-version and Cross-project SDP contexts remain unexplored. Such lack of clear directive on the effectiveness of SNA metrics when compared to the widely used code metrics prevents us from potentially building better performing SDP models. Therefore, through a case study of 9 open source software projects across 30 versions, we study the relative effectiveness of SNA metrics when compared to code metrics across 3 commonly used SDP contexts (Within-project, Cross-version and Cross-project) and scenarios (Defect-count, Defect-classification (classifying if a module is defective) and Effort-aware (ranking the defective modules w.r.t to the involved effort)). We find the SNA metrics by themselves or along with code metrics improve the performance of SDP models over just using code metrics on 5 out of the 9 studied SDP scenarios (three SDP scenarios across three SDP contexts). However, we note that in some cases the improvements afforded by considering SNA metrics over or alongside code metrics might only be marginal, whereas in other cases the improvements could be potentially large. Based on these findings we suggest that the future work should: consider SNA metrics alongside code metrics in their SDP models; as well as consider Ego metrics and Global metrics, the two different types of the SNA metrics separately when training SDP models as they behave differently.

READ FULL TEXT
research
12/28/2017

Connecting Software Metrics across Versions to Predict Defects

Accurate software defect prediction could help software practitioners al...
research
12/29/2022

Cross Version Defect Prediction with Class Dependency Embeddings

Software Defect Prediction aims at predicting which software modules are...
research
08/20/2018

Towards Anticipation of Architectural Smells using Link Prediction Techniques

Software systems naturally evolve, and this evolution often brings desig...
research
02/03/2018

A deep tree-based model for software defect prediction

Defects are common in software systems and can potentially cause various...
research
03/05/2021

Moving from Cross-Project Defect Prediction to Heterogeneous Defect Prediction: A Partial Replication Study

Software defect prediction heavily relies on the metrics collected from ...
research
01/12/2018

Benchmarking cross-project defect prediction approaches with costs metrics

Defect prediction can be a powerful tool to guide the use of quality ass...
research
02/07/2023

System-Level Metrics for Non-Terrestrial Networks Under Stochastic Geometry Framework

Non-terrestrial networks (NTNs) are considered one of the key enablers i...

Please sign up or login with your details

Forgot password? Click here to reset