Code clones are code constructs or functionality that is repeated throughout a system. It’s a well documented problem. In short, the issue is duplication of logic. Take this example:
double Area(double radius)
{
return 3.14*Math.Pow(radius, 2);
}
double ComputeArea(double radius)
{
return 3.14*Math.Pow(radius, 2);
}
Two functions identical in every way except name. The cost of future [...]