AjMutator: A Tool For The Mutation Analysis Of AspectJ Pointcut Descriptors

Romain Delamare 1 Benoit Baudry 1 Yves Le Traon 1
1 TRISKELL - Reliable and efficient component based software engineering
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, Inria Rennes – Bretagne Atlantique
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 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 the PCDs to generate a set of mutants. AjMutator classifies the mutants according to the set of joinpoints they match compared to the set of joinpoints 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.
Document type :
Conference papers
Complete list of metadatas

Cited literature [8 references]  Display  Hide  Download

https://hal.inria.fr/inria-00477531
Contributor : Didier Vojtisek <>
Submitted on : Thursday, April 29, 2010 - 2:24:44 PM
Last modification on : Friday, November 16, 2018 - 1:30:03 AM
Long-term archiving on : Monday, October 22, 2012 - 3:31:03 PM

File

Delamare09b.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00477531, version 1

Citation

Romain Delamare, Benoit Baudry, Yves Le Traon. AjMutator: A Tool For The Mutation Analysis Of AspectJ Pointcut Descriptors. Mutation'09: Proceedings of the 4th International Workshop on Mutation Analysis, 2009, Denver, Colorado, USA, United States. ⟨inria-00477531⟩

Share

Metrics

Record views

307

Files downloads

181