-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathFLinesOfComments.qhelp
More file actions
29 lines (23 loc) · 935 Bytes
/
FLinesOfComments.qhelp
File metadata and controls
29 lines (23 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>This metric measures the number of lines of comments in a file. </p>
<p>Files that have too few comments are more likely to be insufficiently documented.
Long files that have no comments at all require particular scrutiny, as these are more likely
to need explicit documentation in comments.</p>
</overview>
<recommendation>
<p>Files with few to no comments should be examined to see if they require documentation. Particular attention
should be given to long files.</p>
</recommendation>
<references>
<li>
<a href="http://en.wikibooks.org/wiki/C%2B%2B_Programming/Programming_Languages/C%2B%2B/Code/Style_Conventions#Comments">C++ Programming, Coding style conventions</a>
</li>
<li>
<a href="http://en.wikipedia.org/wiki/Comment_%28computer_programming%29#Need_for_comments">Wikipedia: Need for comments</a>
</li>
</references>
</qhelp>