Striewe, Michael; Goedicke, Michael:
Dependency analysis and manipulation using abstract syntax graphs
In: Joint Astrenet/Sosornet Workshop on Source Code Analsysis and Software Services - London, 2007, pp. 1 - 4
2007book article/chapter in collection
Computer Science
Title:
Dependency analysis and manipulation using abstract syntax graphs
Author:
Striewe, MichaelUDE
LSF ID
48192
ORCID
0000-0001-8866-6971ORCID iD
Other
connected with university
;
Goedicke, MichaelUDE
LSF ID
5091
ORCID
0009-0004-2383-6764ORCID iD
Other
connected with university

Abstract:

Both the migration from legacy systems to service-oriented systems and maintainance tasks on existing systems require a deep understanding of the existing source code structure and system architecture. Reverse engineering tools are able to reconstruct the system architecture from existing implementations and are therefore one of the most important means in this case. Nevertheless a system architecture prescinds from implementation details and can hardly be used for direct manipulation of source code. But the migration into service-oriented frameworks is not only a problem of architectural redesign, but in fact a problem of code rewriting. A different and possibly better way to analyse a legacy system can be to support reengineering results by an abstract syntax tree that is extended to an abstract syntax graph by adding additional information. Manipulations can be done directly on the abstract syntax graph and therefore on the source code, which guarantees consistency between model and source code.