DocumentCode
3475305
Title
Fragment class analysis for testing of polymorphism in Java software
Author
Rountev, Atanas ; Milanova, A.
Author_Institution
Dept. of Comput. & Inf. Sci., Ohio State Univ., Columbus, OH, USA
fYear
2003
fDate
3-10 May 2003
Firstpage
210
Lastpage
220
Abstract
Adequate testing of polymorphism in object-oriented software requires coverage of all possible bindings of receiver classes and target methods at call sites. Tools that measure this coverage need to use class analysis to compute the coverage requirements. However, traditional whole-program class analysis cannot be used when testing partial programs. To solve this problem, we present a general approach for adapting whole-program class analyses to operate on program fragments. Furthermore, since analysis precision is critical for coverage tools, we provide precision measurements for several analyses by determining which of the computed coverage requirements are actually feasible. Our work enables the use of whole-program class analyses for testing of polymorphism in partial programs, and identifies analyses that compute precise coverage requirements and therefore are good candidates for use in coverage tools.
Keywords
Java; object-oriented programming; program testing; Java software; fragment class analysis; object-oriented software; polymorphism testing; Automatic testing; Collaboration; Computer science; Contracts; Fault detection; Information science; Java; Programming profession; Software testing; Software tools;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2003. Proceedings. 25th International Conference on
ISSN
0270-5257
Print_ISBN
0-7695-1877-X
Type
conf
DOI
10.1109/ICSE.2003.1201201
Filename
1201201
Link To Document