Identify Cloned Code and Reduce Defects
Pattern Insight Clone Detection is an advanced analysis engine that quickly detects duplicate patterns within code and allows you to find code clones and difficult-to-detect copy-paste bugs.
Code reuse is a standard practice in modern software development. The downside of code reuse via replication and copy-paste programming is that it leads to code bloat, increasing the technical depth of software products and making maintenance costly and time consuming.
Another undesirable result of copy-paste programming is the introduction of defects. For example, when a developer copies a piece of code, modifies it, and then pastes it, inconsistencies are frequently introduced into the code: Nine out of 10 variable names will be updated, but the 10th will be neglected.