Unveiling and Taming Liabilities of Aspects in the Presence of Exceptions:A Static Analysis Based Approach

Coelho, Roberta and von Staa, Arndt and Kulesza, Uirá and Rashid, Awais and Lucena, Carlos (2011) Unveiling and Taming Liabilities of Aspects in the Presence of Exceptions:A Static Analysis Based Approach. Information Sciences, 181 (13). pp. 2700-2720. ISSN 0020-0255

Full text not available from this repository.

Abstract

As aspects extend or replace existing functionality at specific join points in the code, their behavior may raise new exceptions, which can flow through the program execution in unexpected ways. Assuring the reliability of exception handling code in aspect-oriented (AO) systems is a challenging task. Testing the exception handling code is inherently difficult, since it is tricky to provoke all exceptions during tests, and the large number of different exceptions that can happen in a system may lead to the test-case explosion problem. Moreover, we have observed that some properties of AO programming (e.g., quantification, obliviousness) may conflict with characteristics of exception handling mechanisms, exacerbating existing problems (e.g., uncaught exceptions). The lack of verification approaches for exception handling code in AO systems stimulated the present work. This work presents a verification approach based on a static analysis tool, called SAFE, to check the reliability of exception handling code in AspectJ programs. We evaluated the effectiveness and feasibility of our approach in two complementary ways (i) by investigating if the SAFE tool is precise enough to uncover exception flow information and (ii) by applying the approach to three medium-sized ApectJ systems from different application domains.

Item Type:
Journal Article
Journal or Publication Title:
Information Sciences
Uncontrolled Keywords:
/dk/atira/pure/subjectarea/asjc/1700/1706
Subjects:
?? EXCEPTION HANDLING; ASPECT-ORIENTED PROGRAMMING; STATIC ANALYSIS; EXCEPTION FLOW ANALYSIS; EXCEPTION HANDLING RULES CONFORMANCEARTIFICIAL INTELLIGENCETHEORETICAL COMPUTER SCIENCESOFTWAREINFORMATION SYSTEMS AND MANAGEMENTCONTROL AND SYSTEMS ENGINEERINGCOMP ??
ID Code:
50766
Deposited By:
Deposited On:
28 Oct 2011 15:19
Refereed?:
Yes
Published?:
Published
Last Modified:
16 Sep 2023 00:38