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

CocoViz: Towards Cognitive Software Visualizations

TL;DR: The goal is to use simple and well-known graphical elements known from daily life such as houses, spears, or tables to allow a user a quick and intuitive understanding of a given visualization via their proportions.
Journal ArticleDOI

How Well Do Change Sequences Predict Defects? Sequence Learning from Software Changes

TL;DR: A novel approach called Fences is proposed, which extracts six types of change sequences covering different aspects of software changes via fine-grained change analysis via deep learning and achieves an average F-measure of 0.657, which improves the prediction models built on traditional metrics significantly.

Spatial measures of software complexity.

TL;DR: This paper introduces a set of simple software complexity metrics that has been inspired by developments within cognitive psychology and can be adjusted using subjective measures of programmer experience and knowledge.
Journal ArticleDOI

Software metrics: an introduction and annotated bibliography

TL;DR: Software metrics, an area of software engineering, is concerned with various measurements of computer software and its development and some current areas of investigation.

Practical Machine Learning for Software Engineering and Knowledge Engineering

Tim Menzies
TL;DR: This chapter explains how to use ML to assist in the construction of systems that support classification, prediction, diagnosis, planning, monitoring, requirements engineering, validation, and maintenance.
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.