Skip to content
This repository

StrictDuplicateCode trips up on file headers #22

Open
romani opened this Issue · 0 comments

1 participant

Roman Ivanov
Roman Ivanov
Owner

Created: 2012-12-18
Creator: Yegor Bugayenko
Ref: #sf693
Created: 2009-04-20
Creator: Toby Byron
ref: #sf555

I cannot use the StrictDuplicateCode check because it reports excessive essentially false duplicates.

Specifically, each of my source code files starts with the same file header (a comment that contains a copyright notice and boilerplate relating to the GPL3 license that my code is released under).

Yes, literally speaking, StrictDuplicateCode is correctly finding duplicates here however standard file headers are clearly not what people want to have reported to them.

So, what StrictDuplicateCode needs is to automatically suppress any duplicate comments at the start of files from its reports.

Would be nice to have a property "header" for StrictDuplicateCodeCheck:



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.