International Journal of Applied Information Systems |
Foundation of Computer Science (FCS), NY, USA |
Volume 4 - Number 9 |
Year of Publication: 2012 |
Authors: Gopal Goyal, Sachin Patel |
10.5120/ijais12-450781 |
Gopal Goyal, Sachin Patel . Importance of Inheritance and Interface in OOP Paradigm Measure through Coupling Metrics. International Journal of Applied Information Systems. 4, 9 ( December 2012), 14-20. DOI=10.5120/ijais12-450781
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) , number of dependencies out metric (NDepOut) , Number of children (NOC) and Depth of Inheritance Tree (DIT) in object oriented programming. A measurement is done for C# inheritance and interface programs. The metric values of class inheritance and interface prove which program is good to use and beneficial for C# developers.