A large numbers of metrics have been proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling. The coupling metrics presented in this paper exploring the difference between inheritance and interface programming. This paper presents a measurement to measure coupling between object (CBO), number of associations between classes (NASSocC) number of dependencies in metric (NDepIN) and number of dependenciesout metric (NDepOut) in object oriented programming for both static and dynamic analysis. Java programs is used for implementation. In this paper we wantto show which concept is good to use and beneficial for software developer.
Measurement, Metrics, Object Oriented programming, Object oriented metrics, CBO, Coupling, Inheritance, Interface