DocumentCode :
2243823
Title :
Putting assertions in their place
Author :
Voas, Jeffrey M. ; Miller, Keith W.
Author_Institution :
Reliable Software Technol. Corp., Reston, VA, USA
fYear :
1994
fDate :
6-9 Nov 1994
Firstpage :
152
Lastpage :
157
Abstract :
Assertions that are placed at each statement in a program can automatically monitor the internal computations of a program execution. However, the advantages of universal assertions come at a cost. A program with such extensive internal instrumentation will be slower than the same program without the instrumentation. Some of the assertions may be redundant. The task of instrumenting the code with correct assertions at each location is burdensome, and there is no guarantee that the assertions themselves will be correct. We advocate a middle ground between no assertions at all (the most common practice) and the theoretical ideal of assertions at every location. Our compromise is to place assertions only at locations where traditional testing is unlikely to uncover software faults. One type of testability measurement, sensitivity analysis, identifies locations where testing is unlikely to be effective
Keywords :
program testing; sensitivity analysis; software fault tolerance; assertions; internal computations; program execution; sensitivity analysis; software faults; testability measurement; universal assertions; Computerized monitoring; Costs; Fault detection; Fault diagnosis; Instruments; Performance evaluation; Sensitivity analysis; Software measurement; Software safety; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering, 1994. Proceedings., 5th International Symposium on
Conference_Location :
Monterey, CA
Print_ISBN :
0-8186-6665-X
Type :
conf
DOI :
10.1109/ISSRE.1994.341367
Filename :
341367
Link To Document :
بازگشت