PofoliaPofolia ile paylaşıldı

· 2014

Yazılım Testlerinde Gerçek Hatalar Yerine Mutantlar Geçerli Bir İkame midir?

Are mutants a valid substitute for real faults in software testing?

René Just, Darioush Jalali, Laura Inozemtseva, Michael D. Ernst ve diğerleri

Kısa özet

Bir test paketinin yapay 'mutantları' tespit etme yeteneği, kod kapsamı dikkate alındığında bile, gerçek yazılım hatalarını tespit etme yeteneği ile istatistiksel olarak ilişkilidir.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Ana noktalar

  • Mutantlar, yazılım test araştırmalarında gerçek hatalar için bir vekil olarak kullanılan yapay hatalardır.
  • Deneylerde 5 açık kaynaklı uygulamada (321.000 kod satırı) 357 gerçek hata kullanılmıştır.
  • Mutant tespiti ile gerçek hata tespiti arasında istatistiksel olarak anlamlı bir korelasyon bulunmuştur.
  • Bu korelasyon, kod kapsamı etkilerinden bağımsız olarak gözlemlenmiştir.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Özet (abstract)

A good test suite is one that detects real faults. Because the set of faults in a program is usually unknowable, this definition is not useful to practitioners who are creating test suites, nor to researchers who are creating and evaluating tools that generate test suites. In place of real faults, testing research often uses mutants, which are artificial faults -- each one a simple syntactic variation -- that are systematically seeded throughout the program under test. Mutation analysis is appealing because large numbers of mutants can be automatically-generated and used to compensate for low quantities or the absence of known real faults. Unfortunately, there is little experimental evidence to support the use of mutants as a replacement for real faults. This paper investigates whether mutants are indeed a valid substitute for real faults, i.e., whether a test suite’s ability to detect mutants is correlated with its ability to detect real faults that developers have fixed. Unlike prior studies, these investigations also explicitly consider the conflating effects of code coverage on the mutant detection rate. Our experiments used 357 real faults in 5 open-source applications that comprise a total of 321,000 lines of code. Furthermore, our experiments used both developer-written and automatically-generated test suites. The results show a statistically significant correlation between mutant detection and real fault detection, independently of code coverage. The results also give concrete suggestions on how to improve mutation analysis and reveal some inherent limitations.

Yazarların özeti; kaynağından alınmıştır., 2014 · DOI ↗

ÇıkarımlarPremium
Makaleye SorÜcretsiz hesapla

Ücretsiz hesapla devam et

Makaleye Sor ile bu makaleye günde 3 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 et

Google ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.

Telefonda:

Alan: Yazılım

SoftwareComputer Science