首页> 外文会议>International Workshop on Principles of Software Evolution >Metrics for applying GOF design patterns in refactoring processes
【24h】

Metrics for applying GOF design patterns in refactoring processes

机译:在重构过程中应用GOF设计模式的度量

获取原文

摘要

This paper presents a kind of software design measures that help us to determine the application of Gang-Of-Four design patterns to refactoring processes. Refactoring using design patterns is one of the promising approaches to improve the designs during development activities, and a crucial issue is to identify when, where and which patterns could be applied. We analyzed several actual object-oriented designs of low quality needed to be refactored and focus on the characteristics of conditional statements of methods and inheritance structures, which seemed to cause the low quality. We provide 20 measures to objectively detect these characteristics in object-oriented designs. These measures express the complexity of branching execution in conditional statements and the strength of the dependency among the sub classes in the inheritance trees. Designers can be guided to recognize when, where and which design patterns should be used, in order to refactor their designs of low quality, by calculating these measures. We apply our approach to the low-quality design of the drawing editor that was produced by a novice designer and assess the effectiveness of our measures.
机译:本文提出了一种软件设计措施,可帮助我们确定“四人行”设计模式在重构过程中的应用。使用设计模式进行重构是在开发活动期间改进设计的一种有前途的方法,而关键的问题是确定何时,何处以及可以应用哪些模式。我们分析了一些需要重构的低质量的实际面向对象设计,并着重研究了导致低质量的方法和继承结构的条件语句的特征。我们提供20种措施来客观地检测面向对象设计中的这些特征。这些措施表达了条件语句中分支执行的复杂性以及继承树中子类之间的依赖性的强度。通过计算这些度量,可以指导设计人员识别何时,在何处以及应该使用哪种设计模式,以便重构其低质量的设计。我们将我们的方法应用于由新手设计师制作的工程图编辑器的低质量设计中,并评估我们的措施的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号