March 10 Johannes Schmitt schmittjoh

Side-by-Side View for Code Duplication

Scrutinizer has already had support for detecting duplications in your source code. Duplicate code is probably one of the most obvious code smells. When detected, the duplicate code was already marked with an orange bar which showed the locations of the duplicated code.

To make it easier to compare the duplicated code, we now also offer a side-by-side view of the files where the duplicated code was found. Let’s take a look:

View Code Duplication Side-by-Side

 

Have Feedback? Tweet to @scrutinizerci

If you experienced a bug or have any questions, please send them to [email protected].