SonarQube 是否计算重复代码中的注释块?

Does SonarQube count comment blocks in duplicated code?

简单的问题。 SonarQube 有一个重复的代码扫描器。它是否检查此算法中的注释块?如果我有 1000 个具有相同版权的源文件 header,它会检测这些为重复代码吗?

来自SonarQube documentation on duplications

SonarQube allows to detect "Type 2" duplications which means : structurally/syntactically identical fragments except for variations in literals and comments.

所以您的版权header不会被算作重复。