ACM Transactions on Software Engineering and Methodology· 2026Q1
Büyük Dil Modellerinin Mutasyon Testi İçin Kapsamlı Bir Çalışması
A Comprehensive Study on Large Language Models for Mutation Testing
- 37atıf
- Q1SCImago
- 2026yıl
Kısa özet
Büyük Dil Modelleri (BDM'ler), mutasyon testinde geleneksel yöntemlere kıyasla gerçek hata tespitinde 1.8 kat iyileşme sağlayarak %41.6 oranındaki kural tabanlı tekniklere karşılık %77.4'lük bir tespit oranına ulaşıyor.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- BDM'ler, mutasyon testinde %77.4'lük bir gerçek hata tespit oranına ulaşarak, kural tabanlı tekniklerin %41.6'lık oranından önemli ölçüde daha yüksek bir performans sergiliyor.
- BDM tarafından üretilen mutantlar, geleneksel yöntemlerden elde edilenlere göre gerçek hatalara davranışsal olarak daha yakın ve daha çeşitlidir.
- BDM tabanlı mutasyon testi, daha yüksek derlenememe (%25.9 artış), tekrarlama (%7.1 artış) ve eşdeğer mutant (%2.6 artış) oranlarına yol açmaktadır.
- Çalışma, 2 Java benchmark'ından alınan 851 gerçek hata üzerinde BDM tabanlı yaklaşımları (BugFarm, LLMorpheus, yeni istem) ve geleneksel yöntemleri değerlendirdi.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Large Language Models (LLMs) have recently been used to generate mutants both in the research community and in industrial practice. However, there has been no comprehensive empirical study of their performance for this increasingly important LLM-based Software Engineering application. To address this, we conduct a comprehensive empirical study evaluating both a wide range of traditional approaches and LLM-based approaches. Particularly, we evaluate BugFarm, LLMorpheus, and our newly designed prompt for mutant generation. The experiments cover both leading open and closed source LLMs, on 851 real bugs from 2 Java real-world bug benchmarks. Our results reveal that, compared to existing traditional approaches, LLMs generate more diverse mutants that are behaviorally closer to real bugs and, most importantly, achieve a 1.8 \(\times\) improvement in real bug detection, defined as the proportion of real bugs whose faulty behaviors can be mimicked by at least one generated mutant. Specifically, LLM-based approaches reach a detection rate of 77.4%, compared to 41.6% for rule-based techniques, representing an absolute gain of 35.8 percentage points. Nevertheless, our results also reveal that these impressive improvements in effectiveness come at a cost: LLM-generated mutants exhibit worse non-compilability, duplication, and equivalent mutant rates than rule-based approaches by 25.9, 7.1, and 2.6 percentage points, respectively. These findings provide actionable insights for both research and practice. They allow practitioners to have greater confidence in deploying LLM-based mutation, while researchers now have a baseline for the state-of-the-art, with which they can research techniques to further improve effectiveness and reduce cost.
Yazarların özeti; kaynağından alınmıştır. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Yazılım
SoftwareComputer Science