Abstract
The effect of the quality of program source code on the cost of development and maintenance as well as on final system performance has resulted in a demand for technology that can measure and evaluate the quality with high precision. Many metrics have been proposed for measuring quality, but none have been able to provide a comprehensive evaluation, nor have they been used widely. We propose a practical framework which achieves effective measurement and evaluation of source code quality, solves many of the problems of earlier frameworks, and applies to programs in the C programming language. The framework consists of a comprehensive quality metrics suite, a technique for normalization of measured values, an aggregation tool which allows evaluation in arbitrary module units from the component level up to whole systems, a visualization tool for the evaluation of results, a tool for deriving rating levels, and a set of derived standard rating levels. By applying this framework to a collection of embedded programs experimentally, we verified that the framework can be used effectively to give quantitative evaluations of reliability, maintainability, reusability and portability of source code.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Ogasawara, H., et al.: Evaluating Effectiveness of Software Metrics, Union of Japanese Scientists and Engineers, 20SPC Research subcommittee report (2004)
Chaudron, M.: Evaluating Software Architectures, http://www.win.tue.nl/mchaudro/swads/
Sindre, G., et al.: The REBOOT Approach to Software Reuse, Journal of Systems and Software 30(3) (1995)
Bansiya, J., Davis, C.G.: A Hierarchical Model for Object-Oriented Design Quality Assessment, IEEE Transactions on Software Engineering 28(1) (2002)
Supervised by Kanno, A., et. al.: Software quality maintenance technology for the 21st Century, Union of Japanese Scientists and Engineers (1994)
Ortega, M., et al.: Construction of A Systematic Quality Model for Evaluating A Software Product, Software Quality Journal 11(3) (2003)
Monden, A.: A Study of Data Collection using EPM and Analysis using GQM. In: 4th Empirical Software Engineering Workshop (2005)
ISO/IEC TR 9126-3: Software engineering – Product quality – Part 3: Internal metrics (2003)
ISO/IEC 9126-1: Information technology – Software product evaluation: Quality Characteristics and Guidelines for their use (2001)
ISO/IEC 14598-1: Information technology – Software product evaluation: Part 1: General overview (1998)
Washizaki, H., et al.: A Metrics Suite for Measuring Reusability of Software Components. In: Proc. 9th IEEE International Software Metrics Symposium (2003)
Hirayama, M., et al.: Evaluating Usability of Software Components, Information Processing Society of Japan Journal 45(6) (2004)
Programming Research Ltd.: QAC, http://www.programmingresearch.com/
Telelogic: Logiscope, http://www.telelogic.com/corp/products/logiscope/
Basili, V.R., Weiss, D.M.: A Methodology for Collecting Valid Software Engineering Data, IEEE Transactions on Software Engineering 10(6) (1984)
The Motor Industry Software Reliability Association: MISRA-C: 2004 – Guidelines for the use of the C language in critical systems (2004), http://www.misra-c2.com/
IPA/SEC: C-Language Coding best practices for Embedded software Guide, Shoeisha Inc. (2006)
Emi, K., Lewerentz, C.: Applying Design-Metrics to Object-Oriented Frameworks. In: Proc. 3rd IEEE International Software Metrics Symposium (1996)
ISO/IEC 15939:2002, Software engineering – Software measurement process (2002)
McCabe, T.J., Watson, A.H.: Software Complexity, Crosstalk, Journal of Defense Software Engineering 7(12) (1994)
Kazman, R., et al.: Making Architecture Design Decisions: An Economic Approach, CMU/SEI-2002-TR-035 (2002)
OMG: UML 2.0 OCL Specification, http://www.omg.org/docs/ptc/05-06-06.pdf
Washizaki, H., et al.: Experiments on Quality Evaluation of Embedded Software in Japan Robot Software Design Contest. In: Proc. 28th International Conference on Software Engineering (ICSE 2006), pp.551–560 (2006)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Washizaki, H., Namiki, R., Fukuoka, T., Harada, Y., Watanabe, H. (2007). A Framework for Measuring and Evaluating Program Source Code Quality. In: Münch, J., Abrahamsson, P. (eds) Product-Focused Software Process Improvement. PROFES 2007. Lecture Notes in Computer Science, vol 4589. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73460-4_26
Download citation
DOI: https://doi.org/10.1007/978-3-540-73460-4_26
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-73459-8
Online ISBN: 978-3-540-73460-4
eBook Packages: Computer ScienceComputer Science (R0)