Skip to Content
InformationInformation
  • Review
  • Open Access

1 December 2026

16 Pages

Research Progress on Evolution-Oriented Software Defect Prediction

and
1
School of Internet of Things Engineering, Wuxi University, Wuxi 214105, China
2
Jiangsu Provincial University Key Laboratory of Vehicle-Road Multimodal Perception and Control, Wuxi University, Wuxi 214105, China
3
State Key Laboratory of Novel Software Technology, Nanjing University, Nanjing 210023, China
4
School of Artificial Intelligence and Computer Science, Jiangsu Normal University, Xuzhou 221116, China

Abstract

Software evolution refers to the process of software maintenance and software updating. During the evolution process of a large software system, new defects will inevitably be introduced due to human errors. Therefore, evolution-oriented software defect prediction research is very important. This paper has surveyed research on evolution-oriented software defect prediction over the past decade (from 2015 to 2025). First, this paper analyzes the fundamentals and related work of evolution-oriented software defect prediction, including process metrics and cross-version defect prediction. Then, we conduct statistical analysis from three aspects of the experimental subjects, prediction models, and performance metrics. Finally, this paper summarizes the key problems existing in the current research and presents the research prospects. The findings of this paper can guide researchers in experimental design and research directions, providing meaningful insights for the future research of this field.

1. Introduction

In recent decades, software defect prediction has attracted significant attention in the field of software engineering [1,2,3], serving as a critical practice for ensuring software quality. Software defect prediction aims to leverage historical data to predict potential defects in software products, thereby enabling the rational allocation of test resources and improving testing efficiency [4].
Generally, the traditional software defect prediction methods train on the historical data (training set) and build the prediction model, and then predict the new data (test set), which is called within-project defect prediction (WPDP) [5]. However, this method requires a large amount of historical labeled data. For new projects, it is often impossible to build the prediction model due to the lack of historical data, thereby limiting the applicability of traditional software defect prediction approaches. To realize the sharing of defect information among different projects, researchers have further proposed cross-project defect prediction (CPDP) [6,7,8,9]. Its training set and test set come from different projects. They have the same features, but the data distributions are different. Moreover, to solve the problem of heterogeneous features, researchers have proposed cross-company defect prediction (CCDP) [10,11,12,13], also known as heterogeneous defect prediction (HDP). For multiple software evolution versions, researchers have also proposed cross-version defect prediction (CVDP) [14], which involves training the prediction model on historical versions and predicting on new versions. Additionally, researchers have proposed the change-level defect prediction for the software change process, also known as just-in-time software defect prediction (JIT-SDP) [15]. Unlike traditional software defect prediction, JIT-SDP takes changes as the learning object and predicts whether each new software change is a defect-introducing change.
At present, there are many reviews on software defect prediction, such as static software defect prediction [4,16], cross-project defect prediction [6], just-in-time defect prediction [17], unsupervised defect prediction [18], etc. These reviews analyzed the research progress on the field of software defect prediction from different scenarios and perspectives.
Software evolution refers to the process of software maintenance and software updating. After the software is put into use, maintainers need to update it to accommodate new requirements due to defect repairs, requirement expansions, and environmental changes. These continuous modification processes are referred to as software evolution [19]. For large-scale software systems, there will be multiple evolution versions in its life cycle. Due to human factors, new defects are inevitably introduced during the evolution process, making software evolution a significant source of defects. Consequently, research on evolution-oriented software defect prediction is particularly important in practice.
Based on the evolution-oriented software defect prediction research over the past decade (from 2015 to 2025), this paper mainly analyzes from two aspects: process metrics and cross-version defect prediction. The retrieval databases include CNKI, IEEE Xplore, Springer, Elsevier, ACM, DBLP, etc. The search keywords include “software defect prediction”, “software evolution”, “software version”, “cross-version/release”, “process metrics”, “change metrics”, and “cross-version defect prediction”. We manually verified the studies retrieved from the above search terms to confirm their relevance to process metrics and cross-version defect prediction, and finally selected a total of 50 studies (time up to 31 December 2025).
Based on the 50 selected studies, the statistics are performed separately for process metrics and cross-version defect prediction. We note that process metrics and cross-version defect prediction are not mutually exclusive, and several studies involve both. So we classify each study according to its core contribution. The studies proposing new process metrics are classified as process metrics research, even when validated in cross-version defect prediction scenario. Based on the above classification, a total of 20 studies are classified as process metrics research and 30 studies as cross-version defect prediction research.
The detailed statistical results are illustrated in Figure 1, where the horizontal axis denotes the publication year and the vertical axis represents the number of studies. It can be observed that compared with studies on process metrics, research on cross-version defect prediction has attracted more attention in recent years.
Figure 1. The statistical results.
The objective of this paper is to systematically review the research on process metrics and cross-version defect prediction, analyze the current research status and existing challenges, thereby providing guidance for future research in software defect prediction. The main contributions of this paper are as follows:
(1)
For the evolution-oriented software defect prediction scenario, this paper reviews and analyzes the selected studies from two aspects: process metrics and cross-version defect prediction.
(2)
The statistical analysis is carried out from three dimensions: experimental subjects, prediction models, and performance metrics. The existing limitations are analyzed, and potential research prospects are outlined.
The organization of this paper is as follows. Section 2 introduces the fundamentals of evolution-oriented software defect prediction from process metrics and cross-version defect prediction, and analyzes their relationship. Section 3 presents evolution-oriented software defect prediction methods from these two aspects. Section 4 conducts the statistical analysis on experimental subjects, prediction models, and performance metrics. Section 5 summarizes the key challenges in current research and discusses future prospects. Section 6 concludes this paper and its limitation.

2. Fundamentals of Evolution-Oriented Software Defect Prediction

For software defect prediction under evolution scenario, the research of this paper focuses on two aspects: process metrics and cross-version defect prediction.

2.1. Process Metrics

