Duplicate Code - Detecting Duplicate Code

Detecting Duplicate Code

A number of different algorithms have been proposed to detect duplicate code. For example:

  • Baker's algorithm.
  • Rabin–Karp string search algorithm.
  • Using Abstract Syntax Trees.
  • Visual clone detection.

Read more about this topic:  Duplicate Code

Famous quotes containing the words detecting, duplicate and/or code:

    In our Mechanics’ Fair, there must be not only bridges, ploughs, carpenter’s planes, and baking troughs, but also some few finer instruments,—rain-gauges, thermometers, and telescopes; and in society, besides farmers, sailors, and weavers, there must be a few persons of purer fire kept specially as gauges and meters of character; persons of a fine, detecting instinct, who note the smallest accumulations of wit and feeling in the bystander.
    Ralph Waldo Emerson (1803–1882)

    A man’s desire for a son is usually nothing but the wish to duplicate himself in order that such a remarkable pattern may not be lost to the world.
    Helen Rowland (1875–1950)

    Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.
    Ralph Waldo Emerson (1803–1882)