Mutant census : an empirical examination of the competent programmer hypothesis Public Deposited

http://ir.library.oregonstate.edu/concern/technical_reports/fb494967q

Descriptions

Attribute NameValues
Creator
Abstract or Summary
  • Mutation analysis is often used to compare the effectiveness of different test suites or testing techniques. One of the main assumptions underlying this technique is the Competent Programmer Hypothesis, which proposes that programs are very close to a correct version, or that the difference between current and correct code for each fault is very small. Testers have generally assumed, on the basis of the Competent Programmer Hypothesis, that mutation analysis with single token changes produces mutations that are similar to real faults. While there exists some evidence that supports this assumption, these studies are based on analysis of a limited and potentially non-representative set of programs and are hence not conclusive. In this paper, we investigate the Competent Programmer Hypothesis by analyzing changes (and bug-fixes in particular) in a very large set of randomly selected projects using four different programming languages. Our analysis suggests that a typical fault involves about three to four tokens, and is seldom equivalent to any traditional mutation operator. We also find the most frequently occurring syntactical patterns, and identify the factors that affect the real bug-fix change distribution. Our analysis suggests that different languages have different distributions, which in turn suggests that operators optimal in one language may not be optimal for others. Moreover, our results suggest that mutation analysis stands in need of better empirical support of the connection between mutant detection and detection of actual program faults in a larger body of real programs.
Resource Type
Date Available
Date Issued
Series
Keyword
Subject
Rights Statement
Publisher
Peer Reviewed
Language
Replaces
Additional Information
  • description.provenance : Submitted by Laura Wilson (laura.wilson@oregonstate.edu) on 2014-04-15T23:22:22Z No. of bitstreams: 1 acm_sigproc.pdf: 619172 bytes, checksum: a4f24376f68859f07cff6eeaf4b76042 (MD5)
  • description.provenance : Approved for entry into archive by Laura Wilson(laura.wilson@oregonstate.edu) on 2014-04-15T23:23:03Z (GMT) No. of bitstreams: 1 acm_sigproc.pdf: 619172 bytes, checksum: a4f24376f68859f07cff6eeaf4b76042 (MD5)
  • description.provenance : Made available in DSpace on 2014-04-15T23:23:03Z (GMT). No. of bitstreams: 1 acm_sigproc.pdf: 619172 bytes, checksum: a4f24376f68859f07cff6eeaf4b76042 (MD5) Previous issue date: 2014

Relationships

In Administrative Set:
Last modified: 07/18/2017

Downloadable Content

Download PDF
Citations:

EndNote | Zotero | Mendeley

Items