计算机应用与软件2017,Vol.34Issue(11):13-19,33,8.DOI:10.3969/j.issn.1000-386x.2017.11.003
基于特征相似的软件缺陷排除方法
SOFTWARE DEFECT REMOVING METHOD BASED ON CHARACTERISTIC SIMILARITY
摘要
Abstract
Mind-sets of developers and code duplication and cloning can result in similar software defects.Considering this fact,software defect removing method based on characteristic similarity is proposed.The method analyzed the characteristic of the fixed defect codes,and according to that,the code fragments with similar features in the project code would be detected.Combining with defect types and code characteristic,the defect codes were analysed;association rules on feature similarity were established;project codes were defected;the code fragment called suspected code would be founded whose defect code similarity exceeded the predetermined threshold.Men imported error into both the scientific research management system and the property system and then defect removing analysis and manual inspection were carried out.The results show that this method can effectively find implicit similar software defects in the project.关键词
特征相似/缺陷排除/抽象语法树/特征分析Key words
Characteristic similarity/Defect removing/Abstract tree/Characteristic analysis分类
信息技术与安全科学引用本文复制引用
张灿,赵逢禹..基于特征相似的软件缺陷排除方法[J].计算机应用与软件,2017,34(11):13-19,33,8.基金项目
国家自然科学基金青年基金项目(61402288). (61402288)