首页> 外文会议>Software Maintenance, 2009. ICSM 2009 >Playing roles in design patterns: An empirical descriptive and analytic study
【24h】

Playing roles in design patterns: An empirical descriptive and analytic study

机译:在设计模式中发挥作用:实证描述和分析研究

获取原文

摘要

This work presents a descriptive and analytic study of classes playing zero, one, or two roles in six different design patterns (and combinations thereof). First, we answer three research questions showing that (1) classes playing one or two roles do exist in programs and are not negligible and that there are significant differences among the (2) internal (class metrics) and (3) external (change-proneness) characteristics of classes playing zero, one, or two roles. Second, we revisit a previous work on design patterns and changeability and show that its results were, in a great part, due to classes playing two roles. Third, we exemplify the use of the study results to provide a ranking of the occurrences of the design patterns identified in a program. The ranking allows developers to balance precision and recall.
机译:这项工作对六个不同设计模式(及其组合)中扮演零,一个或两个角色的类进行了描述性和分析性研究。首先,我们回答三个研究问题,这些问题表明(1)在程序中确实存在扮演一个或两个角色的类,并且这些类是不可忽略的,并且(2)内部(类指标)和(3)外部(变更-倾向)扮演零,一或两个角色的班级的特征。其次,我们回顾了先前关于设计模式和可变性的工作,并表明其结果在很大程度上是由于类扮演了两个角色。第三,我们举例说明了研究结果的使用,以对程序中确定的设计模式的发生情况进行排名。该排名使开发人员可以在精度和召回率之间取得平衡。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号