基于統(tǒng)計分析的弱變異測試可執(zhí)行路徑生成
[Abstract]:Mutation testing is a defect oriented software testing technology. However, the high cost of testing affects its application in actual program testing. Papadakis et al. The problem of true branch coverage of variant statements transformed into another program is expected to generate variation test data by using existing branch coverage methods. However, the above method makes the transformed program contain a large number of variant branches, which makes it more difficult to generate branch coverage test data. If we use the appropriate method, the variant branches included in the transformed program are grouped according to the path to which they belong, then we will be able to use the existing path to cover the test methods. High quality variation test data are generated to improve the efficiency of weak mutation testing. However, there is no effective method to generate executable paths based on a program and variant. In view of this, an executable path generation method for weak mutation testing is proposed by investigating the correlation between the true branches of mutated statements, so that the test data covering these paths can kill all variants. The method first investigates the dominant relationship between the true branches of a variant statement, reduces the number of the variation branches, and then inserts the non-dominant variation branches into the program and converts them into another program. And based on the transformed program, we investigate the correlation of multiple variant branches formed by the same sentence; form a new true branch of a variant statement by combining the related variation branches; then, using the correlation between the tested statement and the true branch of the new variant statement, The executable subpaths including the true branch of the new variant statement and the sentence under test are generated. Finally, the correlation matrix is constructed and reduced by statistical analysis based on the execution relationship between the subpaths, and the related sub-paths are combined. Generates one or more executable paths. The proposed method is applied to 9 benchmarks and industrial process tests, and compared with the traditional method. The experimental results show that the proposed method generates fewer executable paths and shorter running time, and more importantly, these executable paths can cover all the variation branches. In addition, the sample size of the proposed method has a certain effect on the number of executable paths generated, but has little effect on the running time of the program.
【作者單位】: 中國礦業(yè)大學信息與電氣工程學院;徐州工程學院信電工程學院;蘭州理工大學電氣工程與信息工程學院;中國礦業(yè)大學理學院;
【基金】:國家“九七三”重點基礎研究發(fā)展規(guī)劃項目基金(2014CB046306-2) 國家自然科學基金(61375067,61203304,61573362)資助~~
【分類號】:TP311.53
【相似文獻】
相關期刊論文 前9條
1 任剛;吳晶晶;謝志鵬;孫未未;;自組織網絡有效的組合服務執(zhí)行路徑發(fā)現方法[J];計算機工程與應用;2010年01期
2 寇雪芹;;多診斷資源參與下的診斷任務執(zhí)行路徑規(guī)劃[J];計算機測量與控制;2011年11期
3 孫光;劉鐘理;;基于頻繁執(zhí)行路徑擴展的軟件胎記方法[J];計算機工程與應用;2012年36期
4 孟超;孫知信;劉三民;;基于云計算的病毒多執(zhí)行路徑[J];吉林大學學報(工學版);2013年03期
5 任開軍;宋君強;肖儂;張衛(wèi)民;;基于迭代Bargaining策略優(yōu)化服務合成執(zhí)行路徑[J];國防科技大學學報;2009年01期
6 王爽;;遠程協(xié)同故障診斷任務執(zhí)行路徑規(guī)劃[J];計算機測量與控制;2011年08期
7 孫光;樊曉平;劉鐘理;;擴展頻繁執(zhí)行路徑上的n-gram軟件胎記[J];信息網絡安全;2013年02期
8 劉泓漫,郝忠孝;聯(lián)合公式判定非循環(huán)執(zhí)行路徑[J];哈爾濱理工大學學報;2004年01期
9 ;[J];;年期
相關重要報紙文章 前2條
1 劉曉芬 粟偉 黎建軍;桃源 打造世外仙境的執(zhí)行路徑[N];人民法院報;2013年
2 趙高潮 省政協(xié)委員、民進青島市委副主委;限制權力是防腐廉政的基礎[N];聯(lián)合日報;2011年
相關碩士學位論文 前1條
1 姚艷玲;基于執(zhí)行路徑聚類的程序錯誤定位方法研究[D];大連海事大學;2013年
,本文編號:2282478
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2282478.html