...
首页> 外文期刊>Electronic Communications of the EASST >Analysing Anti-patterns Static Relationships with Design Patterns
【24h】

Analysing Anti-patterns Static Relationships with Design Patterns

机译:用设计模式分析反模式静态关系

获取原文
           

摘要

Anti-patterns are motifs that are usually thought to be good solutions tosome design or implementation problems, but back-fires badly when applied. Previousstudies have reported that anti-patterns make object oriented systems hard tomaintain. Anti-patterns motifs usually have dependencies with other classes in thesystem. In this paper, we propose to analyse these dependencies (with in particulardesign patterns) in order to understand how developers can maintain programscontaining anti-patterns. To the best of our knowledge, no substantial investigationof anti-pattern dependencies with design patterns has been done before. This paperpresents the results of a study that we performed on three different systems, ArgoUML,JFreeChart, and XercesJ, written in Java, and of size ranges from 1,191to 3,325 classes, to analyse the static relationships between anti-patterns and designpatterns. We found that these relationships (1) exist, but (2) are temporaryand (3) classes participating in such relationships are more change-prone but lessfault-prone than other anti-pattern classes.
机译:反模式是通常被认为是解决某些设计或实现问题的良好解决方案的主题,但应用时产生的反效果很差。以前的研究已经报道,反模式使面向对象的系统难以维护。反模式主题通常与系统中的其他类具有依赖性。在本文中,我们建议分析这些依赖性(特别是在设计模式中),以便了解开发人员如何维护包含反模式的程序。据我们所知,之前尚未对反模式与设计模式之间的依赖关系进行过实质性研究。本文介绍了我们在三个不同的系统上执行的研究结果,这些系统用Java编写,大小范围为1,191到3,325个类,用ArgoUML,JFreeChart和XercesJ进行分析,以分析反模式与设计模式之间的静态关系。我们发现这些关系(1)存在,但(2)是临时的,(3)参与这种关系的类比其他反模式类更容易发生更改,而故障更少。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号