-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathCResponse.qhelp
More file actions
38 lines (29 loc) · 996 Bytes
/
CResponse.qhelp
File metadata and controls
38 lines (29 loc) · 996 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
30
31
32
33
34
35
36
37
38
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>
This metric measures the number of different functions that can be executed
by an object of that class in response to a message.
</p>
<p>
Classes with a high response metric can be difficult to understand and test,
because you have to read through all the functions that can possibly be called
in order to fully understand what's going on.
</p>
</overview>
<recommendation>
<p>
Generally speaking, when a class has a high response metric, it is because it
contains functions that individually make large numbers of calls and/or
because it has high efferent coupling. The solution is therefore to fix these
underlying problems, and the class's response will decrease accordingly.
</p>
</recommendation>
<references>
<li>
S. R. Chidamber and C. F. Kemerer. <em>A metrics suite for object-oriented design</em>. IEEE Transactions on Software Engineering, 20(6):476-493, 1994.
</li>
</references>
</qhelp>