Sorry, I cannot reproduce the issue.
Would it be possible, by any chance, that you added the “comp-5” clause and didn’t save the file in Eclipse? That’s the only scenario I can think of…
Otherwise, can you please specify which version of the sonar-cobol-plugin is installed on your SonarQube server?
Thanks.
I can indeed reproduce the problem with SonarQube 7.2.
It seems this issue was fixed when fixing another false positive on the same rule.
Please upgrade to a newer version.