On the feasibility of detecting cross-platform code clones via identifier similarity

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

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

4 引用 (Scopus)

抜粋

More and more mobile applications run on multiple mobile operating systems to attract more users of different platforms. Although versions on different platforms are implemented in different programming languages (e.g., Java and Objective-C), there must be many code snippets that implement the similar business logic on different platforms. Such code snippets are called cross-platform clones. It is challenging but essential to detect such clones for software maintenance. Due to the practice that developers usually use some common identifiers when implementing the same business logic on different platforms, in this paper, we investigate the identifier similarity of the same mobile application on different platforms and provide insights about the feasibility of cross-platform clone detection via identifier similarity. In our experiment, we have analyzed the source code of 18 open-source cross-platform applications which are implemented on Android, iOS and Windows Phone, and find that the smaller KL-Divergence the application has, the more accurate the clones detected by identifiers will be.

元の言語英語
ホスト出版物のタイトルSoftwareMining 2016 - Proceedings of the 5th International Workshop on Software Mining, co-located with ASE 2016
編集者Lucia Lucia, Ming Li, Xiaoyin Wang
出版者Association for Computing Machinery, Inc
ページ39-42
ページ数4
ISBN(印刷物)9781450345118
DOI
出版物ステータス出版済み - 9 3 2016
イベント5th International Workshop on Software Mining, SoftwareMining 2016 - co-located with ASE 2016 - Singapore, シンガポール
継続期間: 9 3 2016 → …

出版物シリーズ

名前SoftwareMining 2016 - Proceedings of the 5th International Workshop on Software Mining, co-located with ASE 2016

その他

その他5th International Workshop on Software Mining, SoftwareMining 2016 - co-located with ASE 2016
シンガポール
Singapore
期間9/3/16 → …

    フィンガープリント

All Science Journal Classification (ASJC) codes

  • Software
  • Computational Theory and Mathematics

これを引用

Cheng, X., Jiang, L., Zhong, H., Yu, H., & Zhao, J. (2016). On the feasibility of detecting cross-platform code clones via identifier similarity. : L. Lucia, M. Li, & X. Wang (版), SoftwareMining 2016 - Proceedings of the 5th International Workshop on Software Mining, co-located with ASE 2016 (pp. 39-42). (SoftwareMining 2016 - Proceedings of the 5th International Workshop on Software Mining, co-located with ASE 2016). Association for Computing Machinery, Inc. https://doi.org/10.1145/2975961.2975967