Diplomarbeit DIP-2258

Bibliograph.
Daten
Lösch, Felix: Instrumentation of Java Program Code for Control Flow Analysis.
Universität Stuttgart, Fakultät Informatik, Elektrotechnik und Informationstechnik, Diplomarbeit Nr. 2258 (2005).
114 Seiten, englisch.
CR-Klassif.D.1.5 (Object-oriented Programming)
D.2.2 (Software Engineering Design Tools and Techniques)
D.3.3 (Programming Language Constructs and Features)
D.3.4 (Programming Languages Processors)
F.3.2 (Semantics of Programming Languages)
KeywordsInstrumentation; decision tables; maintenance; legacy systems; control flow analysis; polymorphism; Java
Kurzfassung

In this thesis we describe an approach and introduce a new tool, called JDeTEx, to extract decision tables from Java programs in order to give the maintenance engineer a better understanding of the control flow of the program. Decision tables are a compact, yet precise way to model the control flow of computer programs. In order to extract the decision tables the explicit and implicit control flow of Java programs needs to be analyzed by the tool. Firstly, the tool uses static byte code analysis to automatically extract information about polymorphic method calls that represent implicit control flow in Java programs. Secondly, the tool uses source code analysis to extract information about explicit control flow in the Java program.

The main contribution of this thesis is an approach to instrument Java programs in order to extract decision tables from programs. We use the information extracted during byte code and source code analysis to guide the instrumentation process and show that the instrumentation does not change the execution behavior of the original program. The instrumented program is executed in order to extract the program path which can then be used to construct the decision tables.

We can conclude that the use of decision tables during the maintenance phase of a project reduces the time to understand a program, especially when a lot of implicit control flow in form of polymorphism is present in the program.

Volltext und
andere Links
PDF (1073017 Bytes)
Zugriff auf studentische Arbeiten aufgrund vorherrschender Datenschutzbestimmungen nur innerhalb der Fakultät möglich
KontaktFelix Lösch felix.loesch@gmx.net
Abteilung(en)Universität Stuttgart, Institut für Softwaretechnologie, Software Engineering
Eingabedatum21. März 2005
   Publ. Informatik