@inproceedings{c5266f6fdd034b7d8409792088873d68,
title = "Clonepedia: Summarizing code clones by common syntactic context for software maintenance",
abstract = "Code clones have to be made explicit and be managed in software maintenance. Researchers have developed many clone detection tools to detect and analyze code clones in software systems. These tools report code clones as similar code fragments in source files. However, clone-related maintenance tasks (e.g., refactorings) often involve a group of code clones appearing in larger syntactic context (e.g., code clones in sibling classes or code clones calling similar methods). Given a list of low-level code-fragment clones, developers have to manually summarize from bottom up low-level code clones that are relevant to the syntactic context of a maintenance task. In this paper, we present a clone summarization technique to summarize code clones with respect to their common syntactic context. The clone summarization allows developers to locate and maintain code clones in a top-down manner by type hierarchy and usage dependencies. We have implemented our approach in the Clonepedia tool and conducted a user study on JHotDraw with 16 developers. Our results show that Clonepedia users can better locate and refactor code clones, compared with developers using the CloneDetective tool.",
keywords = "Clone Summarization, Code Clone, Syntactic Pattern",
author = "Yun Lin and Zhenchang Xing and Xin Peng and Yang Liu and Jun Sun and Wenyun Zhao and Jinsong Dong",
note = "Publisher Copyright: {\textcopyright} 2014 IEEE.; 30th International Conference on Software Maintenance and Evolution, ICSME 2014 ; Conference date: 28-09-2014 Through 03-10-2014",
year = "2014",
month = dec,
day = "4",
doi = "10.1109/ICSME.2014.56",
language = "English",
series = "Proceedings - 30th International Conference on Software Maintenance and Evolution, ICSME 2014",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "341--350",
booktitle = "Proceedings - 30th International Conference on Software Maintenance and Evolution, ICSME 2014",
address = "United States",
}