Traditional software defect prediction methods are mainly based on code metrics, such as McCabe metrics, Halstead metrics and object-oriented CK metrics. These metrics only reflect the static characteristics of software [20]. In practice, software defects tend to change along with software evolution. The prediction models built on code metrics fail to achieve better performance on evolved versions [21].
Process metrics, also known as evolution metrics or change metrics, are temporal quantitative indicators extracted from software version iterations and the full lifecycle of development activities. They are used to quantify dynamic temporal information such as code change behaviors, developer collaboration behaviors, and defect repair history during continuous software evolution. Process metrics can characterize the dynamic features of software generated through iterative updates over time. Therefore, process metrics address the limitation that static code metrics cannot capture the dynamic changes in software iterations.
At present, researchers have proposed a set of process metrics as listed in Table 1. It can be observed that most process metrics focus on changes in lines of code, files, and revisions (e.g., additions and deletions). In practice, code changes may affect the quality of modules or files related to the modified module, introducing new defects into these associated modules. Therefore, extracting process metrics related to the impact of code changes is a noteworthy research direction.
Table 1. The statistics of process metrics.

2.2. Cross-Version Defect Prediction

For evolving projects, cross-version defect prediction refers to predicting defects across different versions within the same project, especially between adjacent versions. Suppose a project has multiple successive versions, where Vc denotes the current version and Vp denotes the previous version. Cross-version defect prediction takes Vp as the training set and Vc as the test set. The details are illustrated in Figure 2.
Figure 2. The framework of cross-version defect prediction.
In practice, cross-version defect prediction can fully leverage multi-version historical changes, defect labels and development behavior data during software evolution. It better fits the real-world continuous iteration scenarios of industrial software and exhibits significant advantages in initial prediction performance.

2.3. The Relationship Between Process Metrics and CVDP

Both process metrics and cross-version defect prediction are associated with the software evolution process. Process metrics refer to measurement methods for quantifying changes during software evolution, such as the addition or deletion of lines of code, files, or revisions. In contrast, cross-version defect prediction involves training models on historical version data to predict defects in new version data, where the transition from historical versions to new versions constitutes the software evolution process.
During the process of software evolution, the degree of code change reflected in process metrics exhibits a significant correlation with defect risk. For instance, a large number of newly added classes or files may increase defect risk, which can serve as a reference for defect prediction in new versions. Existing studies have incorporated process metrics into cross-version defect prediction research, thereby improving the performance of CVDP models [27]. In practical applications, by focusing on modules with significant changes identified via process metrics, potential defect-prone modules can be identified, providing valuable insights for CVDP. Meanwhile, feedback from CVDP results can be integrated into the software development process to guide developers in identifying new process metrics. As process metrics are continuously updated and optimized, they can be used to adjust the parameters of CVDP models, enabling the models to better adapt to the dynamic changes in software systems and support the achievement of high-quality software evolution.

3. Evolution-Oriented Software Defect Prediction Methods

This paper mainly analyzes the selected studies from process metrics and cross-version defect prediction.

3.1. Research on Process Metrics

Process metrics are software metrics extracted from data across evolved software versions and can capture characteristics including the software development process and code changes. At present, researchers have conducted extensive studies on process metrics in the context of software evolution. According to the core content and research focus, existing studies are classified into two categories: design and validity verification of process metrics and the integration of code metrics and process metrics. The detailed reviews are presented as follows.

3.1.1. Design and Validity Verification of Process Metrics

This category of research focuses on dynamic scenarios such as software evolution, code changes and version iterations. It centers on the design and construction of novel process metrics and the verification of their effectiveness for defect prediction. For instance, Madeyski and Jureczko [28] explored the relationship between process metrics and the number of defects. Kaur et al. [22] investigated the effectiveness of process metrics across evolving versions of mobile applications. The results showed that prediction models built on process metrics outperformed models using code metrics. Mpofu and Mnkandla [23] analyzed the effectiveness of process metrics based on an open-source search engine code. Choudhary et al. [29] explored the effectiveness of process metrics and proposed new process metrics. The experiments were conducted on the evolving Eclipse project, and the results demonstrated that the proposed process metrics outperformed the traditional process metrics. Miletic et al. [30] explored whether cross-version code changes could improve the performance of defect prediction models. The results showed that the optimal performance was achieved on Logistic Regression model.
Many researchers have extended process metrics from various perspectives, enriching the feature dimensions. For example, Wang D.D. and Wang Q. [31] proposed two types of code process metrics, namely evolution pattern-related metrics and code change metrics, and verified the effectiveness of the proposed process metrics through experiments. Liu et al. [32] proposed the Historical Version Sequence of Metrics (HVSM) to predict software evolution version defects and designed numerous experiments to verify its effectiveness. Moreover, Bai et al. [33] proposed a historical sequence metric based on the change sequence and designed a deep learning algorithm. Compared with traditional metrics, the proposed method was applicable to projects with a stable and orderly defect control trend.
Rhmann et al. [34] investigated the effectiveness of software change metrics for defect prediction. Jiang et al. [26] explored the impact analysis of five process metrics on defect changes. The results showed that the number of developers (NDC) was more relevant to the introduction and elimination of defects, especially exerting a greater impact on the elimination of defects. Based on the evolution data of object-oriented projects, Yu et al. [27] proposed two process metrics, namely the defect rate of historical packages and the degree of class change. The experimental results indicated that adding the proposed process metrics could effectively improve the performance of cross-version defect prediction. Shatnawi and Mishra [35] proposed a process metric for measuring software evolution and conducted experiments on five large open-source systems. Sikic et al. [36] proposed a set of aggregated change metrics by aggregating the change data of software versions and verified the effectiveness of the aggregated change metrics through experiments. Majumder et al. [37] demonstrated that the conclusion of process metrics outperforming product metrics remained consistent when generalizing from small-scale to large-scale software defect prediction. Zou et al. [38] utilized the cross-version features of software and proposed a method based on code semantics and cross-version structural information to improve the performance of cross-project defect prediction.

