I’m sure in another versions of Quality Profiles, exists a rule for lines of code commented. But in my current versión of SonarCloud. I only have “Sections of code should not be commented out”, so when I have line commented, Sonar don’t detected (the rule works in sections or blocks, but the “problem” is in the logic lines of code commented).
Can you share a sample of code where a single line is commented out and not detected? The rule is not precious about the number of lines (and a single line counts as a “section”)
In my caase the sonar lint plugin can find the problem.
But the results from the sonar scanner in circle does not show the commented code as an problem.
The rule to detect commeted code is enabled but is not triggered.