Discovering faults in idiom-based exception handling

  • Authors:
  • Magiel Bruntink;Arie van Deursen;Tom Tourwé

  • Affiliations:
  • Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands;Delft University, Delft, The Netherlands;Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands

  • Venue:
  • Proceedings of the 28th international conference on Software engineering
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we analyse the exception handling mechanism of a state-of-the-art industrial embedded software system. Like many systems implemented in classic programming languages, our subject system uses the popular return-code idiom for dealing with exceptions. Our goal is to evaluate the fault-proneness of this idiom, and we therefore present a characterisation of the idiom, a fault model accompanied by an analysis tool, and empirical data. Our findings show that the idiom is indeed fault prone, but that a simple solution can lead to significant improvements.