«

»

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

by Romain Delamare, Freddy Muñoz, Benoit Baudry, Yves Le Traon
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.
Reference:
Vidock: a Tool for Impact Analysis of Aspect Weaving on Test Cases (Romain Delamare, Freddy Muñoz, Benoit Baudry, Yves Le Traon), In Proceedings of the International Conference on Testing Software and Systems (ICTSS), IFIP, 2010.
Bibtex Entry:
@inproceedings{Delamare2010n2,
	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.
      },
	Address = {Natal, Brazil},
	keywords = {test, AOP},
	Author = {Romain Delamare and Freddy Mu{~n}oz and Benoit Baudry and Yves Le Traon},
	Booktitle = {Proceedings of the International Conference on Testing Software and Systems (ICTSS)},
	Month = {November},
	Publisher = {IFIP},
	Title = {Vidock: a Tool for Impact Analysis of Aspect Weaving on Test Cases},
	Url = {http://www.irisa.fr/triskell/publis/2010/Delamare2010n1.pdf},
	X-Editorial-Board = {yes},
	X-International-Audience = {yes},
	X-Language = {EN},
	X-Proceedings = {yes},
	Year = {2010},
	pages = {250 - 265},
	x-abbrv = {ICTSS},}