scispace - formally typeset
Journal ArticleDOI

A Complexity Measure

Reads0
Chats0
TLDR
Several properties of the graph-theoretic complexity are proved which show, for example, that complexity is independent of physical size and complexity depends only on the decision structure of a program.
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.

read more

Citations
More filters

Measures of Information Complexity and the Implications for Automation Design

Jing Xing
TL;DR: A set of measures to assess information complexity are presented that count information complexity as the combination of three basic factors: numeric size, variety, and relation; each factor is evaluated by the functions at three stages of brain information processing: perception, cognition, and action.
Journal ArticleDOI

Automated refactoring to the Strategy design pattern

TL;DR: The proposed method for automated refactoring to Strategy contributes to simplification of conditional statements and enhances system extensibility through the Strategy design pattern.
Proceedings ArticleDOI

SATT: Tailoring Code Metric Thresholds for Different Software Architectures

TL;DR: This paper proposes SATT (Software Architecture Tailored Thresholds), an approach that detects whether an architectural role is considerably different from others in the system in terms of code metrics, and provides a specific threshold for that role.

Examples, rules, and strategies in the control of dynamic systems.

TL;DR: The consideration of a third type of knowledge strategic knowledge is suggested, defined as general knowledge about the variables of a system and their causal relations, to resolve contradictions in other studies where effects of structural knowledge on performance have been found.
Book ChapterDOI

Defining Metrics for UML Statechart Diagrams in a Methodological Way

TL;DR: A set of metrics for the size and structural complexity of UML statechart diagrams are defined and empirically validated to theoretically validate them and to empirically validate them as understandability indicators.
References
More filters
Journal ArticleDOI

Structured Programming with go to Statements

TL;DR: For serious students of structured programming, and also for language designers, Knuth's "Structured Programming with go to Statements" is probably the paper to read.
Journal ArticleDOI

Analysis of structured programs

TL;DR: It is shown that an arbitrary program P is reducible to a D-chart if and only if P does not contain a loop with two distinct exits.
Journal ArticleDOI

A genealogy of control structures

TL;DR: It is argued further that there is insufficient evidence to warrant more than if-then-else, while-do, and their variants and the importance of one-in, one-out control structures as operational abstractions.