Does SonarQube count comment blocks in duplicated code? -
simple question. sonarqube has duplicate code scanner. examine comment blocks in algorithm? if have 1000 source files same copyright header, detect these duplicated code?
from sonarqube documentation on duplications:
sonarqube allows detect "type 2" duplications means : structurally/syntactically identical fragments except variations in literals , comments.
so copyright header not counted duplication.
Comments
Post a Comment