Defect Severity Prediction Across Heterogeneous Projects
Software maintenance is a continuous process requiring significant attention to address severe defects. The unidentified risky software defects may cause severe damage to the end user, ranging from inconvenience to monetary loss to the loss of life. Hence, identifying the severity of the defective modules is necessary, requiring skilled manpower. Literature on defect severity shows an advantage of using machine learning-based models. The traditional severity prediction models primarily rely on problem-specific textual data of homogeneous projects and do not generalise well across heterogeneous settings. In this work, extending the work \cite{sharma2025measuring}, we proposed a metric-based defect severity prediction model that uses a novel weighted ensemble of self-training semi-supervised learning models, trained on heterogeneous projects. We implemented a feature subspace-sampling and data sampling into account, to build a pool of classifiers. Each software module collected from heterogeneous software repositories will get a final severity label by combining pseudo-labels derived from the ensemble model during training. During testing, for each target project, we identify homogeneous feature sets from heterogeneous software projects and predict the severity labels of the software modules using majority voting. We evaluate our model across 57 software projects drawn from the AEEEM, PROMISE, and ReLink repositories. The results show that HDSP achieves notable improvements in saved testing effort and reduced service time. Compared to recent code-based large language models such as StarCoder, PolyCoder, CodeT5, CodeBERT, and GraphCodeBERT, our approach consistently outperforms them significantly in both traditional and cost-aware severity prediction measures. These findings will guide the QA teams to potentially identify the risky models and allocate the available manpower to the desired modules.
Authors
- Umamaheswara Sharma Bhutamapuram (ORCID: https://orcid.org/0000-0003-1676-3347)
- Ravichandra Sadam (ORCID: https://orcid.org/0000-0002-3029-1107)
- Sanjana Kosuru
- Jaithra Meda
- Gayathri Srikakola
- Lakshayapriya S S
Institutions
- National Institute of Technology Calicut (IN)
- National Institute of Technology Warangal (IN)
- Wells Fargo (United States) (US)
- Microsoft (India) (IN)
- Oracle (India) (IN)
- New York University (US)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-11345973/v1
- Primary Topic
- Software Engineering Research
- Type
- preprint