AjMutator: A Tool for the Mutation Analysis of AspectJ Pointcut Descriptors
- Resource Type
- Conference
- Authors
- Delamare, Romain; Baudry, Benoit; Le Traon, Yves
- Source
- 2009 International Conference on Software Testing, Verification, and Validation Workshops Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on. :200-204 Apr, 2009
- Subject
- Computing and Processing
Genetic mutations
Software testing
System testing
Performance analysis
Conferences
Fault detection
mutation analysis
aspect-oriented programming
pointcut descriptors
- Language
Aspect-oriented programming introduces new challenges for software testing. Inparticular the pointcut descriptor (PCD) requires particular attention fromtesters. The PCD describes the set of joinpoints 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 thePCDs to generate a set of mutants. AjMutator classifies the mutants accordingto the set of joinpoints they match compared to the set of joinpoints matchedby the initial PCD. An interesting result is that this automaticclassification 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 mutationscore. We have applied AjMutator on two systems to show that this tool issuitable for the mutation analysis of PCDs on large AspectJ systems.