In Object-Oriented metrics, Coupling Between Object Classes (CBO) measures:
AThe total methods in a class hierarchy
BThe depth of the inheritance tree
CThe number of unit tests written for a class
DThe number of other non-inherited classes to which a class is coupled
Explanation
CBO counts non-inherited class references; high CBO indicates tight coupling and reduced maintainability.
Exam Relevance
- Topic: Software Quality
- Subtopic: Object-Oriented Metrics

No Comments