skip to main content
10.1145/1809223.1809227acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Assessing traditional and new metrics for object-oriented systems

Published: 04 May 2010 Publication History

Abstract

We present an extensive analysis of software metrics for 111 object-oriented systems written in Java. For each system, we considered 18 traditional metrics such as LOC and Chidamber and Kemerer metrics, as well as metrics derived from complex network theory and social network analysis. These metrics were computed at class level. We also considered two metrics at system level, namely the total number of classes and interfaces, and the fractal dimension. We discuss the distribution of these metrics, and their correlation, both at class and at system level. We found that most metrics follow a leptokurtotic distribution. Only a couple of metrics have patent normal behavior while three others are very irregular, and even bimodal. The statistics gathered allow us to study and discuss the variability of metrics along different systems, and to devise a roadmap for further research.

References

[1]
S. R. Chidamber and C. F. Kemerer,"A metrics suite for object oriented design", IEEE Trans. Software Eng., vol 20, pp. 476--493, June1994.
[2]
S. R. Chidamber, D. P. Darcy, and C. F. Kemerer, "Managerial Use of Metrics for Object Oriented Software: An Exploratory Analysis", IEEE Trans. Software Eng., vol 24(8), pp. 629--639, 1998.
[3]
V. R. Basili, L. C. Briand, and W. L. Melo, "A Validation of Object Oriented Design Metrics as Quality Indicators. IEEE Transactions on Software Engineering, vol. 22(10), pp. 267--271, 1996.
[4]
R. Subramanyam and M. Krishnan, "Empirical analysis of ck metrics for object-oriented design complexity: Implications for software defects", IEEE Trans. Software Eng., vol. 29, pp. 297--310, 2003.
[5]
T. Gyimoothy, R. Ferenc, and I. Siket, "Empirical validation of object-oriented metrics on open source software for fault prediction", IEEE Trans. Software Eng., vol. 31, pp. 897--910, 2005.
[6]
F. Brito e Abreu, "The MOOD Metrics Set", Proc. ECOOP'95 Workshop on Metrics, 1995.
[7]
M. Lorenz and J. Kidd, "Object-oriented software metrics: A practical guide". Engle wood Cliffs, N.J: Prentice-Hall., 1992.
[8]
S. Valverde, R. Ferrer-Cancho, and R. Solé, "Scale-free networks from optimal design", Europhysics Lett., vol. 60, pp. 512--517, 2002.
[9]
G. Concas, M. Marchesi, S. Pinna, N. Serra, "Power-Laws in a Large Object-Oriented Software System", IEEE Trans. Software Eng., vol. 33, no. 10. pp. 687--708, 2007.
[10]
T. Zimmermann and N. Nagappan, "Predicting Defects using Network Analysis on Dependency Graphs", Proc. ICSE 2008, pp. 531--540, May 10--18, Leipzig, Germany, 2008.
[11]
M. Pinzger, N. Nagappan, and B. Murphy, "Can Developer-Module Networks Predict Failures?", Proc. SIGSOFT 2008/FSE-16, November 9--15, Atlanta, Georgia, USA, 2008.
[12]
A. Meneely and L. Williams, "Evaluating a Suite of Developer Activity Metrics as Measures of Security Vulnerabilities", Computer Science Dept. Tech. Report 28, North Carolina State Univ., 2008.
[13]
T. Wolf, A. Schoter, D. Damian, and T. Nguyen, "Predicting Build Failures using Social Network Analysis on Developer Communication", Proc. ICSE 2009, May 16--24, Vancouver, BC, Canada, 2009.
[14]
M. Cataldo, A. Mockus, J. A. Roberts, and J. D. Herbsleb, "Software Dependencies, Work Dependencies, and Their Impact on Failures", IEEE Trans. Software Eng., vol. 35, no. 6. pp. 864--878, 2009.
[15]
A. Tosun, B. Turhan, and A. Bener, "Validation of network measures as indicators of defective modules in software systems", Proc. 5th Int. Conf. Predictor Models in Software Eng., Vancouver, BC, Canada, 2009.
[16]
Qualitas Research Group, Qualitas Corpus Version 20090202, http://www.cs.auckland.ac.nz/~ewan/corpus. The University of Auckland, February 2009.
[17]
Eclipse Project, http://www.eclipse.org, 2009.
[18]
Netbeans Project, http://www.netbeans.org, 2009.
[19]
G. Concas, M. Locci, M. Marchesi, S. Pinna, I. Turnu, "Fractal dimension in software networks", Europhysics Lett., vol. 76, pp. 1221--1227, 2006.
[20]
R. A. Hanneman and M. Riddle, Introduction to social network methods. Riverside, CA: University of California, Riverside 2005.
[21]
G. Sabidussi, "The centrality index of a graph", Psychometrika, vol. 31, pp. 581--603, 1966.
[22]
C. Song, S. Havlin and H. A. Makse, "Self-similarity of complex networks", Nature, vol. 433, pp. 392--395, 2005.
[23]
G. Baxter, M. Frean, J. Noble, M. Rickerby, H. Smith, M. Visser, H. Melton, and E. Tempero, "Understanding the shape of Java software", Proc. of the 21st ACM SIGPLAN conference Object-oriented programming languages, systems, and applications(OOPSLA), Oct 2006, Portland, USA.
[24]
Y. Gil and I. Maman, "Micro Patterns in Java Code", Proc. 20th annual ACM SIGPLAN Conf. Object oriented programming, systems, languages, and applications (OOPSLA '05), pp. 97--116, 2005.

Cited By

View all

Index Terms

  1. Assessing traditional and new metrics for object-oriented systems

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      WETSoM '10: Proceedings of the 2010 ICSE Workshop on Emerging Trends in Software Metrics
      May 2010
      94 pages
      ISBN:9781605589763
      DOI:10.1145/1809223
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 04 May 2010

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. complexity measures
      2. empirical research
      3. object-oriented languages
      4. software metrics
      5. software science

      Qualifiers

      • Research-article

      Conference

      ICSE '10
      Sponsor:

      Upcoming Conference

      ICSE 2025

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)2
      • Downloads (Last 6 weeks)1
      Reflects downloads up to 13 Sep 2024

      Other Metrics

      Citations

      Cited By

      View all

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media