Recovering Sequence Diagrams from Object-oriented Code - An ADM Approach

Liliana Martinez, Claudia Pereira, Liliana Favre

2014

Abstract

Software modernization is a current research area in the software industry intended to transform an existing software system to a new one satisfying new demands. The initiative Architecture-Driven Modernization (ADM) helps software developers in tackling reverse engineering, software evolution and, software modernization in general. To support modernization problems, the ADM Task Force has defined a set of metamodels such as KDM (Knowledge Discovery Metamodel), being the Eclipse-MDT MoDisco project the official support for software modernization. We propose the application of ADM principles to provide relevant model-based views on legacy systems. We describe a framework to reverse engineering models from object-oriented code. In this context, we show how to recover UML sequence diagrams from Java code. We validate our approach by using ADM standards and MoDisco platform. Our research can be considered a contribution to the MoDisco community; MoDisco does not support reverse engineering of sequence diagrams and, on the other hand, the MoDisco KDM Discover was used and enriched to obtain the required information for recovering interaction diagrams.

References

  1. ADM 2014. Architecture-Driven Modernization Task Force. http://www.omgwiki.org/admtf/doku.php
  2. ASTM 2011. Abstract Syntax Tree Metamodel, version 1.0, OMG Document Number: formal/2011-01-05. http://www.omg.org/spec/ASTM
  3. ATL 2014. Atlas Transformation Language (ATL). http://www.eclipse.org/atl/documentation/
  4. Barbier, F., Deltombe, G., Parisy, O., and Youbi, K. 2011. Model Driven Engineering: Increasing Legacy Technology Independence. In 2nd India Workshop on Reverse Engineering in The 4th India Software Engineering Conference (pp. 5-10). India: CSI ed.
  5. Blu Age Reverse Modeling 2014. http://bluage.com /en/en_product/en_ba_rev_modeling.html
  6. Brambilla, M., Cabot, J., and Wimmer, M. 2012. ModelDriven Software Engineering in Practice. Synthesis Lectures on Software Engineering. Morgan & Claypool Publishers.
  7. Cánovas Izquierdo, J., and García Molina, J. 2009a. A domain specific language for extracting models in software modernization. Model Driven Architecture - Foundations and Applications, Lecture Notes in Computer Science, 2009 (Volume 5562, pp. 82-97). Berlin, Heidelberg: Springer-Verlag.
  8. Cánovas Izquierdo, J., and García Molina, J. 2009b. Extracción de modelos en una modernización basada en ADM. Actas de los Talleres de las Jornadas de Ingeniería de Software y BBDD, (Vol 3, issue 2, pp. 41-50). http://www.sistedes.es/ficheros/actas-talleresJISBD/Vol-3/No-2/DSDM09.pdf
  9. Deissenboeck, F., and Ratiu, D. 2006. A Unified Meta Model for Concept-Based Reverse Engineering. In 3rd International Workshop on Metamodels, Schemes, Grammars, and Ontologies for Reverse Engineering. http://planet-de.org/atem2006/atem06Proceedings.pdf
  10. Java Call Tracer 2014. http://sourceforge.net/projects/java calltracer/
  11. KDM 2011. Knowledge Discovery Metamodel, version 1.3, OMG Document Number: formal/2011-08-04. http://www.omg.org/spec/KDM/1.3
  12. MDA 2014. The Model-Driven Architecture. http://www.omg.org/mda/
  13. Martinez, L., Favre, L., and Pereira C. 2013. ArchitectureDriven Modernization for Software Reverse Engineering Technologies. In Progressions and Innovations in Model-Driven Software Engineering. IGI Global, pp 288-307.
  14. MoDisco 2014. Model Discovery. http://www.eclipse.org/ MoDisco
  15. MOF 2011. Meta Object Facility (MOF) Core Specification Version 2.4.1, formal/2011-08-07. http://www.omg.org/spec/MOF/2.4.1
  16. QVT 2011. QVT: MOF 2.0 Query, View, Transformation. Version 1.1, OMG Document Number: formal/2011- 01-01. http://www.omg.org/spec/QVT/1.1/
  17. Tonella, P., and Potrich, A. 2005. Reverse Engineering of Object Oriented Code. Monographs in Computer Science. Heidelberg: Springer-Verlag.
  18. UML 2011. Unified Modeling Language: Infrastructure. Version 2.4.1, OMG Specification formal/2011-08-05. http://www.omg.org/spec/UML/2.4.1/
  19. Visual Paradigm 2014. http://www.visualparadigm.com/solution/visualtrace/
Download


Paper Citation


in Harvard Style

Martinez L., Pereira C. and Favre L. (2014). Recovering Sequence Diagrams from Object-oriented Code - An ADM Approach . In Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-030-7, pages 188-195. DOI: 10.5220/0004894201880195


in Bibtex Style

@conference{enase14,
author={Liliana Martinez and Claudia Pereira and Liliana Favre},
title={Recovering Sequence Diagrams from Object-oriented Code - An ADM Approach},
booktitle={Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2014},
pages={188-195},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004894201880195},
isbn={978-989-758-030-7},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - Recovering Sequence Diagrams from Object-oriented Code - An ADM Approach
SN - 978-989-758-030-7
AU - Martinez L.
AU - Pereira C.
AU - Favre L.
PY - 2014
SP - 188
EP - 195
DO - 10.5220/0004894201880195