Assessing the impact of aspects on exception flows: An exploratory study

63Citations
Citations of this article
36Readers
Mendeley users who have this article in their library.
Get full text

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. © 2008 Springer-Verlag.

Cite

CITATION STYLE

APA

Coelho, R., Rashid, A., Garcia, A., Ferrari, F., Cacho, N., Kulesza, U., … Lucena, C. (2008). Assessing the impact of aspects on exception flows: An exploratory study. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5142 LNCS, pp. 207–234). https://doi.org/10.1007/978-3-540-70592-5_10

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free