International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 66 - Number 21 |
Year of Publication: 2013 |
Authors: Varsha Mishra, Shweta Yadav |
10.5120/11239-6414 |
Varsha Mishra, Shweta Yadav . Better Object Oriented Paradigm Inheritance and Interface through Cohesion Metrics. International Journal of Computer Applications. 66, 21 ( March 2013), 13-17. DOI=10.5120/11239-6414
Measurement is fundamental to any engineering discipline. Cohesion metrics play an important role in empirical software engineering research as well as in industrial measurement programs. The Cohesion metrics presented in this paper measure the difference between class inheritance and interface programming. . This paper presents a measurement to measure cohesion by Lack of Cohesion in Methods (LCOM1), LCOM2 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.