skip to main content
10.1145/1929999.1930000acmotherconferencesArticle/Chapter ViewAbstractPublication PagesecoopConference Proceedingsconference-collections
research-article

Inheritance metrics: what do they measure?

Published:22 June 2010Publication History

ABSTRACT

Characteristics of inheritance metrics are compared with size and length measurement using the property based validation framework of Briand et al. About a dozen inheritance metrics are analyzed and compared with some known object oriented metrics. The analysis first performs an identification of viewpoints and projections of the chosen metrics in order to meaningfully apply the property based framework. For the purpose of this analysis, nested and internal projections are also newly suggested in this paper. The work results in associating most of the chosen inheritance metrics with either the size or the length aspect, while two metrics remain unclassified.

References

  1. E. B. Allen. Measuring graph abstractions of software: An information-theory approach. In METRICS '02: Proceedings of the 8th International Symposium on Software Metrics, page 182, Washington, DC, USA, 2002. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. L. C. Briand, S. Morasca, and V. R. Basili. Property-based software engineering measurement. IEEE Trans. Software Eng., 22(1):68--86, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. M. Fowler. Refactoring: Improving the Design of Existing Code. Addison-Wesley, Boston, MA, USA, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Joshi and R. K. Joshi. Microscopic coupling metrics for refactoring. Proceedings of the Conference on Software Maintenance and Reengineering, pages 145--152, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Merriam-Webster. Merriam-Webster Online Dictionary. 2010.Google ScholarGoogle Scholar
  6. F. Tip, C. Laffra, P. F. Sweeney, and D. Streeter. Practical experience with an application extractor for java. SIGPLAN Not., 34(10):292--305, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Yacoub and H. Ammar. Pattern-Oriented Analysis and Design: Composing Patterns to Design Software Systems. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Inheritance metrics: what do they measure?

          Recommendations

          Reviews

          Alexandre Bergel

          Measuring software structure has many appealing applications, including maintenance activities and system re-engineering. Giving meaning to software measurements is often difficult because it is not always easy to relate a software component to a number. This paper characterizes well-known class inheritance metrics, with inheritance being a fundamental relation in object-oriented programming languages. This characterization is based on the seminal framework provided by Briand et al. [1]. Krishna and Joshi innovate by introducing the notions of viewpoint and projection, two essential ingredients for the characterization. Their analysis reveals that classical metrics, such as number of inherited attributes and number of inherited methods, are size metrics. They find that other metrics, such as depth of inheritance of a class, follow length properties. As a consequence, inheritance metrics do not satisfy the symmetry property. Even though this paper is well written and easy to read, solid knowledge of metrics will help readers to better understand details, such as the way it instantiates the framework of Briand et al. This paper presents a deep analysis, making it worth reading. Online Computing Reviews Service

          Access critical reviews of Computing literature here

          Become a reviewer for Computing Reviews.

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            MASPEGHI '10: Proceedings of the 4th Workshop on MechAnisms for SPEcialization, Generalization and inHerItance
            June 2010
            30 pages
            ISBN:9781450305358
            DOI:10.1145/1929999

            Copyright © 2010 ACM

            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]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 22 June 2010

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate6of6submissions,100%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader