Transformations between Composite and Visitor implementations in Java - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Transformations between Composite and Visitor implementations in Java

Akram Ajouli
  • Fonction : Auteur
  • PersonId : 765331
  • IdRef : 172287197
Jean-Claude Royer

Résumé

Basic automated refactoring operations can be chained to perform complex structure transformations. This is useful for recovering the initial architecture of a source code which has been degenerated with successive evolutions during its maintenance lifetime. This is also useful for changing the structure of a program so that a maintenance task at hand becomes modular when it would be initially crosscutting. We focus on programs structured according to Composite and Visitor design patterns, which have dual properties with respect to modularity. We consider a refactoring-based round-trip transformation between these two structures and we study how that transformation is impacted by four variations in the implementation of these patterns. We validate that study by computing the smallest preconditions for the resulting transformations. We also automate the transformation and apply it to JHotDraw, where the studied variations occur.
Fichier principal
Vignette du fichier
rapport.pdf (167.13 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00834149 , version 1 (12-09-2013)

Identifiants

Citer

Akram Ajouli, Julien Cohen, Jean-Claude Royer. Transformations between Composite and Visitor implementations in Java. 39th Euromicro Conference on Software Engineering and Advanced Applications (SEAA 2013), Sep 2013, Santander, Spain. 8 p. ⟨hal-00834149⟩
238 Consultations
410 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More