期刊文献+

上下文不一致性缺陷的检测

Detection of Context-based Inconsistencies Bugs
下载PDF
导出
摘要 为了检测在软件开发过程中由拷贝-粘贴操作引起的上下文不一致性缺陷,在基于频繁子序列挖掘算法的克隆代码检测模型基础上,改进上下文不一致性缺陷检测过滤规则,对上下文结构类型不一致性和上下文条件谓词不一致性两种缺陷进行了检测。为了识别具有相同语义但不同语法结构(即语法树表示)的表达式,还增加了对生成的表达式语法树的标准化处理。开源代码上的实验结果表明,该模型对拷贝-粘贴操作引起的上下文不一致性缺陷具有较低的误检率,不存在漏检,尤其适用于安全攸关的软件系统。 In order to detect context-based inconsistencies bugs induced by copy-paste in the development of software,based on the model of clone code detection via sequential pattern mining algorithm,filter rules of context-based inconsistencies were improved.Both context constructs inconsistency bugs and context conditional predicates inconsistency bugs were detected.To recognize semantically equivalent with different syntactic structure(i.e.syntax-tree),the standardization of expressions syntax-tree was added.The experimental results on the open source codes show that the model has low false-positive rate and 0%false-negative rate.It is especially suitable for safety-critical software.
出处 《计算机科学》 CSCD 北大核心 2015年第S1期525-530,共6页 Computer Science
基金 中物院科学技术发展基金(2012A0403021)资助
关键词 序列挖掘 克隆代码 上下文不一致性缺陷 软件缺陷检测 Sequential pattern mining,Clone code,Context-based inconsistencies bugs,Software bug detection
  • 相关文献

参考文献10

  • 1Manber U.Finding similar files in a large file system. Proceedings of USENIX Winter Technical Conference . 1994
  • 2Brenda S. Baker.Parameterized Duplication in Strings: Algorithms and an Application to Software Maintenance. SIAM Journal on Computing . 1997
  • 3Toshihiro Kamiya,Shinji Kusumoto,Katsuro Inoue.CCFinder: A Multilinguistic Token-Based Code Clone Detection System for Large Scale Source Code. IEEE Transactions on Software Engineering . 2002
  • 4S. Schleimer,D.S. Wilkerson,A. Aiken."Winnowing: Local Algorithms for Document Fingerprinting,". Proc. ACM SIGMOD Int’l Conf. Management of Data . 2003
  • 5L. Jiang,M. Ghassan,Z. Su,G. Stephane.DECKARD: Scalable and Accurate Tree-Based Detection of Code Clones. 29th International Conference on Software Engineering . 2007
  • 6Raghavan Komondoor,Susan Horwitz.Using slicing to identify duplication in source code. Static Analysis . 2001
  • 7S. Ducasse,R. Matthias,D. Serge.A Language Independent Approach for Detecting Duplicated Code. Proceedings ICSM’99 (International Conference on Software Maintenance) . 1999
  • 8Baker B S.A program for identifying duplicated code. Computing Science and Statistics . 1992
  • 9B. Baker.Parameterized Duplication in Strings: Algorithms and an Application to Software Maintenance. 25th Annual ACM Symposium on Theory of Computing . 1993
  • 10Jonathan Helfman.Dotplot: A Program for Exploring Self-similarity in Millions of Lines of Text and Code. Journal of Computational and Graphical Statistics . 1993

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部