首页> 外文期刊>International journal of secure software engineering >Design Patterns and Design Quality: Theoretical Analysis, Empirical Study, and User Experience
【24h】

Design Patterns and Design Quality: Theoretical Analysis, Empirical Study, and User Experience

机译:设计模式和设计质量:理论分析,实证研究和用户体验

获取原文
获取原文并翻译 | 示例
       

摘要

>Design patterns are reusable software design solutions to object-oriented programs. Since the initial introduction of the 23 well-known design patterns in 1995, more and more patterns have been identified and utilized in the software industry. The benefits of applying design patterns include reducing development cost, improving code quality, and standardizing the integration and maintenance processes. Therefore, using design patterns is becoming a common practice to build both commercial software and open-source products. Although most design patterns are considered creative solutions to some difficult design problems, not all of them are necessarily the best with respect to all different software quality measures, such as program complexity. This paper studies 13 commonly employed design patterns in software industry. First, these 13 patterns are analyzed theoretically about their design complexity in comparison to the conventional solutions. Second, empirical studies are performed on five open-source Java projects to investigate the correlations between design patterns and class structural quality. Finally, these 13 design patterns are evaluated by software programmers who have experience of using all of them. Overall, this study finds that although some design patterns are considered useful, creative, and significant compared to conventional solutions based on user experience, pattern-involved classes are more complex than pattern-free classes, both theoretically and empirically. The authors accordingly recommend a balanced approach to using design patterns: design quality, cost, development time, and product quality should all be considered, when design patterns are utilized.
机译:>设计模式是面向对象程序的可重用软件设计解决方案。自1995年首次引入23种著名的设计模式以来,在软件行业中已发现并使用了越来越多的模式。应用设计模式的好处包括降低开发成本,提高代码质量以及标准化集成和维护流程。因此,使用设计模式已成为构建商业软件和开放源代码产品的普遍实践。尽管大多数设计模式被认为是解决某些困难设计问题的创造性解决方案,但是就所有不同的软件质量度量(例如程序复杂性)而言,并非所有设计模式都不一定是最佳的。本文研究了软件行业中13种常用的设计模式。首先,与传统解决方案相比,从理论上分析了这13种模式的设计复杂性。其次,对五个开源Java项目进行了实证研究,以研究设计模式与类结构质量之间的关系。最后,这13种设计模式由具有使用所有这些设计经验的软件程序员评估。总体而言,这项研究发现,尽管与基于用户体验的传统解决方案相比,某些设计模式被认为是有用,创新且有意义的,但从理论上和经验上讲,涉及模式的类比无模式的类更为复杂。因此,作者建议采用一种平衡的方法来使用设计模式:使用设计模式时,应该同时考虑设计质量,成本,开发时间和产品质量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号