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, carpenters 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 (18031882)
“O Nature, and O soul of man! how far beyond all utterance are your linked analogies! not the smallest atom stirs or lives in matter, but has its cunning duplicate in mind.”
—Herman Melville (18191891)
“Hollywood keeps before its child audiences a string of glorified young heroes, everyone of whom is an unhesitating and violent Anarchist. His one answer to everything that annoys him or disparages his country or his parents or his young lady or his personal code of manly conduct is to give the offender a sock in the jaw.... My observation leads me to believe that it is not the virtuous people who are good at socking jaws.”
—George Bernard Shaw (18561950)