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

1 SPIRALS - Self-adaptation for distributed services and large software systems
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
2 SEQUEL - Sequential Learning
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
3 DiverSe - Diversity-centric Software Engineering
Inria Rennes – Bretagne Atlantique , IRISA_D4 - LANGAGE ET GÉNIE LOGICIEL
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.
Keywords :
Document type :
Journal articles
Liste complète des métadonnées

Cited literature [6 references]

https://hal.archives-ouvertes.fr/hal-01378523
Contributor : Martin Monperrus <>
Submitted on : Tuesday, September 4, 2018 - 11:48:21 AM
Last modification on : Friday, March 22, 2019 - 1:36:42 AM
Document(s) archivé(s) le : Wednesday, December 5, 2018 - 2:34:28 PM

### File

article.pdf
Files produced by the author(s)

### Citation

Benjamin Danglot, Philippe Preux, Benoit Baudry, Martin Monperrus. Correctness Attraction: A Study of Stability of Software Behavior Under Runtime Perturbation. Empirical Software Engineering, Springer Verlag, 2018, 23 (4), pp.2086-2119. ⟨10.1007/s10664-017-9571-8⟩. ⟨hal-01378523v3⟩

Record views

Files downloads