When quoting this document, please refer to the following
DOI: 10.4230/DagSemProc.06302.9
URN: urn:nbn:de:0030-drops-8815
Go to the corresponding Portal

Correia, Rui ; Matos, Carlos ; El-Ramly, Mohammad ; Heckel, Reiko

Rule-based Model Extraction from Source Code

06302.CorreiaRui.Paper.881.pdf (0.3 MB)


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 =	{Correia, Rui and Matos, Carlos and El-Ramly, Mohammad and Heckel, Reiko},
  title =	{{Rule-based Model Extraction from Source Code}},
  booktitle =	{Aspects For Legacy Applications},
  pages =	{1--11},
  series =	{Dagstuhl Seminar Proceedings (DagSemProc)},
  ISSN =	{1862-4405},
  year =	{2007},
  volume =	{6302},
  editor =	{Siobh\'{a}n Clarke and Leon Moonen and Ganesan Ramalingam},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{},
  URN =		{urn:nbn:de:0030-drops-8815},
  doi =		{10.4230/DagSemProc.06302.9},
  annote =	{Keywords: Reverse engineering, Code categorization, Program representation}

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

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