File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
cpp/ql/src/Metrics/Classes
csharp/ql/src/Metrics/RefTypes Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
<overview >
6
6
<p >
7
7
This metric provides an indication of the lack of cohesion of a class,
8
- using a method propposed by Chidamber and Kemerer in 1994. The idea
8
+ using a method proposed by Chidamber and Kemerer in 1994. The idea
9
9
behind measuring a class's cohesion is that most functions in well-designed
10
10
classes will access the same fields. Types that exhibit a lack of cohesion
11
11
are often trying to take on multiple responsibilities, and should be split
12
12
into several smaller classes.
13
13
</p >
14
14
15
15
<p >
16
- Various measures of lack of cohesion have been propposed : while the basic
16
+ Various measures of lack of cohesion have been proposed : while the basic
17
17
intuition is simple, the precise way to measure this property has been the
18
18
subject of intense debate. Rather than getting involved in this debate,
19
19
more than one such lack of cohesion measure is provided for comparison purposes.
Original file line number Diff line number Diff line change 3
3
"qhelp.dtd">
4
4
<qhelp >
5
5
<overview >
6
- <p >This metric calculates the lack of cohesion of a type using a method propposed by Chidamber and
6
+ <p >This metric calculates the lack of cohesion of a type using a method proposed by Chidamber and
7
7
Kemerer in their paper <em >Towards a metrics suite for object oriented design</em >. Most well
8
8
designed types will have methods that access the same fields. If methods access disjoint subsets
9
9
of the classes fields it is an indication the class may have multiple responsibilities.</p >
Original file line number Diff line number Diff line change 3
3
"qhelp.dtd">
4
4
<qhelp >
5
5
<overview >
6
- <p >This metric calculates the lack of cohesion of a type using a method propposed by Brian
6
+ <p >This metric calculates the lack of cohesion of a type using a method proposed by Brian
7
7
Henderson-Sellers in his book <em >Object-Oriented Metrics</em >. Most well designed types will have
8
8
methods that access the same fields. If methods access disjoint subsets of the class's fields it is
9
9
an indication the class may have multiple responsibilities.</p >
You can’t perform that action at this time.
0 commit comments