Abstract
The research on software metrics has a long history for more than forty years, but the research on object-oriented (OO) software metrics has been going on for a few years only. C&K metrics is one of the most famous researches on OO software metrics. First, this paper analyses the shortcoming of the C&K metrics suite for object-oriented design and provides an improved metrics suite. Then the paper introduces a practical C++ measurement tool, SMTCPP, implemented by the authors based on improved metrics. SMTCPP parses C++ programs by the LL(1) method, extracts a lot of program information, such as classes, members and objects; counts the indications, such as the number of methods per class, the biggest complexity among methods, depth of inheritance tree, the number of children, coupling between object classes, response for class, and relative lack of cohesion in methods. The measure values are very useful to guide the software process. The tool may also put the values into a database to collect sufficient data for building a software quality evaluation model. Last, the paper analyses the experiments for three practical programs. The result shows that SMTCPP is useful.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Chidamber, R., Kemerer, F.: A Metrics Suite for Object-Oriented Design. IEEE Trans. software Eng., Vol. 20, No. 6 (1994)
Brito, F., Abreu: The MOOD Metric set. Proc. ECOOP’95 Workshop on Metrics (1995)
Harrison, R., Nithi, R.: An Evaluation of the MOOD Set of Object-Oriented Software Metrics. IEEE Transactions on Software Engineering, Vol. 24, No. 6, June (1998)
Hitz, M., Montazeri, B.; Chidamber and Kemerer’s Metrics Suite: A Measurement Theory Perspective. IEEE Transactions on Software Engineering, Vol. 22, No. 4, April (1996)
Chen, J.-Y., Liu, J.-F.: A new metrics for Object-Oriented Design. Information and Software Technology, Vol. 35, No. 4 (1993)
Dahong, X., Zongtian, L.: The Metrics Theory and methods in Object-Oriented Design. Computer Science, Vol. 1 (1998)
Pan Biao: Rearch On C++ Object-Oriented Software Metrics. [Master’s degree thesis], Hefei University of Technology (1999)
Chidamber, R., Kemerer, F.: Towards a for Metrics Suite Object-Oriented Design. OOPSLA’91 (1991)
Gustafson, D.A., Prasad, B.: Properties of software measures. In: Formal Aspects of Measurement. T. Denvir et al., New York, Springer-Verlag (1991)
Churcher, N.I., Sheooed, M.J.: Towards a Conceptual Framework for Object Oriented Software Metrics. ACM Softw. Eng.Notes.Vol.20, No.2, April (1995)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Li, X., Liu, Z., Pan, B., Xing, D. (2001). A Measurement Tool for Object Oriented Software and Measurement Experiments with It. In: Dumke, R., Abran, A. (eds) New Approaches in Software Measurement. IWSM 2000. Lecture Notes in Computer Science, vol 2006. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44704-0_4
Download citation
DOI: https://doi.org/10.1007/3-540-44704-0_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41727-9
Online ISBN: 978-3-540-44704-7
eBook Packages: Springer Book Archive