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
Performance issues and optimizations in JavaScript: an empirical study
Marija Selakovic,Michael Pradel +1 more
TL;DR: An empirical study of 98 fixed performance issues from 16 popular client-side and server-side JavaScript projects identifies eight root causes of issues and shows that inefficient usage of APIs is the most prevalent root cause.
Journal ArticleDOI
A transfer cost-sensitive boosting approach for cross-project defect prediction
TL;DR: A transfer cost-sensitive boosting method that considers both knowledge transfer and class imbalance for CPDP when given a small amount of labeled target data, which shows that the proposed model provides significantly higher defect detection accuracy while retaining better overall performance.
Book ChapterDOI
EASY meta-programming with Rascal
TL;DR: Rascal as discussed by the authors is a meta-programming language for source code analysis and transformation, which is intended to solve problems in the domain of source code transformation and analysis and is a work in progress both regarding implementation and documentation.
Proceedings ArticleDOI
Program quality with pair programming in CS1
TL;DR: A study in which pairing students were more likely to turn in working programs, and these programs correctly implemented more required features was found.
Journal ArticleDOI
Using software architecture for code testing
TL;DR: This research exploits the specification of SA dynamics to identify useful schemes of interactions between system components and to select test classes corresponding to relevant architectural behaviors, using labeled transition systems called ALTSs.
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.