3.1.2. The Integration of Code Metrics and Process Metrics

In order to overcome the limitations of single metrics, some researchers proposed to combine static code metrics and dynamic process metrics. For example, Han et al. [39,40] combined code metrics and process metrics to conduct experiments on Eclipse project and adopted the feature dimensionality reduction method to reduce the calculation time. Stanic and Afzal [24] explored the impact of different combinations of code metrics and process metrics on defect prediction performance. Alshehri et al. [25] studied the effectiveness of change metrics, code metrics, and the combination of them on defect prediction. The results indicated that in most cases, better performance was obtained by combining change metrics and code metrics. Sun et al. [41] proposed a Deep Multi-view Defect Prediction (DMDP) method based on code metrics and process metrics. The experimental results showed that DMDP outperformed the compared baseline methods. We can observe that combining code metrics and process metrics can improve performance to some extent compared with a single metric type.
It can be seen that most of the studies focus more on proposing new performance-enhancing metrics to improve the prediction performance. Therefore, how to propose new performance-enhancing metrics from different perspectives and at different granularities is the key and challenging issue for future research.

3.2. Research on Cross-Version Defect Prediction

In recent years, extensive research has been conducted on cross-version defect prediction. The existing studies can be classified into three categories: cross-version data distribution optimization, the effectiveness research of cross-version defect prediction, and defect density and defect ranking. The specific classification is as follows.

3.2.1. Cross-Version Data Distribution Optimization

In response to the core issues such as data distribution differences, class overlap, label noise, and concept drift among different versions during software evolution, researchers have proposed a series of methods as follows.
To solve the distribution differences in cross-version data, Xu et al. [14] proposed a difference-based sparse subset selection method. Based on the pairwise differences in modules in two versions, a representative subset of modules was selected from the previous version, and each module in the current version was assigned to these representative modules, reducing the data distribution differences between versions. The effectiveness of this method had been verified through a large number of experiments, and it performed better especially under workload-aware indicators. Xu et al. [42] adopted a hybrid active learning method to select representative modules from the current version for labeling. These modules, together with those from the previous version, formed a new training set, and kernel principal component analysis was used to extract representative features. The experiments showed that this method significantly outperformed the compared methods.
To solve the distribution differences between different versions, Xu et al. [43] proposed a two-stage training subset selection framework. A weighted extreme learning machine classifier was used to construct a cross-version defect prediction model. The experimental results indicated that this method could effectively improve the performance of cross-version defect prediction. To deal with the cross-version data distribution differences and class overlap problems, Zhang et al. [44] proposed a cross-version model based on data selection. Among them, a clustering-based multi-version classifier was proposed for existing files, and a weighted sampling model was proposed for new files. The experimental results showed that the proposed model was superior to the compared methods.
To solve the class overlap problem in cross-version datasets, Qu et al. [45] proposed a cross-version defect deep feature learning method. The results showed that it could effectively deal with the class overlap problem. For projects with multiple versions, Liu et al. [46] proposed to automatically detect inconsistent label instances to reduce the impact of inconsistent labels on the performance of prediction models. Fiore et al. [47] proposed a sparse subset selection technique based on differences to select representative training sets and used convolutional neural networks to generate structural and semantic features, and verified the effectiveness of the proposed method in the scenario of cross-version defect prediction. Kabir et al. [48] explored the impact of concept drift on the context of cross-version defect prediction, and proposed a concept drift detection method to identify the change in data distribution between software versions. Based on two scenarios of cross-project defect prediction and cross-version defect prediction, Wang et al. [49] proposed a training set recommendation method based on similarity measurement from the perspective of data distribution, and verified its effectiveness through experiments. Mei et al. [50] proposed the threshold-based active learning method. The experimental results indicated that this method could effectively deal with the problem of data distribution differences between successive versions and outperformed the baselines. Aiming at the class overlap problem in cross-version defect prediction, Han et al. [51] proposed a class overlap instance processing method based on the same label neighbor ratio. The experimental results showed that this method could significantly improve the performance of cross-version defect prediction.

3.2.2. The Effectiveness Research of Cross-Version Defect Prediction

In order to improve the performance of cross-version defect prediction, many researchers have performed effectiveness research and empirical validations.
For example, Amasaki [52] evaluated the applicability of the nearest neighbor filtering method for cross-version defect prediction. Moreover, Amasaki [53] explored whether the cross-project defect prediction method using multiple historical versions was effective for cross-version defect prediction, and the results showed that multiple historical versions were conducive to improving the performance of the cross-project method in cross-version scenarios, but they were not fully applicable. Shukla et al. [54] regarded the cross-version defect prediction problem as a multi-objective optimization problem. Gao et al. [55] studied the effectiveness of complex network features on cross-version defect prediction, and conducted experimental verification on multi-version open-source projects. Amasaki [56] explored whether the cross-project prediction method and cross-project data were effective for cross-version defect prediction, and the results showed that the previous version was the best, and cross-project data was effective for projects without cross-version data. Bai et al. [57] proposed a HVSM-based GRU approach for cross-version software defect prediction. Kabir et al. [58] proposed a drift tendency detection technique for cross-version defect prediction, and the results showed that considering drift tendency in time-series datasets was conducive to improving the effectiveness of cross-version defect prediction. Li et al. [59] explored the effectiveness of active learning for cross-version defect prediction. Malhotra and Meena [60] studied the effectiveness of seven software defect prediction models in the scenario of cross-version defect prediction. Zhang et al. [61] proposed a hybrid model for cross-version defect prediction.
For object-oriented projects, Yu et al. [62] proposed six evolution metrics and studied the correlation between evolution metrics and cross-version defect prediction performance. For concept drift between versions, Zhao et al. [63] proposed a cross-version defect prediction framework based on transfer learning and proposed to select the best training set from historical data. Gao and Guo [64] proposed an integrated software defect prediction model oriented towards code evolution, and verified its effectiveness in cross-version defect prediction. Han et al. [65] explored the impact of hyperparameter optimization on cross-version defect prediction performance and conducted experiments on five defect prediction models and four hyperparameter optimization algorithms. The effectiveness of hyperparameter optimization for cross-version defect prediction was verified. Yu et al. [66] further investigated the correlation between evolution metrics and the performance of cross-version defect prediction. Onet-Marian and Hotea [67] analyzed the similarities among instances in 28 consecutive software versions and explored their impact on the reliability of cross-version defect prediction assessment.

