New algorithm eliminates software clones, boosting quality and reducing complexity.
The goal of the research was to improve software quality by detecting and removing code clones, which are duplicated segments of code that increase complexity and reduce quality. The researchers developed a new algorithm to manage and refactor both exact and near-miss code clones in C# applications. By using a graph structure and methods, they successfully detected and fixed clones in multiple classes of source code fragments. The new approach focused on unifying the process of clone detection and refactoring, resulting in a more efficient and effective way to enhance software quality.