Constraint Handling in NSGA-II for Solving Optimal Testing Resource Allocation Problems

被引:31
作者
Zhang, Guofu [1 ]
Su, Zhaopin [1 ]
Li, Miqing [2 ]
Yue, Feng [1 ]
Jiang, Jianguo [1 ]
Yao, Xin [3 ,4 ]
机构
[1] Hefei Univ Technol, Sch Comp & Informat, Hefei 230009, Anhui, Peoples R China
[2] Univ Birmingham, Sch Comp Sci, CERCIA, Birmingham B15 2TT, W Midlands, England
[3] Southern Univ Sci & Technol, Dept Comp Sci & Engn, Shenzhen Key Lab Computat Intelligence, Shenzhen 518055, Peoples R China
[4] Univ Birmingham, Sch Comp Sci, CERCIA, Birmingham B15 2TT, W Midlands, England
基金
中国国家自然科学基金; 英国工程与自然科学研究理事会;
关键词
Constraint handling; heuristics; multiobjective optimization; software reliability; testing-resource allocation; SOFTWARE-RELIABILITY GROWTH; EVOLUTIONARY ALGORITHMS; PERFORMANCE; COST;
D O I
10.1109/TR.2017.2738660
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In software testing, optimal testing resource allocation problems (OTRAPs) are importantwhen seeking a good tradeoff between reliability, cost, and time with limited resources. There have been intensive studies of OTRAPs using multiobjective evolutionary algorithms (MOEAs), but little attention has been paid to the constraint handling. This paper comprehensively investigates the effect of the constraint handling on the performance of nondominated sorting genetic algorithm II (NSGA-II) for solving OTRAPs, from both theoretical and empirical perspectives. The heuristics for individual repairs are first proposed to handle constraint violations in NSGA-II, based on which several properties are derived. Additionally, the Z-score based Euclidean distance is adopted to estimate the difference between solutions. Finally, the above methods are evaluated and the experiments show several results. 1) The developed heuristics for constraint handling are better than the Existing Strategy in terms of the capacity and coverage values. 2) The Z-score operation obtains better diversity values and reduces repeated solutions. 3) The modified NSGA-II for OTRAPs (called NSGA-II-TRA) performs significantly better than the existing MOEAs in terms of capacity and coverage values, which suggests that NSGA-II-TRA could obtain more and higher quality testing-time-allocation schemes, especially for large, complex datasets. 4) NSGA-II-TRA is robust according to the sensitivity analysis results.
引用
收藏
页码:1193 / 1212
页数:20
相关论文
共 47 条
[1]   The Oracle Problem in Software Testing: A Survey [J].
Barr, Earl T. ;
Harman, Mark ;
McMinn, Phil ;
Shahbaz, Muzammil ;
Yoo, Shin .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) :507-525
[2]   THE NONLINEAR RESOURCE-ALLOCATION PROBLEM [J].
BRETTHAUER, KM ;
SHETTY, B .
OPERATIONS RESEARCH, 1995, 43 (04) :670-683
[3]   A fast and elitist multiobjective genetic algorithm: NSGA-II [J].
Deb, K ;
Pratap, A ;
Agarwal, S ;
Meyarivan, T .
IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2002, 6 (02) :182-197
[4]  
Deb K., 1995, Complex Systems, V9, P115
[5]  
Deb K., 2001, MULTIOBJECTIVE OPTIM, V16
[6]  
Deb K, 2006, GECCO 2006: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, P635
[7]   Optimal Allocation of Testing Effort Considering Software Architecture [J].
Fiondella, Lance ;
Gokhale, Swapna S. .
IEEE TRANSACTIONS ON RELIABILITY, 2012, 61 (02) :580-589
[8]   Mutant reduction based on dominance relation for weak mutation testing [J].
Gong, Dunwei ;
Zhang, Gongjie ;
Yao, Xiangjuan ;
Meng, Fanlin .
INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 81 :82-96
[9]   Reducing scheduling sequences of message-passing parallel programs [J].
Gong, Dunwei ;
Zhang, Chen ;
Tian, Tian ;
Li, Zheng .
INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 80 :217-230
[10]   Evolutionary generation of test data for many paths coverage based on grouping [J].
Gong, Dunwei ;
Zhang, Wanqiu ;
Yao, Xiangjuan .
JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (12) :2222-2233