CN112732583B - 一种基于聚类和多种群遗传算法的软件测试数据生成方法 - Google Patents
一种基于聚类和多种群遗传算法的软件测试数据生成方法 Download PDFInfo
- Publication number
- CN112732583B CN112732583B CN202110051670.6A CN202110051670A CN112732583B CN 112732583 B CN112732583 B CN 112732583B CN 202110051670 A CN202110051670 A CN 202110051670A CN 112732583 B CN112732583 B CN 112732583B
- Authority
- CN
- China
- Prior art keywords
- variants
- test data
- variant
- population
- cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000002068 genetic effect Effects 0.000 title claims abstract description 38
- 238000012360 testing method Methods 0.000 claims abstract description 114
- 238000013178 mathematical model Methods 0.000 claims abstract description 12
- 238000007619 statistical method Methods 0.000 claims abstract description 4
- 230000035772 mutation Effects 0.000 claims description 25
- 239000011159 matrix material Substances 0.000 claims description 8
- 238000005457 optimization Methods 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 3
- 230000007547 defect Effects 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 2
- 238000012163 sequencing technique Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 11
- 238000013522 software testing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000011160 research Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000013100 final test Methods 0.000 description 1
- 230000007614 genetic variation Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Biophysics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Biology (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Genetics & Genomics (AREA)
- General Health & Medical Sciences (AREA)
- Physiology (AREA)
- Computer Hardware Design (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Quality & Reliability (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
编号 | M<sub>i</sub> | Dif(M<sub>i</sub>) | 编号 | M<sub>i</sub> | Dif(M<sub>i</sub>) | 编号 | M<sub>i</sub> | Dif(M<sub>i</sub>) |
1 | M<sub>14</sub> | 0.9998 | 11 | M<sub>30</sub> | 0.9792 | 21 | M<sub>9</sub> | 0.5784 |
2 | M<sub>16</sub> | 0.9998 | 12 | M<sub>15</sub> | 0.9790 | 22 | M<sub>10</sub> | 0.5286 |
3 | M<sub>17</sub> | 0.9998 | 13 | M<sub>6</sub> | 0.9688 | 23 | M<sub>27</sub> | 0.5054 |
4 | M<sub>19</sub> | 0.9990 | 14 | M<sub>8</sub> | 0.9688 | 24 | M<sub>25</sub> | 0.4846 |
5 | M<sub>24</sub> | 0.9990 | 15 | M<sub>21</sub> | 0.9662 | 25 | M<sub>28</sub> | 0.4846 |
6 | M<sub>20</sub> | 0.9870 | 16 | M<sub>26</sub> | 0.9662 | 26 | M<sub>12</sub> | 0.4714 |
7 | M<sub>22</sub> | 0.9870 | 17 | M<sub>29</sub> | 0.9356 | 27 | M<sub>13</sub> | 0.4714 |
8 | M<sub>23</sub> | 0.9870 | 18 | M<sub>18</sub> | 0.7076 | 28 | M<sub>11</sub> | 0.4714 |
9 | M<sub>2</sub> | 0.9850 | 19 | M<sub>7</sub> | 0.6818 | 29 | M<sub>3</sub> | 0.3404 |
10 | M<sub>4</sub> | 0.9850 | 20 | M<sub>1</sub> | 0.6600 | 30 | M<sub>5</sub> | 0.3182 |
Claims (1)
Applications Claiming Priority (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2020107704059 | 2020-08-03 | ||
CN202010770405 | 2020-08-03 | ||
CN2020110728345 | 2020-10-09 | ||
CN2020110724024 | 2020-10-09 | ||
CN202011072411 | 2020-10-09 | ||
CN202011072834 | 2020-10-09 | ||
CN2020110724113 | 2020-10-09 | ||
CN202011072402 | 2020-10-09 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112732583A CN112732583A (zh) | 2021-04-30 |
CN112732583B true CN112732583B (zh) | 2022-02-18 |
Family
ID=75513622
Family Applications (9)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110051697.5A Active CN112699054B (zh) | 2020-08-03 | 2021-01-14 | 一种软件测试用例有序生成方法 |
CN202110051666.XA Withdrawn CN112699050A (zh) | 2020-08-03 | 2021-01-14 | 一种基于变异体分组的软件测试用例多种群进化生成方法 |
CN202110051669.3A Active CN112699052B (zh) | 2020-08-03 | 2021-01-14 | 一种基于相关输入变量的软件测试用例进化生成方法 |
CN202110051668.9A Active CN112699051B (zh) | 2020-08-03 | 2021-01-14 | 一种基于相关输入变量的变异体分组方法 |
CN202110028395.6A Withdrawn CN112699045A (zh) | 2020-08-03 | 2021-01-14 | 一种基于多种群遗传算法的软件测试用例生成方法 |
CN202110051667.4A Withdrawn CN112732582A (zh) | 2020-08-03 | 2021-01-14 | 一种基于搜索域缩减的软件测试用例进化生成方法 |
CN202110028394.1A Withdrawn CN112732577A (zh) | 2020-08-03 | 2021-01-14 | 一种多任务软件测试用例进化生成方法 |
CN202110051670.6A Active CN112732583B (zh) | 2020-08-03 | 2021-01-14 | 一种基于聚类和多种群遗传算法的软件测试数据生成方法 |
CN202110051696.0A Active CN112699053B (zh) | 2020-08-03 | 2021-01-14 | 一种融入模糊聚类的软件测试方法 |
Family Applications Before (7)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110051697.5A Active CN112699054B (zh) | 2020-08-03 | 2021-01-14 | 一种软件测试用例有序生成方法 |
CN202110051666.XA Withdrawn CN112699050A (zh) | 2020-08-03 | 2021-01-14 | 一种基于变异体分组的软件测试用例多种群进化生成方法 |
CN202110051669.3A Active CN112699052B (zh) | 2020-08-03 | 2021-01-14 | 一种基于相关输入变量的软件测试用例进化生成方法 |
CN202110051668.9A Active CN112699051B (zh) | 2020-08-03 | 2021-01-14 | 一种基于相关输入变量的变异体分组方法 |
CN202110028395.6A Withdrawn CN112699045A (zh) | 2020-08-03 | 2021-01-14 | 一种基于多种群遗传算法的软件测试用例生成方法 |
CN202110051667.4A Withdrawn CN112732582A (zh) | 2020-08-03 | 2021-01-14 | 一种基于搜索域缩减的软件测试用例进化生成方法 |
CN202110028394.1A Withdrawn CN112732577A (zh) | 2020-08-03 | 2021-01-14 | 一种多任务软件测试用例进化生成方法 |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110051696.0A Active CN112699053B (zh) | 2020-08-03 | 2021-01-14 | 一种融入模糊聚类的软件测试方法 |
Country Status (1)
Country | Link |
---|---|
CN (9) | CN112699054B (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342662B (zh) * | 2021-06-11 | 2024-09-03 | 南京工业大学 | 一种面向神经元特性的ai系统软件模型变异方法 |
CN113590474B (zh) * | 2021-07-12 | 2022-03-22 | 山东建筑大学 | 一种并行程序顽固变异体的判定方法及系统 |
CN114091622A (zh) * | 2021-12-07 | 2022-02-25 | 西安邮电大学 | 一种基于自组织映射神经网络的变异体约简方法 |
CN114461535B (zh) * | 2022-04-14 | 2022-07-12 | 山东建筑大学 | 面向并行变异算子的顽固变异体测试数据生成方法及系统 |
CN115248781B (zh) * | 2022-09-22 | 2022-12-27 | 西南科技大学 | 一种组合测试用例生成方法、装置、设备及可读存储介质 |
CN115729825B (zh) * | 2022-11-25 | 2024-10-29 | 中国长江三峡集团有限公司 | 一种工业协议的模糊测试用例生成方法、装置和电子设备 |
CN115617700B (zh) * | 2022-12-19 | 2023-04-07 | 华东交通大学 | 基于关系分析的测试用例设计、生成方法及系统 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107590313A (zh) * | 2017-08-14 | 2018-01-16 | 天津大学 | 基于遗传算法和变异分析的优化测试向量生成方法 |
CN107729241A (zh) * | 2017-10-12 | 2018-02-23 | 中国矿业大学 | 一种基于变异体分组的软件变异测试数据进化生成方法 |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002093318A2 (en) * | 2001-05-15 | 2002-11-21 | Psychogenics Inc. | Systems and methods for monitoring behavior informatics |
US20080052690A1 (en) * | 2006-08-08 | 2008-02-28 | Microsoft Corporation | Testing software with a build engine |
US8589736B2 (en) * | 2011-08-12 | 2013-11-19 | Tata Consultancy Services Limited | System and method for automatic test data generation for relational testing |
CN103593287B (zh) * | 2013-10-30 | 2016-08-17 | 北京信息控制研究所 | 一种基于遗传算法的数据流测试用例自动生成方法 |
CN103559129B (zh) * | 2013-10-31 | 2016-08-17 | 中国矿业大学 | 基于遗传算法的统计回归测试数据生成方法 |
CN103605605B (zh) * | 2013-11-21 | 2016-05-25 | 中国矿业大学 | 基于语句占优关系和两阶段遗传算法的高阶变异测试方法 |
CN103973511A (zh) * | 2014-04-28 | 2014-08-06 | 南京邮电大学 | 一种基于消息组合变异的服务脆弱性测试方法 |
WO2016130578A1 (en) * | 2015-02-09 | 2016-08-18 | 10X Genomics, Inc. | Systems and methods for determining structural variation and phasing using variant call data |
CN105302719B (zh) * | 2015-10-26 | 2017-11-28 | 北京科技大学 | 一种变异测试方法及装置 |
CN105808426B (zh) * | 2016-02-28 | 2018-10-16 | 徐州工程学院 | 一种用于弱变异测试的路径覆盖测试数据生成方法 |
CN105868116B (zh) * | 2016-04-15 | 2018-07-24 | 西北工业大学 | 基于语义变异算子的测试用例生成和优化方法 |
JP6572168B2 (ja) * | 2016-04-22 | 2019-09-04 | 日本電信電話株式会社 | テストデータ生成プログラム及びテストデータ生成方法 |
CN105930272B (zh) * | 2016-04-22 | 2018-10-02 | 中国矿业大学 | 基于重要语句的分支覆盖测试数据生成方法 |
EP3388994A1 (de) * | 2017-04-12 | 2018-10-17 | Siemens Aktiengesellschaft | Verfahren und vorrichtung zum rechnergestützten testen einer blockkette |
CN108664391B (zh) * | 2018-03-13 | 2021-03-23 | 北京邮电大学 | 一种面向程序状态的故障分类方法、变异测试方法及设备 |
CN108763055B (zh) * | 2018-04-19 | 2020-08-25 | 北京航空航天大学 | 一种基于表观遗传的测试用例约束控制技术的构建方法 |
CN110399285B (zh) * | 2018-04-24 | 2022-11-15 | 西安邮电大学 | 一种基于弱变异分析的测试用例约减方法 |
CN109542783B (zh) * | 2018-11-19 | 2021-07-09 | 北京航空航天大学 | 一种基于变量分割的扩展有限状态机测试数据生成方法 |
US10956133B2 (en) * | 2018-11-28 | 2021-03-23 | International Business Machines Corporation | Static optimization of production code for dynamic profiling |
CN111274119B (zh) * | 2018-12-05 | 2022-05-17 | 徐州工程学院 | 一种基于多种群协同进化的变异测试数据生成方法 |
WO2020136880A1 (ja) * | 2018-12-28 | 2020-07-02 | 三菱電機株式会社 | テスト実行装置、テスト実行方法及びテスト実行プログラム |
CN111352830B (zh) * | 2020-01-06 | 2023-10-24 | 中国矿业大学 | 基于语句占优关系的变异测试数据进化生成方法 |
CN111563044B (zh) * | 2020-05-11 | 2022-10-25 | 西安邮电大学 | 一种基于程序变异的程序谱错误定位方法 |
-
2021
- 2021-01-14 CN CN202110051697.5A patent/CN112699054B/zh active Active
- 2021-01-14 CN CN202110051666.XA patent/CN112699050A/zh not_active Withdrawn
- 2021-01-14 CN CN202110051669.3A patent/CN112699052B/zh active Active
- 2021-01-14 CN CN202110051668.9A patent/CN112699051B/zh active Active
- 2021-01-14 CN CN202110028395.6A patent/CN112699045A/zh not_active Withdrawn
- 2021-01-14 CN CN202110051667.4A patent/CN112732582A/zh not_active Withdrawn
- 2021-01-14 CN CN202110028394.1A patent/CN112732577A/zh not_active Withdrawn
- 2021-01-14 CN CN202110051670.6A patent/CN112732583B/zh active Active
- 2021-01-14 CN CN202110051696.0A patent/CN112699053B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107590313A (zh) * | 2017-08-14 | 2018-01-16 | 天津大学 | 基于遗传算法和变异分析的优化测试向量生成方法 |
CN107729241A (zh) * | 2017-10-12 | 2018-02-23 | 中国矿业大学 | 一种基于变异体分组的软件变异测试数据进化生成方法 |
Also Published As
Publication number | Publication date |
---|---|
CN112699051B (zh) | 2022-04-01 |
CN112699053A (zh) | 2021-04-23 |
CN112732577A (zh) | 2021-04-30 |
CN112699045A (zh) | 2021-04-23 |
CN112699051A (zh) | 2021-04-23 |
CN112699050A (zh) | 2021-04-23 |
CN112699052B (zh) | 2022-04-15 |
CN112732582A (zh) | 2021-04-30 |
CN112699053B (zh) | 2022-02-22 |
CN112732583A (zh) | 2021-04-30 |
CN112699052A (zh) | 2021-04-23 |
CN112699054A (zh) | 2021-04-23 |
CN112699054B (zh) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112732583B (zh) | 一种基于聚类和多种群遗传算法的软件测试数据生成方法 | |
Kalash et al. | Malware classification with deep convolutional neural networks | |
CN107622182B (zh) | 蛋白质局部结构特征的预测方法及系统 | |
Hamdani et al. | Multi-objective feature selection with NSGA II | |
CN111898689B (zh) | 一种基于神经网络架构搜索的图像分类方法 | |
Shafipour et al. | Particle distance rank feature selection by particle swarm optimization | |
CN116361801B (zh) | 基于应用程序接口语义信息的恶意软件检测方法及系统 | |
Ning et al. | Adaptive deep reuse: Accelerating CNN training on the fly | |
CN107729241B (zh) | 一种基于变异体分组的软件变异测试数据进化生成方法 | |
CN111782804B (zh) | 基于TextCNN同分布文本数据选择方法、系统及存储介质 | |
CN114743600B (zh) | 基于门控注意力机制的靶标-配体结合亲和力的深度学习预测方法 | |
CN111400713B (zh) | 基于操作码邻接图特征的恶意软件族群分类方法 | |
CN116361788A (zh) | 一种基于机器学习的二进制软件漏洞预测方法 | |
JP2004152306A (ja) | 双峰性データを判別する方法 | |
CN112488188B (zh) | 一种基于深度强化学习的特征选择方法 | |
Markowska-Kaczmar et al. | Discovering the mysteries of neural networks | |
CN115729825A (zh) | 一种工业协议的模糊测试用例生成方法、装置和电子设备 | |
JP7532300B2 (ja) | 情報処理方法、プログラム及び情報処理装置 | |
CN115423076A (zh) | 基于两步式框架的有向超图链式预测方法 | |
WO2018151619A1 (en) | Network analysis tool testing | |
Dupre et al. | Iterative Self-Learning: Semi-Supervised Improvement to Dataset Volumes and Model Accuracy. | |
Cao et al. | Detection and fine-grained classification of malicious code using convolutional neural networks and swarm intelligence algorithms | |
CN114996256B (zh) | 一种基于类别平衡的数据清洗方法 | |
Iqbal et al. | Comparison of two methods for computing action values in XCS with code-fragment actions | |
CN113836027B (zh) | 一种使用生成式网络进行失败测试用例生成的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240920 Address after: 400000 2-2-1-61 319 Haier Road, Jiangbei District, Chongqing. Patentee after: Chongqing Steady Technology Co.,Ltd. Country or region after: China Address before: 221000 Lishui Road, Yunlong District, Xuzhou, Jiangsu 2 Patentee before: XUZHOU University OF TECHNOLOGY Country or region before: China |
|
TR01 | Transfer of patent right |
Effective date of registration: 20241010 Address after: Unit 11C, 10th Floor, Building 3, No. 48 Zhichun Road, Haidian District, Beijing 100086 Patentee after: Beijing Yunqi Infinite Technology Co.,Ltd. Country or region after: China Address before: 400000 2-2-1-61 319 Haier Road, Jiangbei District, Chongqing. Patentee before: Chongqing Steady Technology Co.,Ltd. Country or region before: China |