Title
Is Exception Handling a Reusable Aspect?
Abstract
A number of studies have evaluated the impact of modularizing the exception handling concern using aspect-oriented programming (AOP). Even though some of these studies have claimed that reuse through AOP is possible and advantageous in some cases, they have not focused specifically on reuse, often using the overall number of lines of code as a proxy for it. This has produced often contradictory results that are difficult to understand and extrapolate. In this paper we describe a study whose goal is to answer the question in the title of the paper. We have extracted exception handlers from 10 distinct applications to AspectJ aspects and, whenever possible, reused the handlers that were duplicated throughout each application. We have also collected a number of metrics from these systems and analyzed whether there is a relationship between the exception handling strategies that an application employs and the extent to which handlers implementing them are reusable. We discuss some scenarios and complicating factors related to reuse and present solutions that we have found to circumvent these complications. We also analyze limitations of current AspectJ constructs.
Year
DOI
Venue
2014
10.1109/SBCARS.2014.17
SBCARS
Keywords
Field
DocType
aspect-oriented programming,exception handling strategies,aspect-oriented prograaming,exception handling,aspectj,software reusability,aop,exception handling reuse
Is-a,Programming language,Reuse,Computer science,Exception handling,AspectJ,Source lines of code
Conference
Citations 
PageRank 
References 
1
0.36
17
Authors
5
Name
Order
Citations
PageRank
Adauto Almeida1212.44
Emanoel Barreiros2303.96
Juliana Saraiva3212.15
Fernando Castor447222.26
Sérgio Soares527713.30