Lancaster EPrints

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, Berlin, pp. 207-234. ISBN 978-3-540-70591-8

Full text not available from this repository.


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: Exception handling ; aspect-oriented programs ; static analysis ; empirical study ; uncaught exceptions ; obsolete handler ; unintended handler
Subjects: ?? qa75 ??
Departments: Faculty of Science and Technology > School of Computing & Communications
ID Code: 53558
Deposited By: ep_importer_pure
Deposited On: 13 Apr 2012 16:11
Refereed?: No
Published?: Published
Last Modified: 18 Sep 2018 06:20
Identification Number:

Actions (login required)

View Item