Mining revision histories to detect cross-language clones without intermediates

Xiao Cheng, Zhiming Peng, Lingxiao Jiang, Hao Zhong, Haibo Yu, Jianjun Zhao

研究成果: 著書/レポートタイプへの貢献会議での発言

7 引用 (Scopus)

抜粋

To attract more users on different platforms, many projects release their versions in multiple programming languages (e.g., Java and C#). They typically have many code snippets that implement similar functionalities, i.e., cross-language clones. Programmers often need to track and modify crosslanguage clones consistently to maintain similar functionalities across different language implementations. In literature, researchers have proposed approaches to detect crosslanguage clones, mostly for languages that share a common intermediate language (such as the .NET language family) so that techniques for detecting single-language clones can be applied. As a result, those approaches cannot detect cross-language clones for many projects that are not implemented in a .NET language. To overcome the limitation, in this paper, we propose a novel approach, CLCMiner, that detects cross-language clones automatically without the need of an intermediate language. Our approach mines such clones from revision histories, which reect how programmers maintain cross-language clones in practice. We have implemented a prototype tool for our approach and conducted an evaluation on five open source projects that have versions in Java and C#. The results show that CLCMiner achieves high accuracy and point to promising future work.

元の言語英語
ホスト出版物のタイトルASE 2016 - Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering
編集者Sarfraz Khurshid, David Lo, Sven Apel
出版者Association for Computing Machinery, Inc
ページ696-701
ページ数6
ISBN(電子版)9781450338455
DOI
出版物ステータス出版済み - 8 25 2016
イベント31st IEEE/ACM International Conference on Automated Software Engineering, ASE 2016 - Singapore, シンガポール
継続期間: 9 3 20169 7 2016

出版物シリーズ

名前ASE 2016 - Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering

その他

その他31st IEEE/ACM International Conference on Automated Software Engineering, ASE 2016
シンガポール
Singapore
期間9/3/169/7/16

    フィンガープリント

All Science Journal Classification (ASJC) codes

  • Software
  • Computational Theory and Mathematics
  • Human-Computer Interaction

これを引用

Cheng, X., Peng, Z., Jiang, L., Zhong, H., Yu, H., & Zhao, J. (2016). Mining revision histories to detect cross-language clones without intermediates. : S. Khurshid, D. Lo, & S. Apel (版), ASE 2016 - Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering (pp. 696-701). (ASE 2016 - Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering). Association for Computing Machinery, Inc. https://doi.org/10.1145/2970276.2970363