Incremental Detection of Parameterized Code Clones

نویسنده

  • Torsten Görg
چکیده

This paper presents a new approach to incremental code clone detection that is based on a special clone representation model. The algorithm detects parameterized clones with parameters of arbitrary size. It can be used for cross-system and cross-revision clone detection.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Supporting Code Clone Inspection using Parameterized Clone Pattern

Code clone inspection is an integral part of software clone management to assess the quality of clones or the tools reporting them, to decide how to resolve code clone issues, and so on. As clone inspection is a manual process its feasibility is limited especially when working with large numbers of clones. This is rather critical as clone detection tools may return many clones even when applied...

متن کامل

Mapping Code Clones Using Incremental Clone Detection

Understanding the evolution of duplicated source code is necessary to investigate the phenomenon of cloning. To trace individual code clones across multiple program versions, clones of consecutive versions need to be mapped. Current methods detect clones of different versions first and then map detected clones retroactively. I present an approach to map individual clones between consecutive pro...

متن کامل

Incremental Clone Detection and Elimination for Erlang Programs

A well-known bad code smell in refactoring and software maintenance is the existence of code clones, which are code fragments that are identical or similar to one another. This paper describes an approach to incrementally detecting ‘similar’ code based on the notion of least-general common abstraction, or anti-unification, as well as a framework for user-controlled incremental elimination of co...

متن کامل

Revealing Missing Bug-Fixes in Code Clones in Large-Scale Code Bases

When a bug is fixed in duplicated code, it is often necessary to modify all duplicates (so-called clones) accordingly. In practice, however, fixes are often incomplete, which causes the bug to remain in one or more of the clones. This paper presents an approach that detects such incomplete bug-fixes in cloned code by analyzing a system’s version history to reveal those commits that fix problems...

متن کامل

Revealing Missing Bug-Fixes in Code Clones in Large-Scale Code Bases

If a bug gets fixed in duplicated code, often all duplicates (so called clones) need to be modified accordingly. In practice, however, fixes are often incomplete, causing the bug to remain in one or more of the clones. In this paper, we present an approach to detect such incomplete bug-fixes in cloned code. It analyzes a system’s version history to reveal those commits that fix problems. It the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Softwaretechnik-Trends

دوره 33  شماره 

صفحات  -

تاریخ انتشار 2013