Correctness Attraction: A Study of Stability of Software Behavior Under   Runtime Perturbation
  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. 
Benjamin Danglot (1), Philippe Preux (2), Benoit Baudry (3), Martin   Monperrus (1) ((1) SPIRALS (2) SEQUEL (3) DiverSe)
cs.SE