...
首页> 外文期刊>The Journal of Systems and Software >A study on correlations between architectural smells and design patterns
【24h】

A study on correlations between architectural smells and design patterns

机译:建筑气味与设计模式之间的相关性研究

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

获取外文期刊封面封底 >>

       

摘要

Design patterns are recommended solutions for typical software design problems, with an extensively studied and documented impact on various quality factors. Flaws in design at a higher levels of abstraction are manifested in architectural smells. Some of those smells, similarly to code smells, can reduce the expected advantages of design patterns or even prevent their proper implementation. In this paper we study if and how design patterns and architectural smells are related, and how this knowledge could be exploited in practice. We present an empirical study with an analysis of 16 design patterns and 3 architectural smells in 60 open source Java systems. We analyze their diffuseness and correlation, and we extract association rules that describe their presence and dependencies. We demonstrate that there exist relationships between architectural smells and design patterns, both at the class and package levels. Some smells appear falsely positive, as they result from conscious decisions made by programmers, while the application of some patterns can be a cause of certain smells. Our results provide evidence that design patterns and architectural smells are related and affect each other. With knowledge about the relationships, programmers can avoid the side effects of applying some design patterns.
机译:设计模式是典型的软件设计问题的推荐解决方案,并对各种质量因素产生了广泛的研究和记录的影响。在更高层次的抽象中设计的缺陷表现在建筑气味中。一些气味,类似于代码闻,可以减少设计模式的预期优势,甚至可以防止他们的正确实施。在本文中,我们研究了设计模式和架构气味有何相关,以及如何在实践中利用这种知识。我们提出了一个实证研究,分析了60个开源Java系统中的16个设计模式和3个建筑气味。我们分析了它们的泛致和关联,我们提取了描述其存在和依赖性的关联规则。我们展示了架构气味与设计模式之间存在的关系,无论是在班级和包装级别。一些嗅觉出现了错误的积极态度,因为它们是由程序员所作的有意识决定而导致的,而某些模式的应用可能是某些嗅觉的原因。我们的结果提供了表明,设计模式和建筑气味是相关的并且相互影响。通过了解关系,程序员可以避免应用一些设计模式的副作用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号