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

Improving defect prediction with deep forest

TL;DR: A new deep forest model is proposed to build the defect prediction model (DPDF), which can identify more important defect features by using a new cascade strategy, which transforms random forest classifiers into a layer-by-layer structure.
Proceedings ArticleDOI

Extending software quality assessment techniques to Java systems

TL;DR: Extensions to Bell Canada source code quality assessment suite (DATRIX tm) for handling Java language systems are presented based on source code object metrics, including Java interface metrics, which are presented and explained in detail.
Journal ArticleDOI

AI-Based Software Defect Predictors: Applications and Benefits in a Case Study

TL;DR: The results show that defect predictors can predict 87 percent of code defects, decrease inspection efforts by 72 percent and hence, reduces post-release defects by 44 percent and can be used as complementary tools for a new process implementation whose effects on testing activities are limited.
Journal ArticleDOI

Predicting source-code complexity at the design stage

S. Henry, +1 more
- 01 Mar 1990 - 
TL;DR: It is shown how metrics can be used to gauge the quality of source code by evaluating its design specifications before coding, thus shortening the development life cycle.
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.