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

Software development effort estimation using fuzzy logic: a case study

TL;DR: This paper describes an application whose results are compared with those of a multiple regression, and shows that the value of MMRE (an aggregation of magnitude of relative error, MRE) applying fuzzy logic was slightly higher than MMRE applying multiple regression.
Journal ArticleDOI

Graph embedding as a new approach for unknown malware detection

TL;DR: The main advantages of the proposed method are high detection rate despite utilizing simple classifiers like KNN, acceptable computational complexity even in large scale datasets against rival methods, and low false positive rate.
Journal ArticleDOI

Cyclomatic Complexity and Lines of Code: Empirical Evidence of a Stable Linear Relationship

TL;DR: Evidence is presented that not only that the linear relationship between LOC and CC is stable, but the aspects of code complexity that CC measures, such as the size of the test case space, grow linearly with source code size across languages and programming paradigms.
Journal ArticleDOI

Software metrics: an overview of recent results

TL;DR: Over 120 of the many publications on software metrics that have appeared since 1980 are classified and presented in five tables that comprise the use of classic metrics, a description of new metrics, software metrics through the life cycle, code metrics and popular programming languages, and various metric-based estimation models.
Proceedings ArticleDOI

Measurement of the cognitive functional complexity of software

TL;DR: The cognitive functional size provides a novel, stable and practical software complexity measurement and is helpful to explain the fundamental nature of software complexity in the phase of design, implementation, or maintenance in software engineering.
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.