3.2.3. Defect Density and Defect Ranking

Most of the existing cross-version defect prediction studies focused on defect propensity (binary classification prediction). A few studies have also conducted research on defect density and defect ranking, further enriching the research dimensions of cross-version defect prediction.
Bennin et al. [68] conducted cross-version experiments on 11 defect density prediction models and used the workload-aware metric as the performance metric. Yang and Wen [69] explored the effectiveness of Ridge regression and Lasso regression models for cross-version defect prediction, and the experimental results showed that these models were superior to linear regression and negative binomial regression. Yang et al. [70] proposed an integration method based on learning ranking. The experimental results showed that this method was superior to a single learning ranking method in terms of defect number ranking, and the effectiveness of different integration methods was compared in cross-version defect prediction.
In summary, researchers primarily focus on addressing the problem of data distribution differences between versions, and how to build more effective defect prediction models, thereby improving the performance of cross-version defect prediction.

4. Experimental Analysis

Given the variations in experimental subjects, prediction models, and performance metrics across different studies, this paper systematically reviews the selected studies. A comparative analysis is conducted from these three dimensions, with the details presented as follows. The summary of 50 included studies is provided in Table S1.

4.1. Experimental Subjects

The statistical results of the experimental subjects from the 50 studies are shown in Table 2. Numbers in Table 2 indicate the usage frequency of different experimental subjects included in 50 studies. It should be noted that among the 50 studies, one used both PROMISE and Eclipse. Therefore, the total count in Table 2 is 51, which is greater than 50.
Table 2. The usage frequency of experimental subjects.
We find that the most commonly used evolutionary dataset is the PROMISE repository. Most studies select these projects with multiple versions as experimental subjects. In addition, Eclipse projects are also commonly used datasets. In addition, some studies select mobile applications or projects targeted at specific domains as experimental subjects.
Although it is the most prevalent dataset, PROMISE is limited to traditional code metrics for static attributes. Consequently, the lack of dynamic information across versions makes it challenging to apply in practical scenarios.
Currently, there are many version control systems for open-source projects. For example, the development team can use GitHub manage the code version. When developers modify the code and submit it, these modifications will be recorded in detail, providing reference and assistance for the prediction of software defects in the new version. Therefore, researchers can leverage the evolution information of open-source projects on GitHub to focus more on the evolution research of open-source projects, thereby improving the testing efficiency of software projects.

4.2. Prediction Models

Table 3 presents the prediction models used in the selected 50 studies, sorted in descending order of usage frequency. We find that Random Forest, Logistic Regression, Naive Bayes, and Decision Tree are more commonly used. Consistent with our statistical results, Chen et al. [6] similarly identified Logistic Regression, Naive Bayes, and Decision Tree as the most frequently used models in cross-project defect prediction.
Table 3. The usage frequency of prediction models.
In the statistics of prediction models, we count the frequency of each model reported in the selected studies. Some individual models are grouped together. For example, RBF Network, MLP and other Neural Network variants are classified into the Neural Network category. Similarly, Decision Tree models C4.5 and C5.0 are grouped into Decision Tree.
From the statistical results in Table 3, it can be seen that traditional machine learning models are commonly used, such as Logistic Regression, Random Forest, and Naive Bayes. These models have relatively mature theoretical foundations, relatively simple prediction processes, and offer a certain degree of interpretability. However, they may exhibit lower efficiency when dealing with large-scale software evolution data.
Compared with traditional machine learning models, deep learning models possess powerful automatic feature extraction capabilities, the capability to process complex and large-scale data, as well as continuous learning capabilities. For instance, when dealing with the evolving data of complex software projects, deep learning models can automatically extract key features and uncover the deep nonlinear relationships within the software evolution data, offering significant advantages in handling high-dimensional and complex-structured features.
Additionally, as the scale of software projects continues to increase, the volume of evolving data also increases. For software evolution scenarios, online learning and incremental learning mechanisms are well-suited. Such mechanisms can continuously incorporate newly generated version data and update their parameters without retraining on the entire historical dataset. This incremental updating pattern naturally matches the iterative release of software systems and effectively addresses the distribution drift of defect patterns across successive versions.

4.3. Performance Metrics

Currently, most of the studies regard defect prediction as a binary classification problem, and there are numerous commonly used performance metrics, such as AUC, F-measure, precision, recall, MCC, etc. The usage frequency of performance metrics is analyzed and summarized in Table 4.
Table 4. The usage frequency of performance metrics.
It can be seen that AUC is the most frequently used, and F-measure and Recall are also used relatively frequently. According to the analysis results of performance metrics by Gong et al. [16], the most frequently used performance metrics are Precision, Recall, F-measure, and AUC, which are also consistent with the analysis results in Table 4. The statistics of performance metrics are also based on frequency. Some metrics are merged appropriately. For example, F1 is categorized as F-measure.
The performance metrics in Table 4 focus on the model performance, ignoring the model’s interpretability and stability, etc. With the development of interpretable machine learning, researchers are increasingly concerned with understanding the rationale behind model decisions, highlighting the importance of model interpretability in software defect prediction. Additionally, as the software evolution process progresses, the stability of the prediction model also needs to be considered. Therefore, in addition to evaluating the model’s performance, future research needs to consider model interpretability and model stability to enable a more comprehensive evaluation.
We adopt item-based frequency statistics rather than paper-based statistics. A single study may employ multiple datasets, prediction models, and performance metrics, with each item counted separately. All statistical categories are non-mutually exclusive, so the total statistical frequency is greater than the total number of 50 included studies. All statistics are manually compiled and verified, and minor errors or omissions may inevitably occur.
In conclusion, future research needs to pay more attention to the evolution of open-source projects, and combine deep learning models to process large-scale evolving projects. In addition, it is necessary to focus on the evaluation of model interpretability, model stability, and other aspects, so as to comprehensively improve the application value of existing research in large-scale open-source projects.

