Correctness Attraction: A Study of Stability of Software Behavior Under Runtime Perturbation

by Benjamin Danglot, Philippe Preux, Benoit Baudry and Martin Monperrus
Abstract: Can the execution of a software be perturbed without breaking the correctness of the output? In this paper, we devise a novel protocol to answer this rarely investigated question. In an experimental study, we observe that many perturbations do not break the correctness in ten subject programs. We call this phenomenon "correctness attraction". The uniqueness of this protocol is that it considers a systematic exploration of the perturbation space as well as perfect oracles to determine the correctness of the output. To this extent, our findings on the stability of software under execution perturbations have a level of validity that has never been reported before in the scarce related work. A qualitative manual analysis enables us to set up the first taxonomy ever of the reasons behind correctness attraction.
 View PDF
Open-access (on archives-ouvertes.fr)
Publisher version (via DOI)
Other publications of Martin Monperrus

Cite it:

Correctness Attraction: A Study of Stability of Software Behavior Under Runtime Perturbation (, , and ), In Empirical Software Engineering, Springer Verlag, .
Benjamin Danglot, Philippe Preux, Benoit Baudry and Martin Monperrus, "Correctness Attraction: A Study of Stability of Software Behavior Under Runtime Perturbation", In Empirical Software Engineering, Springer Verlag, 2017.

Bibtex Entry:

@article{danglot2016correctness,
 title = {{Correctness Attraction: A Study of Stability of Software Behavior Under Runtime Perturbation}},
 author = {Danglot, Benjamin and Preux, Philippe and Baudry, Benoit and Monperrus, Martin},
 url = {https://hal.archives-ouvertes.fr/hal-01378523/file/correctness-attraction.pdf},
 journal = {{Empirical Software Engineering}},
 publisher = {{Springer Verlag}},
 year = {2017},
 doi = {10.1007/s10664-017-9571-8},
}
Powered by bibtexbrowser
Tagged as: