Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2010, Vol. 36 ›› Issue (7): 47-49. doi: 10.3969/j.issn.1000-3428.2010.07.016

• Software Technology and Database • Previous Articles     Next Articles

Concept and Formalization Description of Code Error Pattern

HU Xuan, LIU Bin, WANG Yi-chen   

  1. (Faculty of Software Engineering, Department of System Engineering of Engineering Technology, Beihang University, Beijing 100191)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-04-05 Published:2010-04-05

代码缺陷模式的概念及形式化表示

胡 璇,刘 斌,王轶辰   

  1. (北京航空航天大学工程系统工程系软件工程教研室,北京 100191)

Abstract: Aiming at the problems that many defects, e.g., obscure error generation-scenario and lacking of formalization exist in field of code error research, this paper represents definition of code error pattern based on definition of pattern. It investigates the formalization description of code error pattern based on the three key elements of the code error pattern. It adopts extended pattern description language-based formalization description method. This method reflects both the direct scenario and the error code structure in the same concept. This paper represents a case study and confirms the rationality of the code error pattern concept and the effectiveness of the formalization description method.

Key words: code error, pattern, formalization description

摘要: 针对代码缺陷研究中存在的缺陷产生场景不明确以及形式化程度较低等问题,基于模式的定义给出代码缺陷模式定义,以其核心三要素为基础,对代码缺陷模式形式化表示进行研究,采用基于扩展模式描述语言的形式化表示法,将直接场景和缺陷代码结构共同反映于同一概念下。实例验证了代码缺陷模式概念的合理性及其形式化表示法的有效性。

关键词: 代码缺陷, 模式, 形式化表示

CLC Number: