检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海师范大学计算机科学与工程系,上海200234 [2]奥克兰大学信息系统系,奥克兰新西兰92019
出 处:《小型微型计算机系统》2016年第3期469-473,共5页Journal of Chinese Computer Systems
基 金:国家自然科学基金项目(61073163)资助;上海市企业自主创新专项资金项目(沪CXY-2013-88)资助
摘 要:软件重构在软件工程中愈显重要,对需要重构代码code smells的检测是基础工作,但code smells定义模糊、无量化.该文将人工免疫的基本概念与信号迁移至软件工程,提出一种基于危险理论中的树突状细胞算法的检测策略.该策略算法中,包含code smells的代码作为抗原,软件度量值转化为危险信号和安全信号等输入信号进行处理,通过权值公式获得成熟信号以及半成熟信号,比较其相对值高低确定代码是否为code smells,最终根据成熟环境抗原值决定各种code smells严重程度的优先次序.该策略具有较低假阳性率.实验证明该研究在F-score(0.784)和Kappa分析(0.756)上均有效,高于其他检测方法.Software refactoring is increasingly significant in software engineering,besides it is a fundamental task for the detection of code smells being indefinite and non-quantitative for the purpose of refactoring. After essential concepts and signals are migrated to software engineering,the paper presents a detection paradigm,which is based on dendritic cell algorithm in danger theory and regards code smells as the antigen. Software metrics values convert to the danger signal and the safe signal for processing,in which mature signal and semi-mature signal is calculated by weight equation. Code smells can be confirmed in comparison of relative signal values. A variety of code smells' priorities are determined by mature context antigen value. There are lower false positive rates in the paradigm.The experiment proves that this approach is competitive effectiveness in F-score( 0. 784) as well as Kappa analysis( 0. 756) and outperformance compared to other detection techniques.
关 键 词:软件重构 树突状细胞算法 软件缺陷 软件质量 人工免疫理论 危险理论
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.31