• Home
  • Search
  • CCDive: A Deep Dive into Code Clone Detection Using Local Sequence Alignment
  • Cite Icon4
  • https://doi.org/10.26599/tst.2024.9010075Copy DOI Icon

CCDive: A Deep Dive into Code Clone Detection Using Local Sequence Alignment

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The rapid evolution of software development has accentuated the deficiencies of prevailing code clone detection techniques. As modern applications become more complex, traditional cloning tools often struggle to detect general and large-gap clones that undergo regular modification. Such challenges pose threats to software integrity, emphasizing the critical need for improved code cloning techniques. Observing the prevailing gap, we propose an innovative code clone dive (CCDive) code cloning technique, which is designed to detect an extensive range of clones, from direct clones to the often challenging large-gap clones, thoroughly covering different categories, such as very strongly Type-III, strongly Type-III, and moderate Type-III clones. In CCDive, the fusion of a level-by-level abstraction and an innovative similarity matching algorithm ensures the recognition of clones even when nearly half the original code in the chunk has been modified. Furthermore, by integrating the Smith-Waterman local sequence alignment, the capability of CCDive to spot exact code transformation locations can be enhanced. In a comprehensive evaluation, CCDive was compared with well-known code cloning techniques. The efficacy of CCDive was measured using precision, recall, F1-score, accuracy, and efficiency. CCDive consistently surpassed other techniques in the precision, recall, F1-score, and accuracy metrics for both file-based and function-based clone detection. The robust performance of CCDive emphasizes its effectiveness, reliability, accuracy, and efficiency, making it well-suited for practical applications in the real world.

Similar Papers
  • PDF
  • Research Article
  • Citations1

Improve Representation for Cross-Language Clone Detection by Pretrain Using Tree Autoencoder

  • Jan 01, 2022
  • Intelligent Automation & Soft Computing
  • Huading Ling +4
  • Conference Article
  • Citations61

Incremental Code Clone Detection: A PDG-based Approach

  • Oct 01, 2011
  • Yoshiki Higo +3
  • Conference Article
  • Citations7

An Algorithm for Generation of Attack Signatures Based on Sequences Alignment

  • Dec 01, 2008
  • Nan Li +3
  • Conference Article
  • Citations12

Rule-directed code clone synchronization

  • May 01, 2016
  • Xiao Cheng +4
  • Research Article

Code Clone Detection Model: A SWOT Analysis Perspective

  • Oct 01, 2018
  • Advanced Science Letters
  • Al-Fahim Mubarak-Ali +2
  • Conference Article
  • Citations1

Research on the Model of Legacy Software Reuse Based on Code Clone Detection

  • Sep 01, 2013
  • Meng Fanqi +1
  • Conference Article

Code Clone Detection via Software Visualization Representation Learning

  • Jul 01, 2023
  • Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
  • Shaojian Qiu +4
  • Conference Article

MASBioseq

  • Nov 10, 2016
  • Óscar Sánchez +2
  • Research Article
  • Citations38

Rapid significance estimation in local sequence alignment with gaps.

  • Apr 01, 2002
  • Journal of Computational Biology
  • Ralf Bundschuh
  • Conference Article
  • Citations8

Rapid significance estimation in local sequence alignment with gaps

  • Apr 22, 2001
  • Ralf Bundschuh
  • Research Article

Number of Mismatches and Length of Longest Match Correlate with Alignment Score in Swalign Built-in Function in MATLAB

  • Jan 01, 2021
  • Journal of Bioinformatics and Systems Biology
  • Wenfa Ng
  • Conference Article
  • Citations4

A Model-driven Approach for Token Based Code Clone Detection Techniques - An Introduction to UMLCCD

  • Mar 02, 2019
  • Qurat Ul Ain +3
  • Book Chapter
  • Citations25

Code Clone Detection—A Systematic Review

  • Jan 01, 2021
  • G Shobha +3
  • Research Article

Coarse grain load balance algorithm for detecting similar regions in DNA and proteins sequences

  • May 20, 2014
  • Indian journal of science and technology
  • Manhal Elfadil Eltayeeb Elnour +2
  • Conference Article
  • Citations6

Evolutionary Metropolis Sampling in Sequence Alignment Space

  • Jun 01, 2008
  • Chengpeng Bi
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.