CFP last date
20 January 2025
Reseach Article

Better Object Oriented Paradigm Inheritance and Interface through Cohesion Metrics

by Varsha Mishra, Shweta Yadav
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

@article{ 10.5120/11239-6414,
author = { Varsha Mishra, Shweta Yadav },
title = { Better Object Oriented Paradigm Inheritance and Interface through Cohesion Metrics },
journal = { International Journal of Computer Applications },
issue_date = { March 2013 },
volume = { 66 },
number = { 21 },
month = { March },
year = { 2013 },
issn = { 0975-8887 },
pages = { 13-17 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume66/number21/11239-6414/ },
doi = { 10.5120/11239-6414 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T21:23:01.742827+05:30
%A Varsha Mishra
%A Shweta Yadav
%T Better Object Oriented Paradigm Inheritance and Interface through Cohesion Metrics
%J International Journal of Computer Applications
%@ 0975-8887
%V 66
%N 21
%P 13-17
%D 2013
%I Foundation of Computer Science (FCS), NY, USA
Abstract

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.

References
  1. P. Chidamber and C. Kemerer, "Towards a Metrics Suite for Object Oriented Design," Proceedings of 6th ACM Conference on Object Oriented Programming, Systems, Languages and Applications, Phoenix, Arizona, 1991, pp. 197-211.
  2. V. Krishnapriya and Dr. K. Ramar, Exploring the Difference between Object Oriented Class Inheritance and Interfaces Using Coupling Measures. IEEE 2010.
  3. G. Eason, B. Noble, and I. N. Sneddon, "On certain integrals of Lipschitz-Hankel type involving products of Bessel functions," Phil. Trans. Roy. Soc. London, vol. A247, pp. 529–551, April 1955. (references)
  4. J. M. Bieman and B. K. Kang, "Cohesion And Reuse In An Object-Oriented System", Proceedings of The Symposium on Software Reusability (SSR'95), Seattle, 1995, pp. 259-262.
  5. P. Coad, E. Yourdon, "Object-Oriented Analysis", Prentice Hall, second edition, 1991.
  6. P. Coad, E. Yourdon, "Object-Oriented Design", Prentice Hall, first edition, 1991.
  7. Christopher L. Brooks, Chrislopher G. Buell, "A Tool for Automatically Gathering Object-Oriented Metrics", IEEE, 1994.
  8. Rajib Mall, "Fundamentals of Software Engineering", Chapter 1, Pg. No:1-18,2nd Edition, April 2004.
  9. Rudiger Lincke, Jonas Lundberg and Welf Lowe,"Comparing Software Metrics Tools", ISSTA'08, July 20-24, 2008, ACM 978-1- 59593-904-3/07.
  10. Chidamber, S. R. and Kemerer, C. F. , "A Metric Suite for Object-Oriented Design," IEEE Transactions on Software Engineering, 20(6):476-493, 1994.
  11. Alexander et al 2003,?Mathematical Assessment of Object-Oriented Design Quality?, IEEE Transactions on Software Engineering, VOL. 29, NO. 11, November 2003.
  12. Lionel C. Briand, John W. Daly, and Jürgen Wüst, A Unified Framework for Cohesion Measurement in Object-Oriented System. ISERN-97-05.
  13. N. Kayarvizhy, S. Kanmani, Analysis of Quality of Object Oriented Systems using Object Oriented Metrics, 978-1-4244-8679-3/11/$26. 00 ©2011 IEEE.
  14. Christopher L. Brooks, Chrislopher G. Buell, "A Tool for Automatically Gathering Object-Oriented Metrics", IEEE, 1994.
  15. Fisher K. and Reppy J, "The Design of Class Mechanism for Mobby", In Proceedings of the Conference on Programming Language Design and Implementation (PLDI), P. No:37-49, May 1999.
  16. Wegner . P. "Dimension of Object-Based Language Design ", In Proceedings of the Conference on Object-Oriented Programming Systems, Languages and Applications, OOPSLA, Oct 1987.
  17. Ken Pugh," Interface Oriented Design", Chapter 5, 2005.
  18. ISRD GROUP," Introduction to object oriented programming through java", TATA Mc Graw HILL, Pg. No:109.
  19. Friedrich Stiemann, Philip Mayer and Andreas Meibner, "Decoupling Classes with Inferred Interfaces", Proceedings of the 2006 ACM Symposium on Applied Computing, P. No:1404 – 1408.
  20. Markus Mohnen, "Interfaces with Default Implementations in Java", Technical Report.
  21. Fried Stiemann, Wolf Siberski and Thomas Kuhne, " Towards the Systematic Use of Interfaces in Java Programming", 2nd Int. Conf. on the Principles and practice of Programming in Java PPJ 2003, P. No:13-17.
  22. Narendra Pal Singh Rathore, Ravindra Gupta, A Novel Coupling Metrics Measure difference between Inheritance and Interface to find better OOP Paradigm using C#. IEEE 2011 978-1-4673-0125-1_c 2011 IEEE W. Stevens, G. Myers, and L. Constantine, "Structured Design," BM Systems J. , vol. 12, no. 2, 1974
Index Terms

Computer Science
Information Sciences

Keywords

Inheritance Interface Locm1 Lcom2 Cohesion metrics