Aug 2026· Acta Universitatis Sapientiae: Informatica· Vol 18· 0 citations· 33 references
TL;DR
It is suggested that process-oriented metrics, particularly those related to code testing and development history, capture defect patterns more effectively per feature than static code structure metrics, offering practical guidance for software quality assurance.
Abstract
Software defect prediction (SDP) aims to identify defect-prone code modules in order to optimize testing resources and improve software quality. While traditional approaches rely on software metrics derived from code structure, this paper proposes ET-SDP, an approach that enhances code embeddings using effort-related and test coverage metrics. We introduce three feature sets: the top-30 software metrics selected through clustering relevance ranking, 170 effort-related metrics capturing development process characteristics, and five test coverage metrics derived from unit tests. Our evaluation on 15 releases of Apache Calcite and 6 releases of Apache Ant-Ivy demonstrates that effort-related and test coverage metrics provide better defect prediction performance with far fewer features than traditional software metrics. In unsupervised clustering experiments, effort-based embeddings achieve better alignment with defect labels. In supervised classification, effort-related features achieve an AUC of 0.932 on Calcite and 0.883 on Ant-Ivy, outperforming the top-30 software metrics at comparable feature count (AUC of 0.632 and 0.587, respectively). Feature importance analysis reveals that test coverage metrics are the strongest predictors of defect proneness. These findings suggest that process-oriented metrics, particularly those related to code testing and development history, capture defect patterns more effectively per feature than static code structure metrics, offering practical guidance for software quality assurance.
A set of ten novel object-oriented metrics designed to enrich existing datasets and enhance prediction performance are proposed, demonstrating that the proposed metrics capture complementary aspects of software quality not fully represented by traditional metrics, leading to more accurate and robust defect prediction m...
F. Mekahlia, Mohamed Ilyes Bouguerri, Zineddine Djama et al.· Software quality journal· 0 citations
A transformer-based classification framework that fine-tunes CodeBERT on a balanced dataset of 25,000+ bug-report segments drawn from four Apache projects is proposed and CodeBERT is the best-performing transformer in this comparison.
Kanwal Naz, Imran Shafi, M. Z. Mehmood et al.· Computers· 0 citations
By combining semantic understanding, graph learning, similarity retrieval, and explainable artificial intelligence, the proposed system improves the efficiency, accuracy, and interpretability of automated bug triaging, making it suitable for large-scale software maintenance environments.
Pogiri Pujitha, Gangadhar Doma· International Journal for Re...· 0 citations
Findings indicate that pre-trained code models should be evaluated with explicit input-coverage reporting, chronological validation, strong metric baselines, and incremental-value testing.
An Explainable Artificial Intelligence (XAI) driven framework for developing composite, transparent software quality metrics that integrate predictive accuracy with multi-level interpretability and provides a scalable and extensible foundation for transparent AI-driven software engineering tools.
Abdulaziz Attaallah, Khalil Al Sulbi· IEEE Access· 0 citations
These findings validate cognitive theory for explainable, actionable, and interpretable safety-critical defect prediction, laying empirical groundwork to evaluate analogous issues in LLM-generated code through the behavioral study of AI.
Carlos Andrés Ramírez Cataño, Makoto Itoh· International Conference on...· 0 citations
Related blog posts
Microsoft Research Blog· microsoft.comNov 30, 2026
When AI “forgets,” is the information really gone? Standard tests can suggest an AI model has successfully forgotten specific information. A controlled Microsoft Research study found a different picture when researchers changed the questions and used strategic prompts. The findings point to a gap between looking like information is forgotten and making it resistant to recovery. The post Forgotten, or just hidden? Stress testing how AI models unlearn appeared first on Microsoft Research.
Microsoft Research Blog· microsoft.comNov 12, 2026
What's new in research at Microsoft? Host Anson Ho explores the latest, including AI-powered universal translation, a breakthrough in a 31-year-old mathematics challenge, and advances making AI coding agents faster and more efficient. The post Microsoft Research Focus – Edition #98 appeared first on Microsoft Research.
AI agents can generate code at a scale that’s hard for humans to review line-by-line. PDD Kit helps ensure the code is doing what the developer intended by creating formal specifications and testing against them. It converts developer intent into a Verus specification, proves AI-generated code meets it for every input, and uses tests where proofs aren't practical. Developers review intent, not every line. The post Formally verifying agent-written full-stack web apps with PDD Kit appeared first o…
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.