Measuring prime program complexity

TitleMeasuring prime program complexity
Publication TypeJournal Articles
Year of Publication1994
AuthorsZelkowitz MV, Tian J
JournalInformation Sciences
Volume77
Issue3–4
Pagination325 - 350
Date Published1994/03//
ISBN Number0020-0255
Abstract

This paper uses the prime program decomposition of a program as the basis for a measure that closely correlates with our intuitive notion of program complexity. This measure is based upon the information theory ideas of randomness and entropy such that results about structured programming, data abstractions, and other programming paradigms can be stated in quantitative terms, and empirical means can be used to validate the assumptions used to develop the model. As a graph-based model, it can be applied to several graphical examples as extensions not otherwise available to source-code based models. This paper introduces the measure, derives several properties for it, and gives some simple examples to demonstrate that the measure is a plausible approximation of our notions concerning structured programming.

URLhttp://www.sciencedirect.com/science/article/pii/0020025594900078
DOI10.1016/0020-0255(94)90007-8