본문 바로가기

A Fast Detecting Method for Clone Functions Using Global Alignment of Token Sequences

문서 유형
연구출판물 · 학술대회 발표논문
등재
Scopus
저널 순위
Scopus Q4
피인용
Scopus 1
FWCI (Scopus)
0

저자

  1. 이다영제1저자Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea
  2. 고우람Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea
  3. 이브라힘 아이트카진Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea
  4. 박상운Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea
  5. 탁해성Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea
  6. 조환규Dept. of Electrical and Computer Engineering, Pusan National University, Busan, South Korea

초록

In large software projects, proper source code reuse can make development more efficient, but a lot of duplicate code and error code reuse can be a major cause of difficult system maintenance. Efficient clone code detection for large project can help manage the project. However, most of the clone detection methods are difficult to perform on adaptive analysis that adjusts specificity or sensitivity according to the type of clone to be detected. Therefore, when a user wants to find a particular type of clone in a large project, they must analyze it repeatedly using various tools to adjust the options. In this study, we propose a clone detection system based on the global sequence alignment. Lex based token analysis models and global alignment algorithm-based clone detection models were able to detect not only exact matches but also various types of clones by setting lower bound scores. Using features of the global alignment score calculation method to eliminate functions that cannot be clone candidates in advance, alignment analysis was possible even for large projects, and the execution time was predicted. For clone functions, we visualized the matching area, which is the result of alignment analysis, to represent clone information more efficiently.

키워드

Clone detectionclone functioncode analysisglobal alignment

식별자

Scopus EID
2-s2.0-85085920051