![]() |
个人信息Personal Information
教授
博士生导师
硕士生导师
任职 : 智能计算教研室主任
性别:男
毕业院校:吉林大学
学位:博士
所在单位:计算机科学与技术学院
学科:计算机应用技术. 计算机软件与理论
办公地点:创新园大厦A820
联系方式:13304609362
电子邮箱:lucos@dlut.edu.cn
论文成果
当前位置: 姚念民欢迎报考硕博士 >> 科学研究 >> 论文成果Generating Test Data for Path Coverage Based on Genetic Algorithm
点击次数:
论文类型:会议论文
发表时间:2021-06-05
卷号:719
摘要:Test data generation is an important part of software testing. The imbalance of data crossing program branches is often ignored in generating test data. As a result, there is much data crossing some branches while little data crossing other branches. To solve the phenomenon so as to generate test data effectively, we introduce branch balance and program balance in the evolutionary generation of test data. First, the number of individuals crossing the true and false branch of each branch node on the target path are computed. Then, the calculation methods of branch balance and program balance are given. Finally, the fitness value function which considers the change of program balance before and after an individual joining is presented. And an individual that can improve the balance will be retained in the evolution process. Experiments show that our method is better than the other method in running time and success rate.