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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Defect Severity Prediction Across Heterogeneous Projects

Umamaheswara Sharma Bhutamapuram, Ravichandra Sadam, Sanjana Kosuru, Jaithra Meda et al.
Research Square
Software Engineering Research
preprint

Defect Severity Prediction Across Heterogeneous Projects

Umamaheswara Sharma Bhutamapuram, Ravichandra Sadam, Sanjana Kosuru, Jaithra Meda, Gayathri Srikakola, Lakshayapriya S S
preprint en

Abstract

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.

Research Square
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)
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.

Laika access coming soon