Diploma Thesis DIP-2176

BibliographyLiu, Yidong: Semiautomatische Entfernung des duplizierten Codes.
University of Stuttgart, Faculty of Computer Science, Diploma Thesis No. 2176 (2004).
101 pages, english.
CR-SchemaD.2.2 (Software Engineering Design Tools and Techniques)
Keywordscode clone detection; code clone replacement; code transformation
Abstract

This thesis designed, implemented and described a prototype in the field of code transformation for the duplicated code. It analyses the clone pairs, which were saved as attributes in the IML_Graphs, generates new functions or macros for the clone codes according to the predifined transformation rules, then displays the new functions/macros and replaces the duplicated code with the calls to them. The programming languages in the work are Ada95 and Emacs Lisp.

The work can be divided into three parts. First is to extend the code clone detection tool - CCDIML; then the clone list from CCDIML will be analyzed and transformed to new functions/macros; the last step is to replace the duplicated code with calls of the functions/macros. The correctness and precision of the replacement of clones depends on the reulst of the clone detection, so the work can be further enhanced in collaboration with the improvement of CCDIML.

Full text and
other links
PDF (1054533 Bytes)
Access to students' publications restricted to the faculty due to current privacy regulations
Contactinf33331@stud.uni-stuttgart.de
Department(s)University of Stuttgart, Institute of Software Technology, Programming Languages and Compilers
Project(s)Bauhaus
Entry dateAugust 17, 2004
   Publ. Computer Science