5. Existing Problems and Research Prospects

This paper summarizes the key problems existing in the current research and outlines future research prospects.

5.1. Existing Problems

  • Difficulty in extracting evolution features
The quality of features is crucial for the performance of prediction models. Traditional feature extraction methods often fail to fully capture the evolution information of classes and the complex relationships between different versions. Software evolution is affected by various factors such as requirement changes, error fixes, and technology updates, which interact with each other and are difficult to quantify and capture. Therefore, extracting effective evolution features in software defect prediction remains relatively difficult.
  • Limitations of traditional models in evolution scenarios
Traditional software defect prediction models are typically offline, lacking real-time update and dynamic feedback capabilities. During software evolution, new defect data is constantly generated, and traditional offline models struggle to effectively learn and adapt to these changes, thus significantly affecting the performance of models.
  • Limitations in model evaluation
Current performance metrics mainly focus on prediction accuracy, but in practical applications, it is also necessary to consider the interpretability and stability. Therefore, relying solely on common performance metrics cannot comprehensively assess the overall effectiveness of model, which may lead to poor performance in practical applications. With the application of deep learning models, improving model performance may also reduce the interpretability of model.

5.2. Research Prospects

  • Feature update and optimization
As software evolves, the importance and relevance of features may change. Research on how to extract new evolution features, dynamically update and optimize the feature set to maintain the accuracy and adaptability in different evolution stages is particularly important. In practical scenarios, deep learning models can be used to automatically extract software features, thereby improving the prediction performance.
  • Construction of AI-based online defect prediction models
The construction of AI-based online defect prediction models is a promising research direction. Artificial intelligence techniques, especially large language models, can be adopted to automatically extract process metrics and semantic features from code commits and change logs. Such rich features can complement traditional handcrafted metrics, while lightweight model designs must be considered to meet the low-latency requirements of online prediction scenarios.
  • Research on model interpretability
Current research mainly focuses on model interpretability techniques, such as local interpretable model-agnostic explanations (LIME) and SHAP methods, providing corresponding explanations for defect prediction results. However, in the software evolution scenario, the interpretability may also be affected. Therefore, combining software evolution characteristics, establishing association rule models between evolution features and software defects, and building interpretable association rule models, remain key challenges in this field.

6. Conclusions

This paper systematically investigates the research progress on evolution-oriented software defect prediction over the decade spanning 2015 to 2025. It focuses on process metrics and cross-version defect prediction. This study conducts a multi-dimensional statistical analysis from experimental subjects, prediction models, and performance metrics. We find that the PROMISE repository is the most commonly used evolutionary dataset, and logistic regression, random forest, and naive Bayes are commonly used prediction models. In addition, AUC and F-measure are used frequently. These findings can guide researchers in experimental design. Moreover, this study concludes the difficulties existing in current research, and puts forward future research trends and prospects. The findings of this study offer practical and targeted guidance for the future research of evolution-oriented software defect prediction.
However, this paper is limited to process metrics and cross-version defect prediction. Just-in-time defect prediction is not included within the scope of this study. We will conduct a systematic review on just-in-time defect prediction in future research.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/info17121214/s1.

Author Contributions

