Extracting Clone Genealogies for Tracking Code Clone Changes

Chun-Hui Wang, Ying Tu, Li-Ping Zhang, Dong-Sheng Liu
2016 International Journal of Security and Its Applications  
Software system's clones are usually two aspects influence on software maintenance and management. One is some clones are effective and can reuse. The other is some clones are unsafe and need revise or reconfiguration. The reason is that the changes of code clones are different. How to determine the clones' attribute of effective or unsafe, it need to track clone changes in the evolution versions of a software system. We firstly find the clones and clone groups in multiple versions of a
more » ... system using a clone detector FCD, and construct the mapping of every adjacent version basing on the similarity of code clones, then extract clone genealogies in the software system. The clone genealogies' results are efficient and can help us analysis the code clone changes and get the attribute about effective and unsafe.
doi:10.14257/ijsia.2016.10.3.03 fatcat:c6hgby3kyney7jvua7ledtk5si