We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

Title: A new perspective on the competent programmer hypothesis through the reproduction of bugs with repeated mutations

Abstract: The competent programmer hypothesis states that most programmers are competent enough to create correct or almost correct source code. Because this implies that bugs should usually manifest through small variations of the correct code, the competent programmer hypothesis is one of the fundamental assumptions of mutation testing. Unfortunately, it is still unclear if the competent programmer hypothesis holds and past research presents contradictory claims. Within this article, we provide a new perspective on the competent programmer hypothesis and its relation to mutation testing. We try to re-create real-world bugs through chains of mutations to understand if there is a direct link between mutation testing and bugs. The lengths of these paths help us to understand if the source code is really almost correct, or if large variations are required. Our results indicate that while the competent programmer hypothesis seems to be true, mutation testing is missing important operators to generate representative real-world bugs.
Comments: Submitted and under review
Subjects: Software Engineering (cs.SE)
Cite as: arXiv:2104.02517 [cs.SE]
  (or arXiv:2104.02517v1 [cs.SE] for this version)

Submission history

From: Steffen Herbold [view email]
[v1] Tue, 6 Apr 2021 13:51:42 GMT (180kb,D)

Link back to: arXiv, form interface, contact.