Journal ArticleDOI
A Complexity Measure
Reads0
Chats0
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
Current challenges in automatic software repair
TL;DR: Current work on evolutionary computation approaches is reviewed, focusing on GenProg, which uses genetic programming to evolve a patch to a particular bug, and important open research challenges are outlined that should guide future research in the area.
Journal ArticleDOI
Deep Semantic Feature Learning for Software Defect Prediction
TL;DR: This work proposes leveraging a powerful representation-learning algorithm, deep learning, to learn the semantic representations of programs automatically from source code files and code changes and results indicate that the DBN-based semantic features can significantly improve the examined defect prediction tasks.
Proceedings ArticleDOI
Understanding understanding source code with functional magnetic resonance imaging
Janet Siegmund,Christian Kästner,Sven Apel,Chris Parnin,Anja Bethmann,Thomas Leich,Gunter Saake,André Brechmann +7 more
TL;DR: This paper explores whether functional magnetic resonance imaging (fMRI), which is well established in cognitive neuroscience, is feasible to soundly measure program comprehension and finds a clear, distinct activation pattern of five brain regions that fit well to the understanding of program comprehension.
Proceedings ArticleDOI
Dynamic path-based software watermarking
Christian Collberg,Edward Carter,Saumya K. Debray,A. Huntwork,John Kececioglu,Cullen Linn,Michael Stepp +6 more
TL;DR: Results indicate that even relatively large watermarks can be embedded into programs at modest cost and error-correcting and tamper-proofing techniques can be used to make path-based watermarks resilient against a wide variety of attacks.
Proceedings ArticleDOI
Revisiting the evaluation of defect prediction models
Thilo Mende,Rainer Koschke +1 more
TL;DR: This paper describes a trivial model that takes only the module size measured in lines of code into account, and compares it to five classification methods, and finds that the trivial model performs surprisingly well when evaluated using AUC.
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.