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.
Type de document :
Communication dans un congrès
Alexandre Petrenko; Adenilso Simão; José Carlos Maldonado. 22nd IFIP WG 6.1 International Conference on Testing Software and Systems (ICTSS), Nov 2010, Natal, Brazil. Springer, Lecture Notes in Computer Science, LNCS-6435, pp.250-265, 2010, Testing Software and Systems. 〈10.1007/978-3-642-16573-3_18〉
Liste complète des métadonnées

Littérature citée [12 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00555069
Contributeur : Hal Ifip <>
Soumis le : mardi 12 août 2014 - 09:16:45
Dernière modification le : vendredi 16 novembre 2018 - 01:23:45
Document(s) archivé(s) le : mercredi 26 novembre 2014 - 22:36:50

Fichier

ictss2010.pdf
Fichiers produits par l'(les) auteur(s)

Licence


Distributed under a Creative Commons Paternité 4.0 International License

Identifiants

Citation

Romain Delamare, Freddy Munoz, Benoit Baudry, Yves Traon. Vidock: A Tool for Impact Analysis of Aspect Weaving on Test Cases. Alexandre Petrenko; Adenilso Simão; José Carlos Maldonado. 22nd IFIP WG 6.1 International Conference on Testing Software and Systems (ICTSS), Nov 2010, Natal, Brazil. Springer, Lecture Notes in Computer Science, LNCS-6435, pp.250-265, 2010, Testing Software and Systems. 〈10.1007/978-3-642-16573-3_18〉. 〈inria-00555069v2〉

Partager

Métriques

Consultations de la notice

558

Téléchargements de fichiers

125