DocumentCode :
1416712
Title :
Toward automatic detection of software failures
Author :
Savor, Tony ; Seviora, Rudolph E.
Author_Institution :
Bank of Nova Scotia, Toronto, Ont., Canada
Volume :
31
Issue :
8
fYear :
1998
fDate :
8/1/1998 12:00:00 AM
Firstpage :
68
Lastpage :
74
Abstract :
To date, no method has explicitly and cost effectively dealt with failure detection in software systems whose specifications are nondeterministic. In such systems, the specification permits multiple outputs for the same input sequence and system state. Nondeterminism in specifications is advantageous because the specification writer can avoid stating irrelevant behavior as mandatory, freeing the software designer to choose a behavioral alternative that would yield a more desirable implementation. Unfortunately, this flexibility comes at a cost to the failure detection mechanism. It must accommodate all the target system´s legal behavioral alternatives and avoid favoring one of them. The article describes a hierarchical supervisor whose failure detection mechanism explicitly addresses systems with nondeterministic specifications. The supervisor, a unit separate from the target system, observes the system´s external inputs and outputs and reports any failures. Its hierarchical structure results from splitting the task of identifying the behavioral alternative the target system chooses from the task of checking the details of system behavior. This structure makes it possible to efficiently trade off detection accuracy and computational cost. To evaluate their approach, the authors created a prototype supervisor and used it to supervise the execution of the control program of a small telephone exchange. Results indicate that the hierarchical supervisor can significantly reduce the computational cost of considering the target system´s behavioral alternatives. However, although the supervisor´s computational cost is significantly reduced, it is still higher than that for the target system
Keywords :
formal specification; program diagnostics; software reliability; telecommunication computing; telephony; automatic detection; behavioral alternative; computational cost; external inputs; failure detection; failure detection mechanism; hierarchical structure; hierarchical supervisor; input sequence; legal behavioral alternatives; multiple outputs; nondeterministic specifications; prototype supervisor; small telephone exchange; software designer; software failures; specification writer; system state; Automatic testing; Costs; Delay; Law; Legal factors; Signal generators; Software systems; Software testing; System testing; Telephony;
fLanguage :
English
Journal_Title :
Computer
Publisher :
ieee
ISSN :
0018-9162
Type :
jour
DOI :
10.1109/2.707619
Filename :
707619
Link To Document :
بازگشت