A Feature Analysis of Co-changed Code Clone by Using Clone Metrics
スポンサーリンク
概要
- 論文の詳細を見る
Code clones are duplicated or similar code fragments, and they have been known as major entities affecting the software maintainability. Sometimes there are "co-changes" in pair of code clones: when a code fragment is changed, the clone of the fragment is also changed. Such a co-change is one of key event to discuss the successful management of code clone. This paper analyzes the trends of co-changed code clones by using the length and the content of code clones. The empirical results show that: (1) there would be a specific length of clone to be mostly co-changed (around 60-100 tokens), and (2) code clones without any "control flow keywords" have a higher possibility to be co-changed than the others.
- The Institute of Electronics, Information and Communication Engineersの論文
著者
-
SANDHI YUDHA
Graduate School of Science and Engineering, Ehime University
-
ASANO Ryohei
Graduate School of Science and Engineering, Ehime University
-
AMAN Hirohisa
Graduate School of Science and Engineering, Ehime University