DocumentCode :
2345338
Title :
Using Structural Testing to Identify Unintended Join Points Selected by Pointcuts in Aspect-Oriented Programs
Author :
Lemos, Otavio Augusto Lazzarini ; Masiero, Paulo Cesar
Author_Institution :
Dept. de Sist. de Comput., ICMC/USP - Sao Carlos, Sao Carlos, Brazil
fYear :
2008
fDate :
15-16 Oct. 2008
Firstpage :
84
Lastpage :
93
Abstract :
The goal of aspect-oriented programming is to modularize concerns that tend to tangle with and scatter across multiple modules of software systems. For that purpose, crosscutting behavior implemented as advice is applied to several points of the base program (i.e., join points) using pointcut mechanisms. However, if pointcuts are wrongly defined, advice can be applied to unintended join points, injecting faults into the system. In this paper we propose the use of an integration structural testing approach to identify these unintended join points caused by faulty pointcuts. We present an AspectJ example that shows evidence of the effectiveness of our approach in this context.
Keywords :
integrated software; program testing; AspectJ; aspect-oriented programming; aspect-oriented programs; crosscutting behavior; integration structural testing; pointcuts; software systems; unintended join points identification; Application software; Automatic control; Conferences; Fault diagnosis; Programming; Scattering; Software quality; Software systems; Software testing; System testing; Aspect-Oriented Programming; AspectJ; Integration Testing; Java; Structural Testing; Testing of Aspect-Oriented Programs; White-box Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Workshop, 2008. SEW '08. 32nd Annual IEEE
Conference_Location :
Kassandra
ISSN :
1550-6215
Print_ISBN :
978-0-7695-3617-0
Type :
conf
DOI :
10.1109/SEW.2008.11
Filename :
5328406
Link To Document :
بازگشت