摘要
针对设计模式演化后难以检测的问题,提出一种多阶段可松弛的设计模式变体检测方法.通过遍历设计模式中的参与者角色来探究不同参与者之间存在的关系,制定了检测设计模式变体的规则,引入了隐形关系增加机制,并构建了4阶段的设计模式变体检测框架.通过经典系统进行了单元检测与系统集成检测实验.实验结果表明:该方法简单有效,对设计模式变体的检测精确率达到81.25%,与传统方法相比有较明显的提高.
Aiming at hardly detecting of design pattern evolution,a multistage relaxing detection method for variant of design pattern was proposed.Relationships among different participants were explored by traversing the roles of the participants in the design pattern.Criteria of relaxing detection method for variant of design pattern were defined,and adding hidden relationship mechanism was introduced.The proposed method was subdivided into three phases.Experimental results show that proposed method is simple and effective,and the accuracy of the proposed method is 81.25% for variant of design pattern.Compared to other wellknown testing system by experiment detection of individual and experiment detection of system integration,the proposed method certainly increases the recognition accuracy,indicating the effectiveness of the proposed method.
出处
《华中科技大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2018年第1期26-31,共6页
Journal of Huazhong University of Science and Technology(Natural Science Edition)
基金
国家自然科学基金资助项目(61170199)
湖南省教学改革资助项目(湘教通[2016]400号1068)
湖南省教育厅重点基金资助项目(11A004)
广东省自然科学基金资助项目(2015A030313501)
广东省普通高校创新团队建设资助项目(2015KCXTD014)
关键词
设计模式检测
软件演化
变体
隐形关系
假阴性结果
design pattern detection
software evolution
variants
hidden relationship
false negative