Spectrum-based Fault Localization Method Using Formulas Combination

来源 :浙江理工大学 | 被引量 : 0次 | 上传用户:dandanCracker
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Spectrum-based fault localization(SBFL)is one of the most effective fault localization techniques.It uses different formulas called the risk evaluation formula to pinpoint faults in the debugging process.The used formulas and program spectra may limit the accuracy of a specific SBFL method.This causes the testers to check many non-faulty statements before discovering the real faulty ones,consequently affecting the efficiency of fault localization.The empirical and theoretical studies show that combining these formulas can potentially optimize SBFL’s performance.To address this problem,this thesis proposed two different methods for fault localization.Our methods enhance the accuracy of spectrum-based fault localization.The main work in this thesis are summarized as follows:(1)This thesis first defined four metrics that can become essential components of a ranking formula using the program spectrum to mitigate spectrum-based fault localization problems.These metrics are combined to propose a new heuristic,Metrics Combination(MECO),which doesn’t require any prior information on program structure or semantics to locate faults effectively.The evaluation experiments are conducted on Defects4 J and SIR datasets,and MECO is compared with the 18 maximal formulas.The experimental result shows that MECO is more efficient in terms of precision,accuracy,and wasted efforts than the compared formulas.An empirical evaluation also indicates that two of the defined metrics,Assumption Proportion and Fault Assumption,when combined with the existing formulas,improved the localization effectiveness,especially the precision of ER5 a,ER5b & ER5c(77.77%),GP02(41%),and GP19(27.22%),respectively.(2)It further explored and empirically evaluated the possible combination of two different risk evaluation formulas using two different methods for precise fault localization.A comparison of the performance of combined risk evaluation formulas against standalone formulas was made using 92 faults from SIR and 357 faults from Defects4 J repositories.This thesis highlights what and which risk evaluation formulas to combine to maximize fault the efficiency and accuracy of fault localization.The experiment results show that the non-linear combination method is more effective than the linear combination method and negatively correlated formulas are better combined than positively correlated formulas,especially those with a negligent correlation.The study concludes that combining two different methods of the same fault localization technique via machine learning models can plausibly optimize the accuracy of fault localization.But for better accuracy,the developers should combine the methods that do not correlate and have a negative sign of correlation.
其他文献
二十世纪八十年代初期,在我国日益加剧的水土流失和环境污染问题的刺激下,时任中国科学院副院长的许涤新,以一名马克思主义经济理论家的敏锐性和使命感,开始于深耕于生态经济学这一门新兴学科。作为我国生态经济学的开创者和奠基人,许涤新为我国生态经济学的研究付出了巨大的心血,他不仅积极倡议相关学术会议、奔走筹划相关组织,还深入全国各地调查研究,著书立说。他的马克思主义生态经济思想经历了改革开放早期的淬炼,体现
学位
疟疾是由疟原虫感染人体引起的一种虫媒寄生虫病。目前全球每年约有2亿多人感染,造成60多万人死亡,其中大部分发生在非洲。2006年,世界卫生组织推荐以青蒿素为基础的联合疗法(ACTs)治疗恶性疟原虫感染,疟疾的感染率和死亡率均大幅下降。但随着青蒿素类抗疟药物在全球的广泛使用,全球多个地区已经发现青蒿素耐受的恶性疟原虫株。2014年,有研究发现恶性疟原虫k13(Plasmodium falciparu
学位
国家安全是国家外无威胁内无混乱长治久安的状态,当前,伴随世界安全形势的发展变幻,我国目前面临的安全形势不容乐观,许多危险环伺在我国周围,因此,总体国家安全观应运而生,总体国家安全观的提出有利于保障人民安全和利益不受威胁。国际上利益纷争不断,许多国家不仅在外部对我国进行侵扰,还试图从内部对我国进行渗透、挑唆,企图对我国实行分裂,干扰我国的正常秩序,阻碍我国发展,国内外环境如此严苛的情况下,对大学生进
学位
马克思主义是当代无产阶级的先进理论、科学信仰、精神支柱和奋斗旗帜。大学生是推进我国事业持续向前的中坚力量,他们能否坚定马克思主义信仰将对中华民族伟大复兴的事业带来极大的影响。我国现阶段已经步入新时代,国内外环境更为复杂,同时伴随移动互联发展、信息交互更为便利,比以往时候都更加开放和融合了大学生的意识形态领域。各类学校思想政治理论课承担着弘扬马克思主义信仰教育的使命。高校思想政治理论课课堂是开展青年
学位
从十九世纪到现在,随着人类对资源的开采能力不断增强,周围的环境变得越来越糟糕,环境问题日益凸显,从最开始的地方性环境破坏到如今已经蔓延成为全球性生态危机,人与自然的关系从之前的同生共存走向了如今的异化对立,生态危机对于人类的生活和生产已经是岌岌可危的态势,人与自然的畸变关系、人类应该如何自处等问题成为了学者们热议的话题,论文试图对恩格斯经典著作进行梳理,并且依托经典文本概括出其生态文明思想的历史背
学位
当前,在社会主义市场经济快速发展的大背景下,一些不良的社会思潮和价值观念不断地涌入高校校园,对青年大学生的思想和行为造成了不良影响。榜样教育在大学生成长过程中发挥着重要作用,有助于帮助大学生形成良好的思想品质和行为习惯。大学生朋辈榜样所展现的是大学生身边人和身边事的力量,他们身上有高尚的品质和行为习惯,相比于社会上其他的榜样人物,大学生朋辈榜样更容易被大学生接受和学习,通过借助大学生朋辈榜样的力量
学位
党的十八大以来,以习近平同志为核心的党中央高度重视大学生思想政治工作,强调其是学校各项工作的生命线,明确指出高校要坚持把立德树人作为中心环节,树立“大思政”格局,将思想政治工作贯穿教育教学全过程,实现全程育人、全方位育人,以培养德智体美劳全面发展的社会主义建设者和接班人。“大思政”教育观以及“三全”教育理念,均强调大学生思想政治教育要协调思想政治教育要素,整合思想政治教育资源,形成大学生思想政治教
学位
Cardiac arrest has a lower survival rate.It is important to predict cardiac arrest as early as possible in order to act and prevent it from occurring.There are numerous machine learning and deep learn
学位
白纹伊蚊(Aedes albopictus)是全球排名前百的侵袭性物种之一,在我国分布广泛,是登革热、黄热病、寨卡病毒病等蚊媒传播疾病的主要传播媒介。媒介控制是预防或减少蚊媒疾病传播最有效的手段之一,以杀虫剂为主的化学控制措施是目前主要使用的方式之一,其中以拟除虫菊酯类杀虫剂的应用最为广泛。但由于此类杀虫剂的长期广泛使用,使白纹伊蚊长期处于选择压力之下,白纹伊蚊对此类杀虫剂的抗药性也随之增强。为了
学位
In this paper,an underwater wireless(acoustic)communications system is described that leads to the design and advancement of a small,inexpensive system based on a lowfrequency,single-directional piezo
学位