Bug severity prediction is a critical task in software engineering as it enables more efficient resource allocation and prioritization in software maintenance. While AI-based analyses and models significantly require access to extensive datasets, industrial applications face challenges due to data-sharing constraints and the limited availability of labeled data. In this study, we investigate method-level bug severity prediction using source code metrics and Large Language Models (LLMs) with two widely used datasets. We compare the performance of models trained using centralized learning, federated learning, and synthetic data generation. Our experimental results, obtained using two widely recognized software defect datasets, indicate that models trained with federated learning and synthetic data achieve comparable results to centrally trained models without data sharing. Our finding highlights the potential of privacy-preserving approaches such as federated learning and synthetic data generation to enable effective bug severity prediction in industrial context where data sharing is a major challenge.
The source code and dataset are available at our GitHub repository: https://github.com/drvshavva/EASE2025-Privacy-Preserving-Methods-for-Bug-Severity-Prediction.
Learning Software Bug Reports: A Systematic Literature Review
University of Electronic Science and Technology of China(电子科技大学);University of Leeds(利兹大学);Loughborough University(洛桑大学);IDEAS Lab, University of Birmingham(伯明翰大学IDEAS实验室);Institute for Clarity in Documentation(文档清晰研究所);Inria Paris-Rocquencourt(巴黎-勒克鲁瓦研究所);Rajiv Gandhi University(拉贾·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒研究实验室)
SENSOR: An ML-Enhanced Online Annotation Tool to Uncover Privacy Concerns from User Reviews in Social-Media Applications
Software Engineering Lab (SEL), Department of Computer Science and Engineering, Islamic University of Technology (IUT)(软件工程实验室(SEL)、计算机科学与工程系、伊斯兰科技大学(IUT));Systems and Software Lab (SSL), Department of Computer Science and Engineering, Islamic University of Technology (IUT)(系统与软件实验室(SSL)、计算机科学与工程系、伊斯兰科技大学(IUT))
A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks
ShanghaiTech University(上海科技大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Tianjin University(天津大学);Nankai University(南开大学)