Skip to main content

Product Measurement: Code

  • Chapter
Managing Software Quality

Part of the book series: Practitioner Series ((PRACT.SER.))

  • 108 Accesses

Abstract

Developing measures of software (code) quality has been a long-term challenge in computer science and software engineering. A survey of articles in the literature reveals that many metrics are available for measuring software. Some well documented metrics include Halstead’s Elements of Software Science (1977), McCabe’s Cyclomatic Number (1976) and Henry and Kafura’s “Software structure metrics based on information flow” (1981). A major criticism of using any one of these metrics in isolation is that it provides a snapshot of only one particular aspect of code quality. For example, McCabe’s Cyclomatic Complexity reports the number of paths through a program. While this particular characteristic is certainly related to program quality, it says nothing about the many other contributors to code quality, e.g. intermodule coupling, the use of structured programming constructs, code commenting, and so forth. Even if one employs a collection of existing metrics, each developed in relative isolation and narrowly focused on particular characteristics, drawing a conclusion from disparate measures is indeed difficult.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag London

About this chapter

Cite this chapter

Nance, R.E., Arthur, J.D. (2002). Product Measurement: Code. In: Managing Software Quality. Practitioner Series. Springer, London. https://doi.org/10.1007/978-1-4471-0117-8_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0117-8_6

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-85233-393-5

  • Online ISBN: 978-1-4471-0117-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics