Title | 设计模式变体检测研究 |
Other Titles | Research on Variants of the Design Pattern Detection |
Authors | 肖卓宇 何锫 陈俊旭 杨鑫维 杨邦平 |
Affiliation | 中南林业科技大学 涉外学院,长沙,410200 广州大学 计算机科学与教育软件学院,广州 510006 长沙理工大学 计算机与通信工程学院,长沙 410114 北京大学 高可信软件技术教育部重点实验室,北京 100871 |
Keywords | 设计模式 变体 特征值 规则制定 设计模式检测 design pattern variants feature value rule-making design pattern detection |
Issue Date | 2017 |
Publisher | 小型微型计算机系统 |
Citation | 小型微型计算机系统. 2017, 38(8), 1751-1756. |
Abstract | 为解决传统设计模式检测方法精确率不高的问题,以其主要影响因素之一变体问题为切入点,提出一种设计模式变体检测方法,以设计模式实例的参与者角色及其关系为基础,通过特征值的形式描述设计模式,制定了5项设计模式变体检测规则,以Composite模式为例,提供了可验证的设计模式变体检测实现.通过与六种主流的设计模式检测工具比较,实验结果表明,本文方法在解决设计模式实例变体方面取得了较好的效果,能够有效减少设计模式检测的假阴性结果. To solve the inaccurate problem of the traditional design pattern detection,Focusing on variants of design pattern,A method for variants of design pattern detection was presented.Focusing on roles and relationships of design pattern instances,it was described by the feature value,five rules of variants of design pattern were made,Composite pattern was taken as example,to provide support to check the implementation of variants of design pattern instances.Experiment results show that the proposed method can reduce the false negative results,which is compared to six well-known tools of design pattern detection,indicated the effectiveness of the proposed method. |
URI | http://hdl.handle.net/20.500.11897/464391 |
ISSN | 1000-1220 |
DOI | 10.3969/j.issn.1000-1220.2017.08.018 |
Appears in Collections: | 高可信软件技术教育部重点实验室 |