skip to main content
10.1145/967900.968207acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

A relational approach to software metrics

Published:14 March 2004Publication History

ABSTRACT

There is still no standardization of software measures and metrics extraction tools have to be updated frequently to handle the changes. A possible solution is represented by using an intermediate abstraction layer to decouple the information extraction process from the use of the information. In this way a metrics researcher do not have to deal with language parsing production concepts such as declarations, class specifiers, and base clauses. This paper presents WebMetrics, an automated tool for software metrics collection. The tool uses, as intermediate layer, a set of intuitive relations to describe the source code structure. These relations are stored in a database in order to calculate metrics directly by performing SQL queries. To test the architecture, we applied the tool to the source code of an opensource project in order to compute CK metrics suite.

References

  1. National Aeronautics and Space Administration. "Software Measurement Guidebook." Technical Report SEL-94-002, NASA Goddard Space Flight Center, Greenbelt MD 20771, July 1994.Google ScholarGoogle Scholar
  2. M. C. Paulk, B. Curtis, M. B. Chrissis, et al, Capability Maturity Model for Software, Software Engineering Institute, CMU/SEI-91-TR-24, ADA240603, August 1991.Google ScholarGoogle Scholar
  3. Fenton, N., S. L. Pfleeger (1997) Software Metrics: A Rigorous and Practical Approach, PWS Publishing Co. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. L. Briand, P. Devanbu, and W. Melo. An investigation into coupling measures for c++. Technical Report ISERN-96-08, ISERN, 1996.Google ScholarGoogle Scholar
  5. W. Li. Another metric suite for object-oriented programming. Journal of Systems and Software, 44:155.162, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. Lorenz and J. Kidd. Object-Oriented Software Metrics. Prentice Hall Inc., 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Chidamber, R., Kemerer, F.: A Metrics Suite for Object-Oriented Design. IEEE Trans. software Eng., Vol. 20, No. 6 (1994). Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 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, 22(10):751.761, October 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. H. Tang, M. H. Kao and M. H. Chen. An empirical study of object-oriented metrics. In Proceedings of 6th IEEE International Software Metrics Symposium, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. W. Li and S. Henry. Object-oriented metrics that predict maintainability. Journal of Systems and Software, 23:111.122, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. S. R. Chidamber, D. P. Darcy, and C. F. Kemerer. Managerial use of metrics for object-oriented software: An exploratory analysis. In IEEE Transactions on Software Engineering, 24(8):629.639, August 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. T. McCabe, "A Complexity Measure", IEEE Transaction on Software Engineering, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. JavaCC Website: http://javacc.dev.java.net/Google ScholarGoogle Scholar
  14. G. Succi, E. Liu "A Relations-Based Approach for Simplifying Metrics Extraction," ACM Applied Computing Review, ACM Press, 27:32 Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. C. J. Date, H. Darwen, A Guide to The SQL Standard, Third Edition, Addison-Wesley Publishing Company, Inc, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. V. Aho, R. Sethi, and J. D. Ullman. Compilers: Principles, Techniques and Tools. Addison-Wesley, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. MySQL web site: http://www.mysql.comGoogle ScholarGoogle Scholar
  18. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. XML (eXtensible Markup Language) specifications - web site http://www.w3.org/XML/Google ScholarGoogle Scholar
  20. Apache Jakarta Regexp - web site: http://jakarta.apache.org/regexp/Google ScholarGoogle Scholar

Index Terms

  1. A relational approach to software metrics

    Recommendations

    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 Conferences
      SAC '04: Proceedings of the 2004 ACM symposium on Applied computing
      March 2004
      1733 pages
      ISBN:1581138121
      DOI:10.1145/967900

      Copyright © 2004 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: 14 March 2004

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate1,650of6,669submissions,25%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader