On the modularization and reuse of exception handling with aspects
- 2 October 2009
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 39 (17) , 1377-1417
Abstract
This paper presents an in‐depth study of the adequacy of the AspectJ language for modularizing and reusing exception‐handling code. The study consisted of refactoring existing applications so that the code responsible for implementing error‐handling strategies was moved to newly created exception handler aspects. We have performed quantitative assessments of five systems—four object‐oriented and one aspect‐oriented—based on four key quality attributes, namely separation of concerns, coupling, cohesion, and conciseness. Our investigation also included a multi‐perspective analysis of the refactored systems, including (i) the extent to which error‐handling aspects can be reused, (ii) the beneficial and harmful aspectization scenarios for exception handling, and (iii) the scalability of AOP to support the modularization of exception handling in the presence of other aspects. Copyright © 2009 John Wiley & Sons, Ltd.Keywords
This publication has 36 references indexed in Scilit:
- Towards reusable components with aspects2008
- Exceptional situations and program reliabilityACM Transactions on Programming Languages and Systems, 2008
- Assessing the Impact of Aspects on Exception Flows: An Exploratory Study2008
- On the Impact of Aspectual Decompositions on Design Stability: An Empirical Study2007
- Modularizing Design Patterns with Aspects: A Quantitative StudyLecture Notes in Computer Science, 2006
- Automatic detection and masking of nonatomic exception handlingIEEE Transactions on Software Engineering, 2004
- AOP: Does It Make Sense? The Case of Concurrency and Failures2002
- A comparative study of exception handling mechanisms for building dependable object-oriented softwareJournal of Systems and Software, 2001
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994
- Exception handlingCommunications of the ACM, 1975