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 55<overview >
66<p >
77This 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
99behind measuring a class's cohesion is that most functions in well-designed
1010classes will access the same fields. Types that exhibit a lack of cohesion
1111are often trying to take on multiple responsibilities, and should be split
1212into several smaller classes.
1313</p >
1414
1515<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
1717intuition is simple, the precise way to measure this property has been the
1818subject of intense debate. Rather than getting involved in this debate,
1919more than one such lack of cohesion measure is provided for comparison purposes.
Original file line number Diff line number Diff line change 33 "qhelp.dtd">
44<qhelp >
55<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
77Kemerer in their paper <em >Towards a metrics suite for object oriented design</em >. Most well
88designed types will have methods that access the same fields. If methods access disjoint subsets
99of the classes fields it is an indication the class may have multiple responsibilities.</p >
Original file line number Diff line number Diff line change 33 "qhelp.dtd">
44<qhelp >
55<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
77Henderson-Sellers in his book <em >Object-Oriented Metrics</em >. Most well designed types will have
88methods that access the same fields. If methods access disjoint subsets of the class's fields it is
99an indication the class may have multiple responsibilities.</p >
You can’t perform that action at this time.
0 commit comments