When calculating Code Metrics, what is Class Coupling ?

 Posted by Akiii on 5/7/2012 | Category: ASP.NET Interview questions | Views: 7438 | Points: 40

Class Coupling measures the coupling to unique classes through parameters, local variables, return types, method calls, generic or template instantiations, base classes, interface implementations, fields defined on external types, and attribute decoration.

A Good software design dictates that types and methods should have high cohesion and low coupling.

High coupling indicates a design that is difficult to reuse and maintain because of its many inter-dependencies on other types.

Thanks and Regards

| Alert Moderator 

Comments or Responses

Login to post response