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.
- National Aeronautics and Space Administration. "Software Measurement Guidebook." Technical Report SEL-94-002, NASA Goddard Space Flight Center, Greenbelt MD 20771, July 1994.Google Scholar
- 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 Scholar
- Fenton, N., S. L. Pfleeger (1997) Software Metrics: A Rigorous and Practical Approach, PWS Publishing Co. Google ScholarDigital Library
- L. Briand, P. Devanbu, and W. Melo. An investigation into coupling measures for c++. Technical Report ISERN-96-08, ISERN, 1996.Google Scholar
- W. Li. Another metric suite for object-oriented programming. Journal of Systems and Software, 44:155.162, 1998. Google ScholarDigital Library
- M. Lorenz and J. Kidd. Object-Oriented Software Metrics. Prentice Hall Inc., 1994. Google ScholarDigital Library
- Chidamber, R., Kemerer, F.: A Metrics Suite for Object-Oriented Design. IEEE Trans. software Eng., Vol. 20, No. 6 (1994). Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- W. Li and S. Henry. Object-oriented metrics that predict maintainability. Journal of Systems and Software, 23:111.122, 1993. Google ScholarDigital Library
- 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 ScholarDigital Library
- T. McCabe, "A Complexity Measure", IEEE Transaction on Software Engineering, 1976. Google ScholarDigital Library
- JavaCC Website: http://javacc.dev.java.net/Google Scholar
- G. Succi, E. Liu "A Relations-Based Approach for Simplifying Metrics Extraction," ACM Applied Computing Review, ACM Press, 27:32 Google ScholarDigital Library
- C. J. Date, H. Darwen, A Guide to The SQL Standard, Third Edition, Addison-Wesley Publishing Company, Inc, 1993. Google ScholarDigital Library
- A. V. Aho, R. Sethi, and J. D. Ullman. Compilers: Principles, Techniques and Tools. Addison-Wesley, 1986. Google ScholarDigital Library
- MySQL web site: http://www.mysql.comGoogle Scholar
- E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995. Google ScholarDigital Library
- XML (eXtensible Markup Language) specifications - web site http://www.w3.org/XML/Google Scholar
- Apache Jakarta Regexp - web site: http://jakarta.apache.org/regexp/Google Scholar
Index Terms
- A relational approach to software metrics
Recommendations
An Evolution of Software Metrics: A Review
ICAIP '17: Proceedings of the International Conference on Advances in Image ProcessingThe main goal of software engineering is to produce good quality reusable software within the given time-period, with minimum cost and that satisfies the user's needs. To enhance the quality of the software, number of techniques should be adopted. In ...
Source code metrics
Three major programming paradigms measured by source code metrics were identified.The CK metrics and the object oriented paradigm are the most studied subjects.Java benchmark systems are the most commonly measured systems in research.Technology on ...
Empirical Validation of Three Software Metrics Suites to Predict Fault-Proneness of Object-Oriented Classes Developed Using Highly Iterative or Agile Software Development Processes
Empirical validation of software metrics suites to predict fault proneness in object-oriented (OO) components is essential to ensure their practical use in industrial settings. In this paper, we empirically validate three OO metrics suites for their ...
Comments