面向路径覆盖测试数据生成的多目标启发式信息优化算法

X. Feng, Rui Ding, Baojie Chai, T. Huo
{"title":"面向路径覆盖测试数据生成的多目标启发式信息优化算法","authors":"X. Feng, Rui Ding, Baojie Chai, T. Huo","doi":"10.1145/3495018.3495135","DOIUrl":null,"url":null,"abstract":"Software testing is an important means to guarantee the quality of software products. The path coverage-oriented test data generation problem can be transformed into an optimization problem that can be solved by intelligent algorithms. To improve the efficiency of path coverage-oriented test data generation, an optimized algorithm which uses solution-based heuristic information is designed in view of the characteristics of the problem. Since there is usually a correspondence based on a certain branch node(s) between the test data of adjacent paths, we can use the test data information of the branch path that has been solved–regard it as the heuristic information of the algorithm–to generate the corresponding test data of the branch path that is difficult to meet. Therefore, the efficiency of problem solving can be increased by using heuristic information provided by the obtained test data. Based on the easy-to-cover path information in the key point path representation method, this paper designs an improved framework for accessing heuristic information, and adopts a multi-objective selection strategy, therefore designs a multi-objective heuristic information optimization algorithm for path coverage-oriented test data generation. Simulation experiments show that the algorithm can generate test data faster.","PeriodicalId":6873,"journal":{"name":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture","volume":"54 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Multi-Objective Heuristic Information Optimization Algorithm for Path Coverage-Oriented Test Data Generation\",\"authors\":\"X. Feng, Rui Ding, Baojie Chai, T. Huo\",\"doi\":\"10.1145/3495018.3495135\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Software testing is an important means to guarantee the quality of software products. The path coverage-oriented test data generation problem can be transformed into an optimization problem that can be solved by intelligent algorithms. To improve the efficiency of path coverage-oriented test data generation, an optimized algorithm which uses solution-based heuristic information is designed in view of the characteristics of the problem. Since there is usually a correspondence based on a certain branch node(s) between the test data of adjacent paths, we can use the test data information of the branch path that has been solved–regard it as the heuristic information of the algorithm–to generate the corresponding test data of the branch path that is difficult to meet. Therefore, the efficiency of problem solving can be increased by using heuristic information provided by the obtained test data. Based on the easy-to-cover path information in the key point path representation method, this paper designs an improved framework for accessing heuristic information, and adopts a multi-objective selection strategy, therefore designs a multi-objective heuristic information optimization algorithm for path coverage-oriented test data generation. Simulation experiments show that the algorithm can generate test data faster.\",\"PeriodicalId\":6873,\"journal\":{\"name\":\"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture\",\"volume\":\"54 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3495018.3495135\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3495018.3495135","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

软件测试是保证软件产品质量的重要手段。面向路径覆盖率的测试数据生成问题可以转化为可通过智能算法求解的优化问题。为了提高面向路径覆盖测试数据生成的效率,针对该问题的特点,设计了一种基于解的启发式信息优化算法。由于相邻路径的测试数据之间通常存在基于某一分支节点的对应关系,因此我们可以利用已解出的分支路径的测试数据信息——将其作为算法的启发式信息——生成难以满足的分支路径对应的测试数据。因此,利用获得的测试数据提供的启发式信息可以提高问题求解的效率。基于关键点路径表示方法中易于覆盖的路径信息,设计了改进的启发式信息获取框架,采用多目标选择策略,设计了面向路径覆盖测试数据生成的多目标启发式信息优化算法。仿真实验表明,该算法可以更快地生成测试数据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Multi-Objective Heuristic Information Optimization Algorithm for Path Coverage-Oriented Test Data Generation
Software testing is an important means to guarantee the quality of software products. The path coverage-oriented test data generation problem can be transformed into an optimization problem that can be solved by intelligent algorithms. To improve the efficiency of path coverage-oriented test data generation, an optimized algorithm which uses solution-based heuristic information is designed in view of the characteristics of the problem. Since there is usually a correspondence based on a certain branch node(s) between the test data of adjacent paths, we can use the test data information of the branch path that has been solved–regard it as the heuristic information of the algorithm–to generate the corresponding test data of the branch path that is difficult to meet. Therefore, the efficiency of problem solving can be increased by using heuristic information provided by the obtained test data. Based on the easy-to-cover path information in the key point path representation method, this paper designs an improved framework for accessing heuristic information, and adopts a multi-objective selection strategy, therefore designs a multi-objective heuristic information optimization algorithm for path coverage-oriented test data generation. Simulation experiments show that the algorithm can generate test data faster.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信