skip to main content
research-article

Validating software metrics: A spectrum of philosophies

Published: 07 February 2013 Publication History

Abstract

Context. Researchers proposing a new metric have the burden of proof to demonstrate to the research community that the metric is acceptable in its intended use. This burden of proof is provided through the multi-faceted, scientific, and objective process of software metrics validation. Over the last 40 years, however, researchers have debated what constitutes a “valid” metric.
Aim. The debate over what constitutes a valid metric centers on software metrics validation criteria. The objective of this article is to guide researchers in making sound contributions to the field of software engineering metrics by providing a practical summary of the metrics validation criteria found in the academic literature.
Method. We conducted a systematic literature review that began with 2,288 papers and ultimately focused on 20 papers. After extracting 47 unique validation criteria from these 20 papers, we performed a comparative analysis to explore the relationships amongst the criteria.
Results. Our 47 validation criteria represent a diverse view of what constitutes a valid metric. We present an analysis of the criteria's categorization, conflicts, common themes, and philosophical motivations behind the validation criteria.
Conclusions. Although the 47 validation criteria are not conflict-free, the diversity of motivations and philosophies behind the validation criteria indicates that metrics validation is complex. Researchers proposing new metrics should consider the applicability of the validation criteria in terms of our categorization and analysis. Rather than arbitrarily choosing validation criteria for each metric, researchers should choose criteria that can confirm that the metric is appropriate for its intended use. We conclude that metrics validation criteria provide answers to questions that researchers have about the merits and limitations of a metric.

References

[1]
Ayewah, N., Hovemeyer, D., Morgenthaler, J. D., Penix, J., and Pugh, W. 2008. Using Static Analysis to Find Bugs.IEEE Softw. 25, 5, 22--29.
[2]
Baker, A. L., Bieman, J. M., Fenton, N., Gustafson, D., Melton, A., and Whitty, R. 1990. A philosophy for software measurement. J. Syst. Softw. 12, 3, 277--281.
[3]
Basili, V. R. and Weiss, M. 1994. A methodology for collecting valid software engineering data. IEEE Trans. Softw. Engin. SE-IO, 6, 728--738.
[4]
Brereton, P., Kitchenham, B. A., Budgen, D., Turner, M., and Khalil, M. 2007. Lessons from applying the systematic literature review process within the software engineering domain. J. Syst. Softw. 80, 571--583.
[5]
Briand, L., Emam, K. E., and Morasca, S. 1996. On the Application of Measurement Theory in Software Engineering. Empirical Softw. Engin. 1, 1, 61--88.
[6]
Briand, L., Emam, K. E., and Morasca, S. 1995. Theoretical and empirical validation of software product measures. Tech. rep. #ISERN-95-04. International Software Engineering Research Network.
[7]
Bush, M. E. and Fenton, N. E. 1990. Software measurement: A conceptual framework. J. Syst. Softw. 12, 3, 223--231.
[8]
Cavano, J. and McCall, J. 1978. A framework for the measurement of software quality. In Proceedings of the Software Quality Assurance Workshop on Functional and Performance Issues.
[9]
Courtney, R. E. and Gustafson, D. A. 1993. Shotgun correlations in software measures. Softw. Engin. J. 8, 1, 5--13.
[10]
Curtis, B. 1980. Measurement and experimentation in software engineering. Proc. IEEE 68, 9, 1144--1157.
[11]
El Emam, K. 2000. A methodology for validating software product metrics. Tech. rep. NCR/ERC-1076, National Research Council of Canada, Ottawa, Ontario, Canada.
[12]
Elbaum, S. G. and Munson, J. C. 1998. Getting a handle on the fault injection process: validation of measurement tools. In Proceedings of the 5th International Software Metrics Symposium.
[13]
Fenton, N. 1994. Software measurement: a necessary scientific basis. IEEE Trans. Softw. Engin. 20, 3, 199--206.
[14]
Fenton, N. and Kitchenham, B. 1991. Validating software measures. J. Softw. Testing Verif. Reliab. 1, 2, 27--42.
[15]
Fenton, N. and Neil, M. 1999. Software metrics: successes, failures and new directions. J. Syst. Softw. 47, 2--3, 149--157.
[16]
Fenton, N. and Neil, M. 2000. Software metrics: roadmap. Future of Software Engineering. In Proceedings of the Conference on The Future of Software Engineering.
[17]
Harman, M. and Clark, J. 2004. Metrics are fitness functions too. In Proceedings of the 10th International Symposium on Software Metrics.
[18]
Henderson-Sellers, B. 1996. The mathematical validity of software metrics. ACM SIGSOFT Softw. Engin. Notes 21, 5, 89--94.
[19]
IEEE 1990. IEEE Standard 610.12-1990. IEEE Standard Glossary of Software Engineering Terminology.
[20]
ISO/IEC 1991. ISO/IEC 9126: Information technology - software product evaluation - quality characteristics and guidelines for their use.
[21]
Jones, C. 1994. Software metrics: good, bad and missing. Computer 27, 9, 98--100.
[22]
Kitchenham, B. 2004. Procedures for performing systematic reviews. Joint Tech. rep., Keele University Tech. rep. TR/SE-0401 and NICTA Tech. rep. 0400011T.
[23]
Kitchenham, B. 2010. What's up with software metrics? A preliminary mapping study. J. Syst. Softw. 83, 1, 37--51.
[24]
Kitchenham, B., Pfleeger, S. L., and Fenton, N. 1995. Towards a framework for software measurement validation. IEEE Trans. Softw. Engin. 21, 12, 929--944.
[25]
Lincke, R. and Lowe, W. 2006. Foundations for defining software metrics. In Proceedings of the 3rd International Workshop on Metamodels, Schemas, Grammars, and Ontologies for Reverse Engineering (ATEM'06).
[26]
McCabe, T. 1976. A complexity measure. IEEE Trans. Softw. Engin. SE-2, 4, 308--320.
[27]
Rao, P. V. 2007. Statistical Research Methods in Life Sciences. Duxbury Press, Pacific Grove, CA.
[28]
Roche, J. M. 1994. Software metrics and measurement principles. ACM SIGSOFT Softw. Engin. Notes 19, 1, 77--85.
[29]
Schneidewind, N. F. 1991. Validating software metrics: producing quality discriminators. In Proceedings of the International Symposium on Software Reliability Engineering.
[30]
Schneidewind, N. F. 1992. Methodology for validating software metrics. IEEE Trans. Softw. Engin. 18, 5, 410--422.
[31]
Weyuker, E. J. 1988. Evaluating software complexity measures. IEEE Trans. Softw. Engin. 14, 9, 1357--1365.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Software Engineering and Methodology
ACM Transactions on Software Engineering and Methodology  Volume 21, Issue 4
November 2012
197 pages
ISSN:1049-331X
EISSN:1557-7392
DOI:10.1145/2377656
Issue’s Table of Contents
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: 07 February 2013
Accepted: 01 June 2011
Revised: 01 May 2011
Received: 01 September 2010
Published in TOSEM Volume 21, Issue 4

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Software metrics
  2. systematic literature review
  3. validation criterion

Qualifiers

  • Research-article
  • Research
  • Refereed

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)56
  • Downloads (Last 6 weeks)12
Reflects downloads up to 04 Feb 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media