计算机科学 ›› 2021, Vol. 48 ›› Issue (6A): 572-574.doi: 10.11896/jsjkx.200500121
张慧
ZHANG Hui
摘要: 错误定位的效率依赖回归测试用例的质量,然而相同相似的测试用例影响着错误定位的效率。针对以上问题,文中提出了利用基于改进的人工免疫技术的程序变异产生多个变异体,然后通过高斯混合聚类约简变异体进行错误定位。实验结果表明,相比其他方法,所提方法可以提高错误定位的效率。
中图分类号:
[1] BAUDREY B,FLEUREY F,YVES L T.Improving Test Suites for Efficient Fault Localization[C]//In Proceedings of IEEE InternationalConference on Software Engineering.Shanghai,China,2006:82-91. [2] YU Y,JONES J A,HARROLD M J.An Empirical Study of the Effects of Test Suite Reductionon Fault Localization[C]//Proceedings ofInternational Conference on Software Engineering.Leipzig,Germany,2008:201-210. [3] HAO D,ZHANG L,PAN Y,et al.On Similarity-Awareness in Testing-Based Fault Localization[J].Automated Software Engineering,2008,15(2):207-249. [4] ZHANG X,GU Q,CHEN X,et al.A Study of Relative Redundancy inTest-Suite Reduction While Retaining or 1mproving Fault-LocalizationEffectiveness[C]//Proceedings of ACM Symposium on Applied Computing.Sierre,Switzerland,2010:2229-2236. [5] 遗传算法系列(3)交叉算法[EB/OL].http://www.cppblog.com/feng/archive/2008/06/18/53870.html. [6] CHEN G L,WANG X F,ZHUANG Z Q,et al.Genetic Algorithm and Its Application[M].People Post Press,2001. [7] HAN X M,WANG L M.Artificial Immune Algorithm and Its Application [M].Electronic Industry Press,2013. [8] MA J,SHI G.Theory and Application of Artificial Immune Algorithm [M].Northeastern University Press,2014. [9] ABREU R,ZOETEWEIJ P,VAN GEMUND A J.On the Accuracy of Spectrum-based Fault Localization [C]//Proceedings of Testing:Academic and Industrial Conference Practice and Research Techniques-MUTATION.Windsor,USA,2007:89-98. [10] ABREU R,ZOETEWEIJ P,VAN GEMUND A J.An Evaluation of Similarity Coefficients forSoftware Fault Localization [C]//Proceedings of Pacific Rim International Symposium on Dependable Computing.Riverside,USA,2006:39-46. [11] HAN X M,WANG L M.Artificial Immune Algorithm and Its Application [M].Electronic Industry Press,2013. [12] MA J,SHI G.Theory and Application of Artificial Immune Algorithm [M].Northeastern University Press,2014. [13] 聚类之高斯混合模型与EM算法[EB/OL].https://www.cnblogs.com/Luv-GEM/p/10851395.html. |
[1] | 贾琳, 杨超, 宋玲玲, 程镇, 李琲珺. 改进的否定选择算法及其在入侵检测中的应用 Improved Negative Selection Algorithm and Its Application in Intrusion Detection 计算机科学, 2021, 48(6): 324-331. https://doi.org/10.11896/jsjkx.200400033 |
[2] | 张慧. 基于深度卷积网络的多错误定位方法 Multiple Fault Localization Method Based on Deep Convolutional Network 计算机科学, 2021, 48(11A): 88-92. https://doi.org/10.11896/jsjkx.210200096 |
[3] | 王蓁蓁, 刘嘉. 基于校正因子的随机TBFL方法 Stochastic TBFL Approach Based on Calibration Factor 计算机科学, 2019, 46(11): 161-167. https://doi.org/10.11896/jsjkx.191100503C |
[4] | 马元锋,李昂儒,余慧敏,潘晓英. 基于动态拥挤距离的混合多目标免疫优化算法 Dynamic Crowding Distance-based Hybrid Immune Algorithm for Multi-objective Optimization Problem 计算机科学, 2018, 45(6A): 63-68. |
[5] | 杨超, 秦廷栋, 范波, 李涛. 基于人工免疫危险理论的微博水军用户检测研究 Study on Detection of Weibo Spammers Based on Danger Theory in Artificial Immunity System 计算机科学, 2018, 45(11): 138-142. https://doi.org/10.11896/j.issn.1002-137X.2018.11.020 |
[6] | 海沫,张游. Spark平台下聚类算法的性能比较 Performance Comparison of Clustering Algorithms in Spark 计算机科学, 2017, 44(Z6): 414-418. https://doi.org/10.11896/j.issn.1002-137X.2017.6A.093 |
[7] | 朱朝阳,陈相舟,闫龙,张信明. 基于主成分分析法的人工免疫识别软件缺陷预测模型研究 Research on Software Defect Prediction Based on AIRS Using PCA 计算机科学, 2017, 44(Z6): 483-485. https://doi.org/10.11896/j.issn.1002-137X.2017.6A.107 |
[8] | 王林鑫,王微微,赵瑞莲,李征. 面向语句的MBFL变异体约减策略 MBFL with Statement-oriented Mutant Reduction Strategy 计算机科学, 2017, 44(11): 175-180. https://doi.org/10.11896/j.issn.1002-137X.2017.11.026 |
[9] | 蒲进兴,李登辉,李征,赵瑞莲. 基于动态相似度的错误定位优先排序方法 Dynamic Similarity Based Fault Localization Prioritization 计算机科学, 2016, 43(3): 206-212. https://doi.org/10.11896/j.issn.1002-137X.2016.03.038 |
[10] | 刘梦冷,杨小双,赵磊,王丽娜. 面向软件错误定位与理解的测试执行离散特征筛选 Discrete Characteristic-based Test Execution Selection for Software Fault Localization and Understanding 计算机科学, 2016, 43(3): 179-187. https://doi.org/10.11896/j.issn.1002-137X.2016.03.034 |
[11] | 龚沛,耿楚瑶,郭俊霞,赵瑞莲. 针对基于变异错误定位的一种动态变异执行策略 Dynamic Mutation Execution Strategy for Mutation-based Fault Localization 计算机科学, 2016, 43(2): 199-203. https://doi.org/10.11896/j.issn.1002-137X.2016.02.043 |
[12] | 张慧. 基于影响分析的回归测试优先级错误定位方法 Regression Testing Prioritization Fault Localization Method Based on Influence Analysis 计算机科学, 2016, 43(10): 182-189. https://doi.org/10.11896/j.issn.1002-137X.2016.10.034 |
[13] | 杨超,李 涛. 计算机免疫危险理论中危险信号的提取方法研究 Research of Danger Signal Extraction Based on Changes in Danger Theory 计算机科学, 2015, 42(8): 170-174. |
[14] | 陈妍伶,汤光明,孙怡峰. 基于免疫危险理论的网络安全态势评估 Assessment of Network Security Situation Based on Immune Danger Theory 计算机科学, 2015, 42(6): 167-170. https://doi.org/10.11896/j.issn.1002-137X.2015.06.036 |
[15] | 左万利,韩佳育,刘 露,王 英,彭 涛. 基于人工免疫算法的增量式用户兴趣挖掘 Incremental User Interest Mining Based on Artificial Immune Algorithm 计算机科学, 2015, 42(5): 34-41. https://doi.org/10.11896/j.issn.1002-137X.2015.05.007 |
|