A pointcut-based coverage analysis approach for aspect-oriented programs

A pointcut-based coverage analysis approach for aspect-oriented programs

Author Lazzarini Lemos, Otavio Augusto Autor UNIFESP Google Scholar
Masiero, Paulo Cesar Google Scholar
Institution Universidade Federal de São Paulo (UNIFESP)
Universidade de São Paulo (USP)
Abstract Aspect-oriented programming (AOP) is a promising technology that supports separation of crosscutting concerns (i.e., functionality that tends to be tangled with, and scattered through the rest of the system). in AOP, a method-like construct named advice is applied to join points in the system through a special construct named pointcut. This mechanism supports the modularization of crosscutting behavior; however, since the added interactions are not explicit in the source code, it is hard to ensure their correctness. To tackle this problem, this paper presents a rigorous coverage analysis approach to ensure exercising the logic of each advice - statements, branches, and def-use pairs - at each affected join point. To make this analysis possible, a structural model based on Java bytecode - called PointCut-based Del-Use Graph (PCDU) - is proposed, along with three integration testing criteria. Theoretical, empirical, and exploratory studies involving 12 aspect-oriented programs and several fault examples present evidence of the feasibility and effectiveness of the proposed approach. (C) 2010 Elsevier Inc. All rights reserved.
Keywords Software testing
Aspect-oriented programming
Structural testing
Integration testing
Testing criteria
Testing aspect-oriented programs
Language English
Sponsor Fundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP)
Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)
Grant number FAPESP: 2008/10300-3
Date 2011-07-01
Published in Information Sciences. New York: Elsevier B.V., v. 181, n. 13, p. 2721-2746, 2011.
ISSN 0020-0255 (Sherpa/Romeo, impact factor)
Publisher Elsevier B.V.
Extent 2721-2746
Origin http://dx.doi.org/10.1016/j.ins.2010.06.003
Access rights Closed access
Type Article
Web of Science ID WOS:000293035700009
URI http://repositorio.unifesp.br/handle/11600/33858

Show full item record


File Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)




My Account