DocumentCode
2372046
Title
Investigating Java type analyses for the receiver-classes testing criterion
Author
Brunelle, Pierre-Luc ; Merlo, Ettore ; Antonio, G.
Author_Institution
Comput. Eng. Dept., Ecole Polytechnique Montreal, Que., Canada
fYear
2003
fDate
17-20 Nov. 2003
Firstpage
419
Lastpage
429
Abstract
This paper investigates the precision of three linear-complexity type analyses for Java software: Class Hierarchy Analysis (CHA), Rapid Type Analysis (RTA) and Variable Type Analysis (VTA). Precision is measured relative to class targets. Class targets results are useful in the context of the receiver-classes criterion, which is an object-oriented testing strategy that aims to exercise every possible class binding of the receiver object reference at each dynamic call site. In this context, using a more precise analysis decreases the number of infeasible bindings to cover, thus it reduces the time spent on conceiving test data sets. This paper also introduces two novel variations to VTA, called the iteration and intersection variants. We present experimental results about the precision of CHA, RTA and VTA on a set of 17 Java programs, corresponding to a total of 600 kLOC of source code. Results show that, on average, RTA suggests 13% less bindings than CHA, standard VTA suggests 23% less bindings than CHAt and VTA with the two variations together suggests 32% less bindings than CHA.
Keywords
Java; object-oriented programming; program testing; reasoning about programs; software metrics; Java programs; Java software; Java type analysis; class binding; class hierarchy analysis; class targets; intersection variant; iteration variant; linear complexity type analysis; object-oriented testing; rapid type analysis; receiver object reference; receiver-class testing; source code; variable type analysis; Java; Runtime; Testing; Yield estimation;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
ISSN
1071-9458
Print_ISBN
0-7695-2007-3
Type
conf
DOI
10.1109/ISSRE.2003.1251063
Filename
1251063
Link To Document