An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats

This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:SICE Journal of Control, Measurement, and System Integration Measurement, and System Integration, 2017, Vol.10(3), pp.184-191
Hauptverfasser: TAKAHASHI, Masakazu, NANBA, Reiji, ANANG, Yunarso, WATANABE, Yoshimichi
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted, the design methods that code clones are aggregated are proposed, the program is modified, and the affected portions in the program are clarified and retested. Furthermore, a tool that supports the proposed method is created. As a result of applying the proposed method and the tool, it is found that 45% CCs are aggregated and 13% instructions of the program are deleted. Additionally, it is found that an adequate program structure is realized by using the proposed method and the tool.
ISSN:1882-4889
1884-9970
DOI:10.9746/jcmsi.10.184