-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathFNumberOfStructs.qhelp
More file actions
24 lines (20 loc) · 948 Bytes
/
FNumberOfStructs.qhelp
File metadata and controls
24 lines (20 loc) · 948 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
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>This metric measures the number of structs in each file. Files with a large number of structs in
are more difficult to read and manage. The structure of the project is not reflected in the
organization of files which can make structs more difficult to find. They can also cause problems
with version control systems by increasing the likelihood that two developers work on the same file
at once. That said there are sometimes advantages to grouping structs together into the same file
so care should be taken when evaluating this metric.</p>
</overview>
<recommendation>
<p>Consider whether the structs are logically related. If they are not then it makes sense to put
them in separate files.</p>
</recommendation>
<references>
<li>MSDN. <a href="http://msdn.microsoft.com/en-us/library/ah19swz4(v=vs.71).aspx">struct</a>.</li>
</references>
</qhelp>