adplus-dvertising
frame-decoration

Question

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

a.

To count the number of methods in a class.

b.

To count the number of connections between bubbles.

c.

To reflect the empirical relations in the numerical relation system.

d.

To measure the quality of messages between classes.

Posted under Software Engineering

Answer: (d).To measure the quality of messages between classes. Explanation:Demeter's Law is used to measure the quality of messages between classes, and messages that conform to Demeter's Law are considered better than those that don't.

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 objective of Demeter's Law in Object-Oriented Metrics?

Similar Questions

Discover Related MCQs

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?

Q. What is the focus of functional decomposition as a classical design method?

Q. Which design method focuses on the data on which the system operates?

Q. What type of notation is used in OBJ method?

Q. Which design method is most popular today?