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

HYDRA: Massively Compositional Model for Cross-Project Defect Prediction

TL;DR: Improvements of HYDRA over other baseline approaches in terms of F1-score and when inspecting the top 20 percent lines of code are substantial, and in most cases the improvements are significant and have large effect sizes across the 29 datasets.
Proceedings ArticleDOI

A Practical Model for Measuring Maintainability

TL;DR: A new maintainability model is sketched that alleviates most of the problems with the MI, and the experiences with using such as system for IT management consultancy activities are discussed.
Proceedings ArticleDOI

The evolution and impact of code smells: A case study of two open source systems

TL;DR: The results show that different phases in the evolution of code smells during the system development and that code smell infected components exhibit a different change behavior are useful for the identification of risk areas within a software system that need refactoring to assure a future positive evolution.
Journal ArticleDOI

Mining Version Histories for Detecting Code Smells

TL;DR: Historical Information for Smell deTection (HIST) is proposed, an approach exploiting change history information to detect instances of five different code smells, namely Divergent Change, Shotgun Surgery, Parallel Inheritance, Blob, and Feature Envy.
Journal ArticleDOI

The Evolution of Sentiment Analysis - A Review of Research Topics, Venues, and Top Cited Papers

TL;DR: The authors presented a computer assisted literature review, where they utilized both text mining and qualitative coding, and analyzed 6,996 papers from Scopus and found that 99% of the papers have been published after 2004.
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.