SciELO - Scientific Electronic Library Online

 
vol.26 issue2Measuring the Storing Capacity of Hyperdimensional Binary VectorsSentiment Analysis of COVID19 Reviews Using Hierarchical Version of d-RNN author indexsubject indexsearch form
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • Have no similar articlesSimilars in SciELO

Share


Computación y Sistemas

On-line version ISSN 2007-9737Print version ISSN 1405-5546

Abstract

PATTNAIK, Saumendra et al. Test Case Generation Using Symbolic Execution. Comp. y Sist. [online]. 2022, vol.26, n.2, pp.1035-1044.  Epub Mar 10, 2023. ISSN 2007-9737.  https://doi.org/10.13053/cys-26-2-3887.

Testing is a well-known technique for identifying errors in software programs. Testing can be done in two ways: Static analysis and Dynamic analysis. Symbolic execution plays a vital role in static analysis for test case generation and to find the unreachable path with minimum test cases. Unreachable path is a part of a program which can never be executed i.e., the symbolic execution doesn’t continue for that path and the current execution stops there. It generates a test suite for loop-free programs that is achieved by path coverage. In the best case program loops implies increase in the number of paths exponentially and in the worst case the program will not terminate. The functions of symbolic execution are test input generation, unreachable path detection, finding bugs in software programs, debugging. In this paper, we focus on dead code detection and test input generation using symbolic execution. Our execution for Java programs uses Java Path Finder (JPF) model tester. Our analysis shows that the symbolic execution method can be used to reduce symbolic execution time and to find out the unreachable path with less number of test cases.

Keywords : Symbolic execution; path coverage; unreachable path; test input generation.

        · text in English     · English ( pdf )