«

»

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

by Romain Delamare, Benoit Baudry, Yves Le Traon
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.
Reference:
AjMutator: A Tool For The Mutation Analysis Of AspectJ Pointcut Descriptors (Romain Delamare, Benoit Baudry, Yves Le Traon), In Proceedings of the International Workshop on Mutation Analysis at ICST’09, 2009.
Bibtex Entry:
@inproceedings{Delamare09b,
	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.},
	keywords = {test, AOP, mutation},
	Author = {Delamare, Romain and Baudry, Benoit and Le Traon, Yves},
	Booktitle = {Proceedings of the  International Workshop on Mutation Analysis at ICST'09},
	Month = {April},
	Title = {AjMutator: A Tool For The Mutation Analysis Of AspectJ Pointcut Descriptors},
	Url = {http://www.irisa.fr/triskell/publis/2009/Delamare09b.pdf},
	X-Country = {US},
	X-Editorial-Board = {yes},
	X-International-Audience = {yes},
	X-Language = {EN},
	X-Proceedings = {yes},
	Year = {2009},
	x-abbrv = {Mutation},
}