DocumentCode
3209362
Title
Syntactic fault patterns in OO programs
Author
Alexander, Roger T. ; Offutt, Jeff ; Bieman, James M.
Author_Institution
Dept. of Comput. Sci., Colorado State Univ., Fort Collins, CO, USA
fYear
2002
fDate
2-4 Dec. 2002
Firstpage
193
Lastpage
202
Abstract
Although program faults are widely studied, there are many aspects of faults that we still do not understand, particularly about OO software. In addition to the simple fact that one important goal during testing is to cause failures and thereby detect faults, a full understanding of the characteristics of faults is crucial to several research areas. The power that inheritance and polymorphism brings to the expressiveness of programming languages also brings a number of new anomalies and fault types. In prior work we presented a fault model for the appearance and realization of OO faults that are specific to the use of inheritance and polymorphism. Many of these faults cannot appear unless certain syntactic patterns are used. The patterns are based on language constructs, such as overriding methods that directly define inherited state variables and non-inherited methods that call inherited methods. If one of these syntactic patterns is used, then we say the software contains an anomaly and possibly a fault. We describe the syntactic patterns for each OO fault type. These syntactic patterns can potentially be found with an automatic tool. Thus, faults can be uncovered and removed early in development.
Keywords
inheritance; object-oriented programming; program testing; software reliability; software tools; fault model; inheritance; object oriented programs; polymorphism; program faults; program testing; software reliability; software tool; syntactic fault patterns; Computer languages; Computer science; Costs; Fault detection; Java; Object oriented modeling; Problem-solving; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Engineering of Complex Computer Systems, 2002. Proceedings. Eighth IEEE International Conference on
Conference_Location
Greenbelt, MD, USA
Print_ISBN
0-7695-1757-9
Type
conf
DOI
10.1109/ICECCS.2002.1181512
Filename
1181512
Link To Document