Assessing Intra-application Exception Handling Reuse with Aspects
Authors:
- Julio Cesar TaveiraJTJulio Cesar Taveira
- Cristiane QueirozCQCristiane Queiroz
- Romulo LimaRLRomulo Lima
- Juliana SaraivaJSJuliana Saraiva
- Sergio SoaresSSSergio Soares
- Hitalo OliveiraHOHitalo Oliveira
- Nathalia TemudoNTNathalia Temudo
- Amanda AraujoAAAmanda Araujo
- Jefferson AmorimJAJefferson Amorim
- Fernando CastorFCFernando Castor
- Emanoel BarreirosEBEmanoel Barreiros
- 1 October 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 22-31
Abstract
Recent studies have attempted to evaluate the benefits and drawbacks of using aspect-oriented programming to modularize exception handling code. In spite of their many interesting findings, these studies have not reached a consensus when it comes to the impact of aspectization on exception handler reuse. In fact, their results are sometimes in direct contradiction.In this paper we describe a study aiming to answer the question of whether AOP really promotes the implementation of reusable exception handling. We analyze reuse in a specific context: in terms of the number of duplicated or very similar error handlers that can be removed from a program when extracting error handling code to aspects. Our study targets three industrial-strength, medium-size software systems from different domains and employs a comprehensive set of concern-specific metrics.Keywords
This publication has 14 references indexed in Scilit:
- Exception Flows Made Explicit: An Exploratory Study2009
- Do code clones matter?2009
- Evolving software product lines with aspects2008
- Towards reusable components with aspects2008
- Identifying, Assigning, and Quantifying Crosscutting Concerns2007
- Exceptions and aspects2006
- Static analysis to support the evolution of exception structure in object-oriented systemsACM Transactions on Software Engineering and Methodology, 2003
- A study on exception detection and handling using aspect-oriented programming2002
- Quantifying the closeness between program components and featuresJournal of Systems and Software, 2000
- Exception handlingCommunications of the ACM, 1975