DocumentCode :
1727870
Title :
A Joinpoint Coverage Measurement Tool for Evaluating the Effectiveness of Test Inputs for AspectJ Programs
Author :
Wedyan, Fadi ; Ghosh, Sudipto
Author_Institution :
Dept. of Comput. Sci., Colorado State Univ., CO
fYear :
2008
Firstpage :
207
Lastpage :
212
Abstract :
Testing aspect-oriented programs is challenging in part because of the interactions between the aspects and the base classes with which the aspects are woven. Coverage metrics, such as joinpoint coverage, address faults resulting from the changes in base class control flow that may be introduced by the woven advices. Definitions of joinpoint coverage in the literature typically require counting the execution of aspects at each joinpoint. We present a tool for measuring joinpoint coverage from two perspectives: per advice, which measures the execution of the advice at each joinpoint it is woven into, and per class, which measures the execution of all the advices in each joinpoint in the class. This gives a more detailed measurement of joinpoint coverage and helps in identifying what more needs to be tested in both the base class and the aspect. The tool is based on AspectJ and Java bytecode, and thus, does not require any source code. We demonstrate the use of our tool to measure the joinpoint coverage of test inputs generated by Xie and Zhao´s Aspectra framework.
Keywords :
Java; object-oriented programming; program testing; software performance evaluation; AspectJ programs; Java bytecode; aspect-oriented programs; coverage metrics; joinpoint coverage measurement tool; program testing; Automatic testing; Computer science; Costs; Java; Libraries; Reliability engineering; Software measurement; Software reliability; Software systems; Software testing; AspectJ; Java bytecode; aspect-oriented programming; joinpoints; test coverage; test input generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering, 2008. ISSRE 2008. 19th International Symposium on
Conference_Location :
Seattle, WA
ISSN :
1071-9458
Print_ISBN :
978-0-7695-3405-3
Electronic_ISBN :
1071-9458
Type :
conf
DOI :
10.1109/ISSRE.2008.12
Filename :
4700325
Link To Document :
بازگشت