Conceptualization, Q.Y.; methodology, Q.Y.; validation, Q.Y. and Y.X.; formal analysis, Q.Y. and Y.X.; investigation, Q.Y.; writing—original draft preparation, Q.Y.; writing—review and editing, Q.Y.; supervision, Q.Y.; funding acquisition, Q.Y. and Y.X. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Wuxi University Research Start-up Fund for High-level Talents (2026r041), the National Natural Science Foundation of China (61902161), the Open Fund of State Key Laboratory of Novel Software Technology, Nanjing University (KFKT2026B89), and the Graduate Research and Practice Innovation Program of Jiangsu Normal University (2025XKT1427).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hall, T.; Beecham, S.; Bowes, D.; Gray, D.; Counsell, S. A systematic literature review on fault prediction performance in software engineering. IEEE Trans. Softw. Eng. 2012, 38, 1276–1304. [Google Scholar] [CrossRef] [Scilit]
  2. Malhotra, R. A systematic review of machine learning techniques for software fault prediction. Appl. Soft Comput. 2015, 27, 504–518. [Google Scholar] [CrossRef] [Scilit]
  3. Li, Z.Q.; Jing, X.Y.; Zhu, X.K. Progress on approaches to software defect prediction. IET Softw. 2018, 12, 161–175. [Google Scholar] [CrossRef] [Scilit]
  4. Chen, X.; Gu, Q.; Liu, W.S.; Liu, S.L.; Ni, C. Survey of static software defect prediction. J. Softw. 2016, 27, 1–25. [Google Scholar]
  5. Jing, X.Y.; Wu, F.; Dong, X.W.; Xu, B.W. An improved SDA based defect prediction framework for both within-project and cross-project class-imbalance problems. IEEE Trans. Softw. Eng. 2017, 43, 321–339. [Google Scholar] [CrossRef] [Scilit]
  6. Chen, X.; Wang, L.P.; Gu, Q.; Wang, Z.; Ni, C.; Liu, W.S.; Wang, Q.P. A survey on cross-project software defect prediction methods. Chin. J. Comput. 2018, 41, 254–274. [Google Scholar]
  7. Zhou, Y.M.; Yang, Y.B.; Lu, H.M.; Chen, L.; Li, Y.H.; Zhao, Y.Y.; Qian, J.Y.; Xu, B.W. How far we have progressed in the journey? An examination of cross-project defect prediction. ACM Trans. Softw. Eng. Methodol. 2018, 27, 1:1–1:51. [Google Scholar] [CrossRef] [Scilit]
  8. Liu, C.; Yang, D.; Xia, X.; Yan, M.; Zhang, X.H. A two-phase transfer learning model for cross-project defect prediction. Inf. Softw. Technol. 2019, 107, 125–136. [Google Scholar] [CrossRef] [Scilit]
  9. Hosseini, S.; Turhan, B.; Gunarathna, D. A systematic literature review and meta-analysis on cross project defect prediction. IEEE Trans. Softw. Eng. 2019, 45, 111–147. [Google Scholar] [CrossRef] [Scilit]
  10. Yu, Q.; Jiang, S.J.; Zhang, Y.M. A feature matching and transfer approach for cross-company defect prediction. J. Syst. Softw. 2017, 132, 366–378. [Google Scholar] [CrossRef] [Scilit]
  11. Li, Z.Q.; Jing, X.Y.; Wu, F.; Zhu, X.K.; Xu, B.W.; Ying, S. Cost-sensitive transfer kernel canonical correlation analysis for heterogeneous defect prediction. Autom. Softw. Eng. 2018, 25, 201–245. [Google Scholar] [CrossRef] [Scilit]
  12. Nam, J.; Fu, W.; Kim, S.; Menzies, T.; Tan, L. Heterogeneous defect prediction. IEEE Trans. Softw. Eng. 2018, 44, 874–896. [Google Scholar] [CrossRef] [Scilit]
  13. Chen, X.; Mu, Y.Z.; Liu, K.; Cui, Z.Q.; Ni, C. Revisiting heterogeneous defect prediction methods: How far are we? Inf. Softw. Technol. 2021, 130, 106441. [Google Scholar] [CrossRef] [Scilit]
  14. Xu, Z.; Li, S.; Tang, Y.T.; Luo, X.P.; Zhang, T.; Liu, J.; Xu, J. Cross version defect prediction with representative data via sparse subset selection. In Proceedings of the 26th Conference on Program Comprehension, Gothenburg, Sweden, 27–28 May 2018; pp. 132–143. [Google Scholar]
  15. Yang, X.L.; Lo, D.; Xia, X.; Sun, J.L. TLEL: A two-layer ensemble learning approach for just-in-time defect prediction. Inf. Softw. Technol. 2017, 87, 206–220. [Google Scholar] [CrossRef] [Scilit]
  16. Gong, L.N.; Jiang, S.J.; Jiang, L. Research progress of software defect prediction. J. Softw. 2019, 30, 3090–3114. [Google Scholar]
  17. Cai, L.; Fan, Y.R.; Yan, M.; Xia, X. Just-in-time software defect prediction: Literature review. J. Softw. 2019, 30, 1288–1307. [Google Scholar]
  18. Li, N.; Shepperd, M.J.; Guo, Y.C. A systematic review of unsupervised learning techniques for software defect prediction. Inf. Softw. Technol. 2020, 122, 106287. [Google Scholar] [CrossRef] [Scilit]
  19. Li, T. An Approach to Modelling Software Evolution Processes; Tsinghua University Press: Beijing, China, 2008. [Google Scholar]
  20. Menzies, T.; Milton, Z.; Turhan, B.; Cukic, B.; Jiang, Y.; Bener, A.B. Defect prediction from static code features: Current results, limitations, new approaches. Autom. Softw. Eng. 2010, 17, 375–407. [Google Scholar] [CrossRef] [Scilit]
  21. Shatnawi, R.; Li, W. The effectiveness of software metrics in identifying error-prone classes in post-release software evolution process. J. Syst. Softw. 2008, 81, 1868–1882. [Google Scholar] [CrossRef] [Scilit]
  22. Kaur, A.; Kaur, K.; Kaur, H. Application of machine learning on process metrics for defect prediction in mobile application. In Proceedings of the International Conference on Information Systems Design and Intelligent Applications, Visakhapatnam, India, 8–9 January 2016; pp. 81–98. [Google Scholar]
  23. Mpofu, B.; Mnkandla, E. Software defect prediction using process metrics elasticsearch engine case study. In Proceedings of the International Conference on Advances in Computing, Communication and Engineering, Durban, South Africa, 28–29 November 2016; pp. 254–259. [Google Scholar]
  24. Stanic, B.; Afzal, W. Process metrics are not bad predictors of fault proneness. In Proceedings of the IEEE International Conference on Software Quality, Reliability and Security Companion, Prague, Czech Republic, 25–29 July 2017; pp. 493–499. [Google Scholar]
  25. Alshehri, Y.A.; Goseva-Popstojanova, K.; Dzielski, D.G.; Devine, T. Applying machine learning to predict software fault proneness using change metrics, static code metrics, and a combination of them. In Proceedings of the IEEE Southeastcon, St. Petersburg, FL, USA, 19–22 April 2018; pp. 1–7. [Google Scholar]
  26. Jiang, L.; Jiang, S.J.; Gong, L.N.; Dong, Y.; Yu, Q. Which process metrics are significantly important to change of defects in evolving projects: An empirical study. IEEE Access 2020, 8, 93705–93722. [Google Scholar] [CrossRef] [Scilit]
  27. Yu, Q.; Jiang, S.J.; Qian, J.Y.; Bo, L.L.; Jiang, L.; Zhang, G.J. Process metrics for software defect prediction in object-oriented programs. IET Softw. 2020, 14, 283–292. [Google Scholar] [CrossRef] [Scilit]
  28. Madeyski, L.; Jureczko, M. Which process metrics can significantly improve defect prediction models? An empirical study. Softw. Qual. J. 2015, 23, 393–422. [Google Scholar] [CrossRef] [Scilit]
  29. Choudhary, G.R.; Kumar, S.; Kumar, K.; Mishra, A.; Catal, C. Empirical analysis of change metrics for software fault prediction. Comput. Electr. Eng. 2018, 67, 15–24. [Google Scholar] [CrossRef] [Scilit]
  30. Miletic, M.; Vukusic, M.; Mausa, G.; Grbac, T.G. Cross-release code churn impact on effort-aware software defect prediction. In Proceedings of the International Convention on Information and Communication Technology, Electronics and Microelectronics, Opatija, Croatia, 21–25 May 2018; pp. 1460–1466. [Google Scholar]
  31. Wang, D.D.; Wang, Q. Improving the performance of defect prediction based on evolution data. J. Softw. 2016, 27, 3014–3029. [Google Scholar]
  32. Liu, Y.B.; Li, Y.H.; Guo, J.B.; Zhou, Y.M.; Xu, B.W. Connecting software metrics across versions to predict defects. In Proceedings of the International Conference on Software Analysis, Evolution and Reengineering, Campobasso, Italy, 20–23 March 2018; pp. 232–243. [Google Scholar]
  33. Bai, X.; Zhou, H.; Yang, H.J.; Wang, D. Connecting historical changes for cross-version software defect prediction. Int. J. Comput. Appl. Technol. 2020, 63, 371–383. [Google Scholar] [CrossRef] [Scilit]
  34. Rhmann, W.; Pandey, B.; Ansari, G.A.; Pandey, D.K. Software fault prediction based on change metrics using hybrid algorithms: An empirical study. J. King Saud Univ. Comput. Inf. Sci. 2020, 32, 419–424. [Google Scholar] [CrossRef] [Scilit]
  35. Shatnawi, R.; Mishra, A. An empirical study on software fault prediction using product and process metrics. Int. J. Inf. Technol. Syst. Approach 2021, 14, 62–78. [Google Scholar] [CrossRef] [Scilit]
  36. Sikic, L.; Afric, P.; Kurdija, A.S.; Silic, M. Improving software defect prediction by aggregated change metrics. IEEE Access 2021, 9, 19391–19411. [Google Scholar] [CrossRef] [Scilit]
  37. Majumder, S.; Mody, P.; Menzies, T. Revisiting process versus product metrics: A large scale analysis. Empir. Softw. Eng. 2022, 27, 60. [Google Scholar] [CrossRef] [Scilit]
  38. Zou, Y.F.; Wang, H.Q.; Lv, H.W.; Zhao, S.; Tian, H.Y. A cross-project defect prediction approach based on code semantics and cross-version structural information. Int. J. Softw. Eng. Knowl. Eng. 2024, 34, 1135–1171. [Google Scholar] [CrossRef] [Scilit]
  39. Han, W.J.; Lung, C.H.; Ajila, S.A. Empirical investigation of code and process metrics for defect prediction. In Proceedings of the IEEE Second International Conference on Multimedia Big Data, Taipei, Taiwan, 20–22 April 2016; pp. 436–439. [Google Scholar]
  40. Han, W.J.; Lung, C.H.; Ajila, S. Using source code and process metrics for defect prediction—A case study of three algorithms and dimensionality reduction. J. Softw. 2016, 11, 883–902. [Google Scholar] [CrossRef] [Scilit]
  41. Sun, Y.; Wu, F.; Wu, D.; Jing, X.Y.; Sun, Y.F. Multi-view learning based on product and process metrics for software defect prediction. Appl. Intell. 2025, 55, 406. [Google Scholar] [CrossRef] [Scilit]
  42. Xu, Z.; Liu, J.; Luo, X.P.; Zhang, T. Cross-version defect prediction via hybrid active learning with kernel principal component analysis. In Proceedings of the IEEE International Conference on Software Analysis, Evolution and Reengineering, Campobasso, Italy, 20–23 March 2018; pp. 209–220. [Google Scholar]
  43. Xu, Z.; Li, S.; Luo, X.P.; Liu, J.; Zhang, T.; Tang, Y.T.; Xu, J.; Yuan, P.P.; Keung, J. TSTSS: A two-stage training subset selection framework for cross version defect prediction. J. Syst. Softw. 2019, 154, 59–78. [Google Scholar] [CrossRef] [Scilit]
  44. Zhang, J.; Wu, J.J.; Chen, C.P.; Zheng, Z.B.; Lyu, M.R. CDS: A cross–version software defect prediction model with data selection. IEEE Access 2020, 8, 110059–110072. [Google Scholar] [CrossRef] [Scilit]
  45. Qu, Y.B.; Chen, X.; Li, L. Cross-version software defect prediction method for relieving class overlap problem. J. Jilin Univ. (Sci. Ed.) 2021, 59, 372–378. [Google Scholar]
  46. Liu, S.R.; Guo, Z.Q.; Li, Y.H.; Wang, C.Q.; Chen, L.; Sun, Z.B.; Zhou, Y.M. An extensive empirical study of inconsistent labels in multi-version-project defect data sets. arXiv 2021, arXiv:2101.11749. [Google Scholar] [CrossRef] [Scilit]
  47. Fiore, A.; Russo, A.; Gravino, C.; Risi, M. Combining CNN with DS3 for detecting bug-prone modules in cross-version projects. In Proceedings of the Euromicro Conference on Software Engineering and Advanced Applications, Palermo, Italy, 1–3 September 2021; pp. 91–98. [Google Scholar]
  48. Kabir, M.A.; Rehman, A.U.; Islam, M.M.M.; Ali, N.; Baptista, M.L. Cross-version software defect prediction considering concept drift and chronological splitting. Symmetry 2023, 15, 1934. [Google Scholar] [CrossRef] [Scilit]
  49. Wang, C.; Yu, Q.; Han, H. Similarity-based training set recommendation for software defect prediction. Comput. Eng. Appl. 2023, 59, 86–94. [Google Scholar]
  50. Mei, Y.Q.; Liu, X.T.; Lu, Z.Y.; Yang, Y.B.; Liu, H.H.; Zhou, Y.M. Cross-version defect prediction using threshold-based active learning. J. Softw. Evol. Process 2024, 36, e2563. [Google Scholar] [CrossRef] [Scilit]
  51. Han, H.; Yu, Q.; Zhu, Y.; Cheng, S.Y.; Zhang, Y. An empirical study of the impact of class overlap on the performance and interpretability of cross-version defect prediction. Int. J. Softw. Eng. Knowl. Eng. 2024, 34, 1895–1918. [Google Scholar] [CrossRef] [Scilit]
  52. Amasaki, S. On applicability of cross-project defect prediction method for multi-versions projects. In Proceedings of the 13th International Conference on Predictive Models and Data Analytics in Software Engineering, Toronto, ON, Canada, 8 November 2017; Association for Computing Machinery: New York, NY, USA, 2017; pp. 93–96. [Google Scholar]
  53. Amasaki, S. Cross-version defect prediction using cross-project defect prediction approaches: Does it work? In Proceedings of the 14th International Conference on Predictive Models and Data Analytics in Software Engineering, Oulu, Finland, 10 October 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 32–41. [Google Scholar]
  54. Shukla, S.; Radhakrishnan, T.; Kasinathan, M.; Neti, L.B.M. Multi-objective cross-version defect prediction. Soft Comput. 2018, 22, 1959–1980. [Google Scholar] [CrossRef] [Scilit]
  55. Gao, H.L.; Lu, M.Y.; Pan, C.; Xu, B. Empirical study: Are complex network features suitable for cross-version software defect prediction? In Proceedings of the IEEE International Conference on Software Engineering and Service Science, Beijing, China, 18–20 October 2019. [Google Scholar]
  56. Amasaki, S. Cross-version defect prediction: Use historical data, cross-project data, or both? Empir. Softw. Eng. 2020, 25, 1573–1595. [Google Scholar] [CrossRef] [Scilit]
  57. Bai, X.; Zhou, H.; Yang, H.J. An HVSM-based GRU approach to predict cross-version software defects. Int. J. Perform. Eng. 2020, 16, 979–990. [Google Scholar] [CrossRef] [Scilit]
  58. Kabir, M.A.; Keung, J.W.; Bennin, K.E.; Zhang, M. A drift propensity detection technique to improve the performance for cross-version software defect prediction. In Proceedings of the Annual Computers, Software, and Applications Conference, Madrid, Spain, 13–17 July 2020; pp. 882–891. [Google Scholar]
  59. Li, F.; Qu, Y.B.; Ji, J.X.; Zhang, D.J.; Li, L. Active learning empirical research on cross-version software defect prediction datasets. Int. J. Perform. Eng. 2020, 16, 609–617. [Google Scholar] [CrossRef] [Scilit]
  60. Malhotra, R.; Meena, S. Empirical validation of cross-version and 10-fold cross-validation for defect prediction. In Proceedings of the International Conference on Electronics and Sustainable Communication Systems, Coimbatore, India, 4–6 August 2021; pp. 431–438. [Google Scholar]
  61. Zhang, N.N.; Ying, S.; Ding, W.P.; Zhu, K.; Zhu, D.D. WGNCS: A robust hybrid cross-version defect model via multi-objective optimization and deep enhanced feature representation. Inf. Sci. 2021, 570, 545–576. [Google Scholar] [CrossRef] [Scilit]
  62. Yu, Q.; Zhu, Y.; Han, H.; Zhao, Y.; Jiang, S.J.; Qian, J.Y. Evolutionary measures for object-oriented projects and impact on the performance of cross-version defect prediction. In Proceedings of the Asia-Pacific Symposium on Internetware, Hohhot, China, 11–12 June 2022; pp. 192–201. [Google Scholar]
  63. Zhao, Y.Y.; Wang, Y.W.; Zhang, Y.W.; Zhang, D.L.; Gong, Y.Z.; Jin, D.H. ST-TLF: Cross-version defect prediction framework based transfer learning. Inf. Softw. Technol. 2022, 149, 106939. [Google Scholar] [CrossRef] [Scilit]
  64. Gao, T.; Guo, X. Integrated software defect prediction model for code evolution. J. Wuhan Univ. Nat. Sci. Ed. 2022, 68, 279–288. [Google Scholar]
  65. Han, H.; Yu, Q.; Zhu, Y. Impact of hyperparameter optimization on cross-version defect prediction: An empirical study. J. Front. Comput. Sci. Technol. 2023, 17, 3052–3064. [Google Scholar]
  66. Yu, Q.; Zhu, Y.; Han, H.; Zhao, Y.; Jiang, S.J.; Qian, J.Y. Evolutionary measures and their correlations with the performance of cross-version defect prediction for object-oriented projects. J. Softw. Evol. Process 2024, 36, e2625. [Google Scholar] [CrossRef] [Scilit]
  67. Onet-Marian, Z.; Hotea, D.L. Cross-version defect prediction: Does excessive train-test similarity affect the reliability of evaluation? In Proceedings of the International Conference on Evaluation of Novel Approaches to Software Engineering, Porto, Portugal, 4–6 April 2025; pp. 304–315. [Google Scholar]
  68. Bennin, K.E.; Toda, K.; Kamei, Y.; Keung, J.; Monden, A.; Ubayashi, N. Empirical evaluation of cross-release effort-aware defect prediction models. In Proceedings of the IEEE International Conference on Software Quality, Reliability and Security, Vienna, Austria, 1–3 August 2016; pp. 214–221. [Google Scholar]
  69. Yang, X.X.; Wen, W.S. Ridge and lasso regression models for cross-version defect prediction. IEEE Trans. Reliab. 2018, 67, 885–896. [Google Scholar] [CrossRef] [Scilit]
  70. Yang, X.X.; Li, X.; Wen, W.S.; Su, J.M. An investigation of ensemble approaches to cross-version defect prediction. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, Lisbon, Portugal, 10–12 July 2019; pp. 437–556. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.