Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH scholarly article en Correia, Rui; Matos, Carlos; El-Ramly, Mohammad; Heckel, Reiko License
when quoting this document, please refer to the following
URN: urn:nbn:de:0030-drops-8815

; ; ;

Rule-based Model Extraction from Source Code



In the context of an approach for reengineering legacy soft- ware systems at the architectural level, we present in this paper a reverse engineering methodology that uses a model de¯ned as a type graph to represent source-code subject to a code categorization process. Two al- ternative methods for referencing the source code are discussed: native vs. graphical. To represent the code, the native representation uses the abstract syntax tree while the graphical uses a programming language metamodel. Two options regarding the way that the graph can relate to the source code reference model are also considered: association model vs. direct link. The extraction of the program representation, complying to the type graph, is based on rules that categorize source code according to its purpose. The techniques to address this process, such as the code categorization rules, are shown together with examples.

BibTeX - Entry

  author =	{Rui Correia and Carlos Matos and Mohammad El-Ramly and Reiko Heckel},
  title =	{Rule-based Model Extraction from Source Code},
  booktitle =	{Aspects For Legacy Applications},
  year =	{2007},
  editor =	{Siobh{\'a}n Clarke and Leon Moonen and Ganesan Ramalingam },
  number =	{06302},
  series =	{Dagstuhl Seminar Proceedings},
  ISSN =	{1862-4405},
  publisher =	{Internationales Begegnungs- und Forschungszentrum f{\"u}r Informatik (IBFI), Schloss Dagstuhl, Germany},
  address =	{Dagstuhl, Germany},
  URL =		{},
  annote =	{Keywords: Reverse engineering, Code categorization, Program representation}

Keywords: Reverse engineering, Code categorization, Program representation
Seminar: 06302 - Aspects For Legacy Applications
Issue date: 2007
Date of publication: 08.02.2007

DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI