DocumentCode
174293
Title
Method sequence generation for multiple object states using dynamic symbolic execution
Author
Takamatsu, Hiroki ; Sato, Hikaru ; Oyama, Shinya ; Kurihara, Masazumi
Author_Institution
Grad. Sch. of Inf. Sci. & Technol., Hokkaido Univ., Sapporo, Japan
fYear
2014
fDate
5-8 Oct. 2014
Firstpage
3632
Lastpage
3636
Abstract
Software testing in object-oriented programming requires not only test input data, but also method sequences. Method sequences create new instances and change object states as desired. Method sequence generation to get desired object states is challenging. Seeker is one of the state-of-the-art implementation to generate test cases with method sequences. However, the technique generates method sequences to change a value of only a single variable. Therefore, it cannot cover the branches that need to modify values of multiple variables. In this paper, we extend the technique in order to cover branches which require multiple desired object states. The proposed approach detects all related variables in uncovered branches and uses a fitness function to give method sequences an evaluation value to reduce candidate methods. We applied Seeker and the proposed approach to four open source projects. The result shows a 1-5% improvement of branch coverage over Seeker and also indicates that the effectiveness of the proposed approach varies depending on some specific features of projects.
Keywords
object-oriented programming; program testing; Seeker; branch coverage; candidate methods; dynamic symbolic execution; fitness function; method sequence generation; multiple desired object states; object-oriented programming; open source projects; software testing; Algorithm design and analysis; Conferences; Explosions; Heuristic algorithms; Libraries; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Systems, Man and Cybernetics (SMC), 2014 IEEE International Conference on
Conference_Location
San Diego, CA
Type
conf
DOI
10.1109/SMC.2014.6974494
Filename
6974494
Link To Document