The Community for Technology Leaders
Green Image
Issue No. 06 - June (2004 vol. 30)
ISSN: 0098-5589
pp: 372-387
Atanas Rountev , IEEE Computer Society
Ana Milanova , IEEE Computer Society
Barbara G. Ryder , IEEE Computer Society
<p><b>Abstract</b>—Testing of polymorphism in object-oriented software may require 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 incomplete 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 for a set of subject components. Our work enables the use of whole-program class analyses for testing of polymorphism in partial programs, and identifies analyses that potentially are good candidates for use in coverage tools.</p>
Program analysis, class analysis, test coverage, object-oriented software.

A. Rountev, B. G. Ryder and A. Milanova, "Fragment Class Analysis for Testing of Polymorphism in Java Software," in IEEE Transactions on Software Engineering, vol. 30, no. , pp. 372-387, 2004.
82 ms
(Ver 3.3 (11022016))