adplus-dvertising
frame-decoration

Question

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

a.

To measure the complexity of a method

b.

To measure the relationships between modules

c.

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

d.

To measure the size of a class

Posted under Software Engineering

Answer: (d).To measure the size of a class Explanation:The purpose of WMC (Weighted Methods per Class) in object-oriented metrics is to measure the size of a class. 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 the purpose of WMC in object-oriented metrics?

Similar Questions

Discover Related MCQs

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?

Q. What is the focus of object-oriented design compared to other design methods?

Q. What is the difference between FSM and JSD in terms of design methods?

Q. What is the main purpose of design methods in software development?