Vidock: a Tool for Impact Analysis of Aspect Weaving on Test Cases

Romain Delamare 1 Freddy Munoz 1 Benoit Baudry 1 Yves Le Traon 2
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 : Weaving aspects in a program impacts its existing behaviors. If test cases exist for the program, we must identify the ones that validate impacted behaviors to check the interactions between the program and the aspects. Vidock performs a static analysis when aspects are compiled with a program to select the test cases impacted by the aspects. It leverages the pointcut descriptor to locate the set of methods impacted by aspects and then selects the test cases that can reach an impacted method. This analysis assumes that the program can execute without the aspects and that static over approximations are reasonable. We measure the occurrence of these assumptions in 46 projects containing 498 aspects to show they have a limited impact. Then, we run experiments with Vidock on 5 cases studies and analyze the impacts that different types of aspects can have on test cases.
Document type :
Conference papers
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download
Contributor : Didier Vojtisek <>
Submitted on : Wednesday, January 12, 2011 - 10:27:06 AM
Last modification on : Thursday, November 15, 2018 - 11:57:22 AM
Long-term archiving on : Monday, November 5, 2012 - 4:20:17 PM


Files produced by the author(s)


  • HAL Id : inria-00555069, version 1


Romain Delamare, Freddy Munoz, Benoit Baudry, Yves Le Traon. Vidock: a Tool for Impact Analysis of Aspect Weaving on Test Cases. International Conference on Testing Software and Systems, 2010, Natal, Brazil, Brazil. ⟨inria-00555069v1⟩



Record views


Files downloads