DocumentCode
753018
Title
Optimal Insertion of Software Probes in Well-Delimited Programs
Author
Probert, Robert L.
Author_Institution
Department of Computer Science, University of Ottawa
Issue
1
fYear
1982
Firstpage
34
Lastpage
42
Abstract
A standard technique for monitoring software testing activities is to instrument the module under test with counters or probes before testing begins; then, during testing, data generated by these probes can be used to identify portions of as yet unexercised code. In this paper the effect of the disciplined use of language features for explicitly delimiting control flow constructs is investigated with respect to the corresponding ease of software instrumentation. In particular, assuming all control constructs are explicitly delimited, for example, by END IF or equivalent statements, an easily programmed method is given for inserting a minimum number of probes for monitoring statement and branch execution counts without disrupting source code structure or paragraphing. The use of these probes, called statement probes, is contrasted with the use of standard (branch) probes for execution monitoring. It is observed that the results apply to well-delimited modules written in a wide variety of programming languages, in particular, Ada.
Keywords
Branch execution; control structures; execution count; flowgraphs; graph theory; monitors; probe basis; program instrumentation; programming language design; software probes; spanning trees; structured programs; testing; Code standards; Computer languages; Counting circuits; Graph theory; Instruments; Monitoring; Probes; Software standards; Software testing; System testing; Branch execution; control structures; execution count; flowgraphs; graph theory; monitors; probe basis; program instrumentation; programming language design; software probes; spanning trees; structured programs; testing;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.1982.234772
Filename
1702903
Link To Document