Title :
AjMutator: A Tool for the Mutation Analysis of AspectJ Pointcut Descriptors
Author :
Delamare, Romain ; Baudry, Benoit ; Le Traon, Yves
Author_Institution :
IRISA / INRIA Rennes, Rennes
Abstract :
Aspect-oriented programming introduces new challenges for software testing. In particular the pointcut descriptor (PCD) requires particular attention from testers. The PCD describes the set of join points where the advices are woven.In this paper we present a tool, AjMutator, for the mutation analysis of PCDs. AjMutator implements several mutation operators that introduce faults in the PCDs to generate a set of mutants. AjMutator classifies the mutants according to the set of join points they match compared to the set of join points matched by the initial PCD. An interesting result is that this automatic classification can identify equivalent mutants for a particular class of PCDs. AjMutator can also run a set of test cases on the mutants to give a mutation score. We have applied AjMutator on two systems to show that this tool is suitable for the mutation analysis of PCDs on large AspectJ systems.
Keywords :
program testing; AjMutator tool; AspectJ pointcut descriptor; PCD; aspect-oriented programming; mutation analysis; pointcut descriptor; software testing; Conferences; Fault detection; Genetic mutations; Performance analysis; Software testing; System testing; aspect-oriented programming; mutation analysis; pointcut descriptors;
Conference_Titel :
Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-4356-7
DOI :
10.1109/ICSTW.2009.41