Int J Performability Eng ›› 2018, Vol. 14 ›› Issue (6): 1330-1340.doi: 10.23940/ijpe.18.06.p25.13301340

• Original articles • Previous Articles     Next Articles

Input Domain Reduction of Search-based Structural Test Data Generation using Interval Arithmetic

Xuewei Lva, b, Song Huanga, and Haijin Jia, b   

  1. aCommand and Control Engineering College, Army Engineering University of PLA, Nanjing, 210074, China
    bSchool of Computer Science and Technology, Huaiyin Normal University, Nanjing, 210074, China

Abstract:

The size of search space has an impact on the efficiency of test data generation by meta-heuristic algorithms. To enhance the efficiency of test data generation, a method that reduces search space utilizing interval arithmetic is proposed. Firstly, all input variables of the program are presented as interval variables. Then, the interval of each variable is gradually reduced by many constraint conditions in the target path. Finally, meta-heuristic algorithm with reduced search space is carried out to generate test data. Experimental results show the proposed method has advantages in the number of generations, running time, and success rate, which can significantly enhance the efficiency of test data by using meta-heuristic algorithms.


Submitted on March 7, 2018; Revised on April 4, 2018; Accepted on May 8, 2018
References: 14