← Back to changelog

Fixed Bug in Duplication Reporting on Code Climate Platform

We recently uncovered and fixed a bug in our Duplication Engine that resulted in incorrect issue counts. Previously, when a duplication violation was detected across multiple locations, an issue was only counted for the first occurrence, instead of once for each location with an instance of the duplicated code.

Now, each site where duplicated code exists is assigned its own duplication issue. These are viewable in the UI when browsing issues by category, and on an individual file’s code tab:

As a result of this change, you may see a greater number of duplication issues reported on codeclimate.com and with the CLI. Some repositories may also experience fluctuations in grades.

We’re sorry for any inconvenience this may have caused and are committed to bringing you the most accurate analysis possible with every commit. If you have any questions or feedback please get in touch with Code Climate support or send us a tweet at @codeclimate – we’re always happy to help!

Actionable metrics for engineering leaders. Try Velocity Free