• DocumentCode
    747848
  • Title

    A Complexity Measure

  • Author

    McCabe, Thomas J.

  • Author_Institution
    Department of Defense, National Security Agency
  • Issue
    4
  • fYear
    1976
  • Firstpage
    308
  • Lastpage
    320
  • Abstract
    This paper describes a graph-theoretic complexity measure and illustrates how it can be used to manage and control program complexity. The paper first explains how the graph-theory concepts apply and gives an intuitive explanation of the graph concepts in programming terms. The control graphs of several actual Fortran programs are then presented to illustrate the correlation between intuitive complexity and the graph-theoretic complexity. Several properties of the graph-theoretic complexity are then proved which show, for example, that complexity is independent of physical size (adding or subtracting functional statements leaves complexity unchanged) and complexity depends only on the decision structure of a program.
  • Keywords
    Basis; complexity measure; control flow; decomposition; graph theory; independence; linear; modularization; programming; reduction; software; testing; Fluid flow measurement; Graph theory; Linear programming; National security; Software engineering; Software maintenance; Software measurement; Software systems; Software testing; System testing; Basis; complexity measure; control flow; decomposition; graph theory; independence; linear; modularization; programming; reduction; software; testing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1976.233837
  • Filename
    1702388