Assessing the Impact of Aspects on Exception Flows: An Exploratory Study

Coelho, Roberta and Rashid, Awais and Garcia, Alessandro and Ferrari, Fabiano and Cacho, Nelio and Kulesza, Uirá and von Staa, Arndt and Lucena, Carlos (2008) Assessing the Impact of Aspects on Exception Flows: An Exploratory Study. In: Proceedings of the 22nd European Conference on Object-Oriented Programming (ECOOP 2008). Lecture Notes in Computer Science . Springer, CYP, pp. 207-234. ISBN 978-3-540-70591-8

Full text not available from this repository.

Abstract

Exception handling mechanisms are intended to support the development of robust software. However, the implementation of such mechanisms with aspect-oriented (AO) programming might lead to error-prone scenarios. As aspects extend or replace existing functionality at specific join points in the code execution, aspects’ behavior may bring new exceptions, which can flow through the program execution in unexpected ways. This paper presents a systematic study that assesses the error proneness of AOP mechanisms on exception flows of evolving programs. The analysis was based on the object-oriented and the aspect-oriented versions of three medium-sized systems from different application domains. Our findings show that exception handling code in AO systems is error-prone, since all versions analyzed presented an increase in the number of uncaught exceptions and exceptions caught by the wrong handler. The causes of such problems are characterized and presented as a catalogue of bug patterns.

Item Type:
Contribution in Book/Report/Proceedings
Uncontrolled Keywords:
/dk/atira/pure/researchoutput/libraryofcongress/qa75
Subjects:
ID Code:
53558
Deposited By:
Deposited On:
13 Apr 2012 15:11
Refereed?:
Yes
Published?:
Published
Last Modified:
25 Nov 2020 06:44