scispace - formally typeset
Journal ArticleDOI

A Complexity Measure

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
Proceedings ArticleDOI

Visually localizing design problems with disharmony maps

TL;DR: This article presents disharmony maps, a visualization-based approach to locate such flawed software artifacts in large systems using a 3D visualization technique based on a city metaphor, and evaluates the approach on a number of open-source Java systems.

Developing Software Metrics Applicable to UML Models

TL;DR: This paper proposes some new software metrics that can be applied to UML modelling elements like classes and messages so that they can be used to predict various characteristics at the earlier stages of the software life cycle.
Journal ArticleDOI

The impact of feature reduction techniques on defect prediction models

TL;DR: The study of the impact of eight feature reduction techniques on the performance and the variance in performance of five supervised learning and five unsupervised defect prediction models recommends that practitioners who do not wish to choose a best-performing defect prediction model for their data use a neural network-based feature reduction technique.
Journal ArticleDOI

The Path Prefix Software Testing Strategy

TL;DR: A new software testing strategy is described that ensures branch coverage, requires only "order n" tests, and offers considerable advantages over existing strategies in its computational requirements.
Proceedings ArticleDOI

Predicting Defective Software Components from Code Complexity Measures

TL;DR: This study confirms that static code complexity measures can be useful indicators of component quality, and takes three code-level complexity measures as input, and classifies components as either defective or non-defective.
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.