Incremental Clone Detection and Elimination for Erlang Programs

Source: University of Kent

Favorite

Free registration required

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-uni cation, as well as a framework for user-controlled incremental elimination of code clones within the context of Erlang programs. The clone detection algorithm proposed in this paper achieves 100% precision, high recall rate, and is user-customisable regarding the granularity of the clone classes reported.
Format:PDF Size:418.20
Date:Jan 2011