본문 바로가기
  • Home

Cross-Language Clone Detection based on Common Token

  • Journal of Software Assessment and Valuation
  • Abbr : JSAV
  • 2018, 14(2), pp.35-44
  • Publisher : Korea Software Assessment and Valuation Society
  • Research Area : Engineering > Computer Science

Sung-Moon Hong 1 Hyunha Kim 2 LEE JAEHYUNG 1 박성우 1 Ji Hwan Mo 1 Doh, Kyung-Goo 1

1한양대학교(ERICA캠퍼스)
2소프토피아(주)

Candidate

ABSTRACT

Tools for detecting cross-language clones usually compare abstract-syntax-tree representations of source code, which lacks scalability. In order to compare large source code to a practical level, we need a similarity checking technique that works on a token level basis. In this paper, we define common tokens that represent all tokens commonly used in programming languages of different paradigms. Each source code of different language is then transformed into the list of common tokens that are compared. Experimental results using exEyes show that our proposed method using common tokens is effective in detecting cross-language clones.

Citation status

* References for papers published after 2023 are currently being built.