Skip to Main content Skip to Navigation
New interface
Conference papers

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

Romain Delamare 1 Freddy Munoz 1 Benoit Baudry 1 Yves 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 : The addition of a cross-cutting concern in a program, through aspect weaving, has an impact on its existing behaviors. If test cases exist for the program, it is necessary to identify the subset of test cases that trigger the behavior impacted by the aspect. This subset serve to check that interactions between aspects and the base program do not introduce some unexpected behavior. 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 static analysis has to perform over-approximations when the actual point where the aspect is executed can be computed only at runtime and when test cases call polymorphic objects. We measure the occurrence of these assumptions in 4986 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 metadata

Cited literature [12 references]  Display  Hide  Download
Contributor : Hal Ifip Connect in order to contact the contributor
Submitted on : Tuesday, August 12, 2014 - 9:16:45 AM
Last modification on : Friday, February 4, 2022 - 3:22:01 AM
Long-term archiving on: : Wednesday, November 26, 2014 - 10:36:50 PM


Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License



Romain Delamare, Freddy Munoz, Benoit Baudry, Yves Traon. Vidock: A Tool for Impact Analysis of Aspect Weaving on Test Cases. 22nd IFIP WG 6.1 International Conference on Testing Software and Systems (ICTSS), Nov 2010, Natal, Brazil. pp.250-265, ⟨10.1007/978-3-642-16573-3_18⟩. ⟨inria-00555069v2⟩



Record views


Files downloads