skip to main content
research-article

Application of Object-Oriented Metrics To C++ and Java: A Comparative Study

Published: 05 May 2011 Publication History

Abstract

The increasing importance of software measurement has led to design and development of new software measures. As the development of object-oriented software is rising, more and more metrics are being defined for object-oriented programming languages. But there is a little understanding of comparative application of many of these measures to different programming languages. As a consequence, it is very difficult for software managers and developers to select suitable measures and programming languages for object-oriented systems. In this paper, we investigate 23 object-oriented metrics proposed by various researchers. The metrics are applied to same set of 15 programs coded in C++ and Java in an attempt to make comparative study of these two prominent object-oriented programming languages. The work done here reveals that these object-oriented metrics can be applied successfully to both Java and C++. But, Java proves to be more object-oriented than C++ as per intuition. However, counting rules defined for computation of these metrics should be framed more carefully.

References

[1]
K.K. Aggarwal,Yogesh Singh, Arvinder Kaur and Ruchika Malhotra (2006): Emprical Study of Object- Oriented Metrics, Journal of Object Technology, 2006, pp.149--173. http//WWW.Jot.fm/issues/issue_2006_11/artical5.
[2]
Mark Lorenz and Jeff Kidd (1994) : Object-Oriented Software Metrics - A Practical guide, Prentice Hall Object-oriented series.
[3]
K.K. Aggarwal, Arvinder Kaur and Ruchika Malhotra (2006) : Software Design Metrics for Object-Oriented Software, Journal of Object Technology, vol. 6, 2006, pp. 121--138. WWW.jot.fm/issues/issue_2006_01/artical4.
[4]
Shyam R. Chidamber, Crist F.Kemerer (1993) : A Matrix Suite for Object-Oriented design, M.I.T. Sloan School of Management, 1993.
[5]
B. Henderson-Seller (1996) :Object-Oriented Metrics, Measures of Complexity. Prentice Hall, 1996.
[6]
K.R. Venugopal, Rajkumar,T. Ravishankar (1997) : Mastering C++, Tata McGraw Hill, 1997.
[7]
S.R. Schach (1998) : Introduction to Object-Oriented Analysis and Design, Tata McGraw-Hill, WWW Site: http://highered.mcgrawhill.com/sites/0072826460/student_view0/case_studies.html.
[8]
Edward V. Berard (1998) : The Object Agency, Inc., Metrics for Object-Oriented Software Engineering, August 1998.
[9]
Moreau, D.R. and Dominick, W.D. (1989): Object Oriented Graphical Information System: Research Plan and Evaluation Metrics, Journal of System Software, vol. 10, 1989, pp. 23--28. http:// Yunus.hun.edu.tr/~sencer/om.html
[10]
R. Fichman and C. Kermerer (1992) : Object-Oriented and Conventional Analysis and Design Methodologies: Comparison and Critique, IEEE Computer, Vol.25,1992, pp. 20--39.
[11]
Woodfield, S., Shen, V., and Dunsmore, H. (1981) : A Study of Several Metrics for Programming Effort, Journal of System and software, vol. 2, 1981, pp. 97--103.
[12]
Dunn, R., and Ullman, R. (1979) : Modularity Is Not a Matter of Size, Proceeding of the 1979 Annual Reliability and Maintainability Symposium, pp. 342--345.
[13]
McCabe & Associates (1994) : McCabe Object-Oriented Tool User's Instruction, 1994.
[14]
K.L. Morris (1998) : Metrics for Object-Oriented Sofware Development Enviornment, Master thesis, M.I.T., 1998.
[15]
Lionel C. Briand, John W. Daly, and Jurgen Wust (1996) : A Unified Framework for Coupling Measurement in Object-Oriented Systems, Fraunhofer Institute for Experimental Software Engineering, Kaiserslautern, Germany, 1996.
[16]
Roger S. Pressman (2001) : Software Engineering, McGraw-Hill International Editions.
[17]
E. Balagurusamy (1996): Object-Oriented Programming with C++, Tata McGraw Hill, New Delhi.
[18]
E. Balagurusamy (1998): Object-Oriented Programming with Java, Tata McGraw Hill, New Delhi.
[19]
Linda H. Rosenberg (1998): Applying and Interpreting Object Oriented Metrics, Software Technology Conference, Utah, April 1998.
[20]
Mood and Moods Metrics: http://www.aivosto.com/project/help/pm-oo-mood.html

Cited By

View all
  • (2016)The Analysis of Object-Oriented Metrics in C++ ProgramsLecture Notes on Software Engineering10.7763/LNSE.2016.V4.2224:1(48-52)Online publication date: 2016
  • (2011)A composite complexity measure for component-based systemsACM SIGSOFT Software Engineering Notes10.1145/2047414.204742636:6(1-5)Online publication date: 14-Nov-2011

Comments

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 36, Issue 2
March 2011
116 pages
ISSN:0163-5948
DOI:10.1145/1943371
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 05 May 2011
Published in SIGSOFT Volume 36, Issue 2

Check for updates

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)11
  • Downloads (Last 6 weeks)2
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2016)The Analysis of Object-Oriented Metrics in C++ ProgramsLecture Notes on Software Engineering10.7763/LNSE.2016.V4.2224:1(48-52)Online publication date: 2016
  • (2011)A composite complexity measure for component-based systemsACM SIGSOFT Software Engineering Notes10.1145/2047414.204742636:6(1-5)Online publication date: 14-Nov-2011

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media