Title注入间接线索的设计模式变体分类检测
Other TitlesInjected Indirect Clues for Variants of Design Pattern Detection
Authors肖卓宇
何锫
李港
杨道武
彭逸凡
董泽民
Affiliation中南林业科技大学 涉外学院,长沙,410200
广州大学 计算机科学与教育软件学院,广州510006
北京大学 高可信软件技术教育部重点实验室,北京100871
Keywords设计模式检测
逆向工程
设计意图
设计模式变体
线索
design pattern detection
reverse engineering
design intent
variants of design pattern
clue
Issue Date2018
Publisher小型微型计算机系统
Citation小型微型计算机系统. 2018, 39(6), 1335-1341.
Abstract为解决经典GOF设计模式扩展后不便于恢复的问题,结合Petterson提出的设计模式变体思想与Scanniello提出的设计模式复用概念,提出一种注入间接线索的设计模式变体检测方法,在遵循GOF标准设计模式与其变体意图一致性原则基础上,以类及其关系为基础,关注参与角色间有价值的间接联系,给出了创建型、行为型、结构型模式变体的具体实现,并依次以Factory Method、Command、Proxy模式变体为例,通过6种主流工具与4种经典开源系统对三种设计模式变体进行了检测比较,实验结果表明,本研究有助于设计模式解决方案的恢复.
To solve the inaccurate recovery problem based on GOF(Gang of four,GOF) design pattern extended. The variants ideolo-gy based on Petterson and reuse concept based on Scanniello of design pattern was introduced. A method injected Indirect clues for va-riants of design pattern detection was presented,Focusing on class and relationship of each pattern,valuable indirect clues especially were emphasized. Variants of creation pattern,behavior pattern and structural pattern based on intent consistency of variants and stand-ards were described. Three typical design patterns were taken as examples,such as factory method pattern,command pattern and proxy pattern. Experiment results show that the proposed method can contribute to the recovery of design pattern solutions,which is compared to six well-known tools of design pattern detection and four open source systems.
URIhttp://hdl.handle.net/20.500.11897/515112
ISSN1000-1220
DOI10.3969/j.issn.1000-1220.2018.06.039
Indexed中国科学引文数据库(CSCD)
Appears in Collections:高可信软件技术教育部重点实验室

Files in This Work
There are no files associated with this item.

Web of Science®



Checked on Last Week

Scopus®



Checked on Current Time

百度学术™



Checked on Current Time

Google Scholar™





License: See PKU IR operational policies.