adplus-dvertising
frame-decoration

Question

What is WMC(Weighted Methods per Class) in the context of object-oriented metrics?

a.

A measure of the distance of a class to the root of its inheritance tree

b.

A measure of the complexity of a method

c.

A measure of the size of a class

d.

A measure of the relationships between modules

Posted under Software Engineering

Answer: (c).A measure of the size of a class Explanation:WMC (Weighted Methods per Class) is a measure for the size of a class in the context of object-oriented metrics. The assumption is that larger classes are generally less desirable and take more time to develop and maintain.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is WMC(Weighted Methods per Class) in the context of object-oriented metrics?

Similar Questions

Discover Related MCQs

Q. What does DIT stand for in the context of object-oriented metrics?

Q. What is the formula for WMC(Weighted Methods per Class)?

Q. What is the purpose of WMC in object-oriented metrics?

Q. What does the DIT(Depth of Inheritance Tree) value depend on?

Q. What does a high value of NOC suggest in Object-Oriented Metrics?

Q. What does CBO measure in Object-Oriented Metrics?

Q. What is the objective of Demeter's Law in Object-Oriented Metrics?

Q. What is used to calculate the complexity of a method in WMC(Weighted Methods per Class)?

Q. What is the purpose of counting each entry in the class interface in WMC(Weighted Methods per Class) calculation?

Q. What is the relationship between classes in an object-oriented design?

Q. What is the purpose of DIT(Depth of Inheritance Tree) in object-oriented systems?

Q. What is NOC in the context of object-oriented systems?

Q. What is CBO in the context of object-oriented systems?

Q. What is the definition of afferent coupling (Ca) in the context of package level coupling measures?

Q. What is the significance of the ratio I in package level coupling measures?

Q. What does a value of I equal to 0 denote in package level coupling measures?

Q. What does a value of I equal to 1 denote in package level coupling measures?

Q. What is the definition of the response set in the context of RFC (Response for Class) metric?

Q. What does a higher value of RFC indicate about a class?

Q. What have been found to be the more useful quality indicators among object-oriented metrics?