AI & ML
Large Language Models for Multi-Lingual Equivalent Mutant Detection: An Extended Empirical Study
arXiv cs.SE0 views
arXiv:2607.00511v2 Announce Type: replace Abstract: Mutation testing is a powerful technique for ensuring software quality. However, the presence of equivalent mutants introduces unnecessary costs and biases, limiting its practical effectiveness. Although numerous equivalent mutant detection (EMD) methods have been proposed, they often face distinct challenges: pure-code analysis methods can be limited by their reliance on specific compiler infrastructures, while existing machine-learning approaches remain constrained by scarce training data and limited generalization to unseen mutants. Large language models (LLMs) have recently demonstrated remarkable performance across diverse code-related tasks by better capturing program semantics. Yet their potential for EMD remains largely unexplored, particularly in the multi-lingual context. This paper presents the first comprehensive empirical study on LLMs for EMD, using 3,302 Java and 1,088 C mutant pairs to benchmark against state-of-the-art methods, explore strategy variations, assess efficiency, and evaluate cross-lingual generalization. Experimental results show that LLM-based approaches achieve higher F1-scores than the evaluated traditional methods, with fine-tuned code embedding yielding the highest detection accuracy among the tested strategies. Moreover, LLM-based approaches strike a practical balance between effectiveness and efficiency with inference times comparable to existing machine-learning models. Importantly, fine-tuned LLMs demonstrate measurable generalization across programming languages. These findings establish LLMs as a viable and efficient approach for tackling the longstanding challenge of equivalent mutant detection, offering new directions for advancing mutation testing in practice.
Source:https://arxiv.org/abs/2607.00511PreviousCharacterizing Robustness in Semantic Code Clone DetectionNextVibe Coding in Software Development: A Multivocal Literature Review
Related posts
Stripe doesn't open accounts in 37 of the 85 countries we checked. Here are the legal ways to get paid anyway
0dev.to
Do AI Models Care About Each Other? Anthropic's Multi-Agent Welfare Study Says Yes — With a Catch
0dev.to
Building VARYN: Why Permission Boundaries Matter More Than Another AI API Call
0dev.to
App Store 2026 in numbers: AI, pricing, abandoned apps
0Hacker News
ASUS Launches New Zenbook 14 in India With Ceraluminum Design and OLED Display
0FOSS Bytes
TOP BEARINGS SRL conduce în Intermedieri produse diverse Argeș
0dev.to Data