Reasoning and Improving on Software Resilience against Unanticipated Exceptions - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2013

Reasoning and Improving on Software Resilience against Unanticipated Exceptions

Abstract

In software, there are the errors anticipated at specification and design time, those encountered at development and testing time, and those that happen in production mode yet never anticipated. In this paper, we aim at reasoning on the ability of software to correctly handle unanticipated exceptions. We propose an algorithm, called short-circuit testing, which injects exceptions during test suite execution so as to simulate unanticipated errors. This algorithm collects data that is used as input for verifying two formal exception contracts that capture two resilience properties. Our evaluation on 9 test suites, with 78% line coverage in average, analyzes 241 executed catch blocks, shows that 101 of them expose resilience properties and that 84 can be transformed to be more resilient.
Fichier principal
Vignette du fichier
Reasoning_and_Improving_on_Software_Resilience_against_Unanticipated_Exceptions.pdf (198.55 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00922937 , version 1 (31-12-2013)

Identifiers

Cite

Benoit Cornu, Lionel Seinturier, Martin Monperrus. Reasoning and Improving on Software Resilience against Unanticipated Exceptions. [Research Report] hal-00922937, Université Lille 1 - Sciences et Technologies. 2013. ⟨hal-00922937⟩
193 View
394 Download

Altmetric

Share

Gmail Facebook X LinkedIn More