A Nesting Level Complexity Measure

37Citations
Citations of this article
14Readers
Mendeley users who have this article in their library.

Abstract

Two well-publicized program complexity measures are software science and cyclomatic complexity. Three areas where these measures do not always follow our intuitive notions of complexity are: structured vs unstructured programs, nested vs sequential predicates, and the use of case statements. This paper defines a nesting level complexity measure that punishes unstructuredness, and the nesting of predicates, and rewards the use of case statements. Examples are given where the nesting level complexity agrees with intuitive rankings of program structures where software science, cyclomatic complexity, and their suggested refinements do not. © 1982, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Piwowarski, P. (1982). A Nesting Level Complexity Measure. ACM SIGPLAN Notices, 17(9), 44–50. https://doi.org/10.1145/947955.947960

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free