You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csharp/ql/src/Bad Practices/Comments/CommentedOutCode.qhelp
+2-19Lines changed: 2 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,6 @@
2
2
"-//Semmle//qhelp//EN"
3
3
"qhelp.dtd">
4
4
<qhelp>
5
-
<overview>
6
-
<p>
7
-
Commented-out code is distracting and confusing for developers who read the surrounding code,
8
-
and its significance is often unclear. It should therefore be avoided.
9
-
</p>
10
-
11
-
</overview>
12
-
<recommendation>
13
-
14
-
<p>
15
-
Remove the commented-out code, or reinstate it if necessary.
16
-
</p>
17
-
18
-
</recommendation>
19
-
<references>
20
-
21
-
<li>High Integrity C++ Coding Standard: <ahref="http://www.codingstandard.com/rule/2-3-2-do-not-comment-out-code/">2.3.2 Do not comment out code</a>.</li>
0 commit comments