跳到主要导航 跳到搜索 跳到主要内容

Property checking for design patterns

  • East China Normal University
  • CAS - Beijing Institute of Control Engineering

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Design patterns have been widely employed as a useful object-oriented technique in software engineering. In this paper, we present an approach to property checking for the application of design patterns in rCOS, which is known as a refinement calculus for object oriented systems. A relational calculus is proposed to specify the pattern properties we would like to check. To construct the abstract model from rCOS instead of analyzing directly on source code, we combine static and dynamic analysis together to achieve better checking efficiency. Class diagrams and object diagrams are obtained with the analysis of rCOS program. The extended operational semantics for rCOS with the object graph is given as the basis for representing object relationships. A general algorithm for calculating relational predicates is presented to perform the property checking. The examples of design patterns from GoF [7], such as abstract factory, builder etc, are also provided to illustrate the effectiveness of our approach from which we can tell whether some patterns are used correctly.

源语言英语
主期刊名Proceedings of the IASTED International Conference on Software Engineering, SE 2010
出版商Acta Press
87-94
页数8
ISBN(印刷版)9780889868212
DOI
出版状态已出版 - 2010
活动IASTED International Conference on Software Engineering, SE 2010 - Innsbruck, 奥地利
期限: 16 2月 201018 2月 2010

出版系列

姓名Proceedings of the IASTED International Conference on Software Engineering, SE 2010

会议

会议IASTED International Conference on Software Engineering, SE 2010
国家/地区奥地利
Innsbruck
时期16/02/1018/02/10

指纹

探究 'Property checking for design patterns' 的科研主题。它们共同构成独一无二的指纹。

引用此