Podcast
Questions and Answers
What does the depth of inheritance metric measure?
What does the depth of inheritance metric measure?
- The length of the maximum path in the inheritance hierarchy (correct)
- The number of methods in a class
- The number of subclasses of a class
- The number of classes that are coupled to the measured class
In which case is the maximum path in the inheritance hierarchy interesting?
In which case is the maximum path in the inheritance hierarchy interesting?
- In the case of a large inheritance hierarchy
- In the case of no inheritance
- In the case of single inheritance
- In the case of multiple inheritance (correct)
What does a high number of subclasses indicate?
What does a high number of subclasses indicate?
- High reusability (correct)
- High coupling
- Low testability
- Low reusability
What is coupling between objects?
What is coupling between objects?
When are two classes considered coupled?
When are two classes considered coupled?
What does a high CBO value indicate?
What does a high CBO value indicate?
What is the purpose of NOC metric?
What is the purpose of NOC metric?
What is the relationship between the number of subclasses and the degree of reuse?
What is the relationship between the number of subclasses and the degree of reuse?
What is the purpose of CBO metric?
What is the purpose of CBO metric?
What can be inferred from a high NOC value?
What can be inferred from a high NOC value?