| 注册
首页|期刊导航|计算机应用研究|基于bugs的克隆代码稳定性评估方法

基于bugs的克隆代码稳定性评估方法

赵玉武 翟晔 刘东升

计算机应用研究2017,Vol.34Issue(4):1109-1113,5.
计算机应用研究2017,Vol.34Issue(4):1109-1113,5.DOI:10.3969/j.issn.1001-3695.2017.04.035

基于bugs的克隆代码稳定性评估方法

Clone code stability assessment method based on bugs

赵玉武 1翟晔 1刘东升1

作者信息

  • 1. 内蒙古师范大学计算机与信息工程学院,呼和浩特010022
  • 折叠

摘要

Abstract

Focusing on that stability assessment methods of clone code have a few and low accuracy,this paper proposed a method for evaluating the stability of clone code based on the modification frequency of code files containing bugs.Firstly,it obtained the software bugs repair logs from software subversion management system and to standardize.Secondly,it obtained explicit description information about software bugs from bugs' management system,and distilled code files containing bugs which associated bug ID and the bug ID in repair logs.Thirdly,it obtained clone code in software system by using clone detection tools,and drew clone and non-clone code containing by corresponding bugs code file path containing bugs.Finally,it counted the modification frequency of clone and non-cloning code containing bugs by making use of SVN diff tool,and evaluated the stability of clone code.To 5 open source software with different languages test,experimental results show that clone code is more stable than non-clone code,and the resulting bugs hazard is relatively low,which provides the basis for management and maintenance of clone code.

关键词

克隆代码/bugs/修改频度/稳定性/SVN

Key words

code clone/bugs/modified frequency/stability/SVN

分类

信息技术与安全科学

引用本文复制引用

赵玉武,翟晔,刘东升..基于bugs的克隆代码稳定性评估方法[J].计算机应用研究,2017,34(4):1109-1113,5.

基金项目

国家自然科学基金资助项目(61363017,61462071) (61363017,61462071)

内蒙古自然科学基金资助项目(2015MS0606) (2015MS0606)

内蒙古自治区高等学校科学研究项目(NJZY16046) (NJZY16046)

计算机应用研究

OA北大核心CSCDCSTPCD

1001-3695

访问量0
|
下载量0
段落导航相关论文