A method of program refactoring based on code clone detection and impact analysis

This paper proposes a method that aggregates similar portions in a program into one common portion and redesigns current program structure to appropriate program structure. When a new function is added to an existing program, the function tends to be developed by copying & pasting a portion in t...

Full description

Saved in:
Bibliographic Details
Published in:2016 55th Annual Conference of the Society of Instrument and Control Engineers of Japan (SICE) pp. 673 - 678
Main Authors: Takahashi, Masakazu, Nanba, Reiji, Anang, Yunarso, Uchiyama, Tatsuya, Watanabe, Yoshimichi
Format: Conference Proceeding
Language:English
Japanese
Published: The Society of Instrument and Control Engineers - SICE 01.09.2016
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:This paper proposes a method that aggregates similar portions in a program into one common portion and redesigns current program structure to appropriate program structure. When a new function is added to an existing program, the function tends to be developed by copying & pasting a portion in the program and modifying its portion. As a result, it becomes to exist many similar portions in the program. In the case that error modifications or changes occurs in the similar portion, appropriate modifications are required to the all similar portions. It would be considered that the quality and efficiency of those tasks are decreased. So that, this paper proposes a method that detect similar portions with minor modifications and a method that aggregates those similar portions to one appropriate common portion with well-defined program structure. As a result, current program becomes to be refined to the program that can accommodate future modification or changes properly.
DOI:10.1109/SICE.2016.7749180