首页    期刊浏览 2024年12月12日 星期四
登录注册

文章基本信息

  • 标题:Analysing Anti-patterns Static Relationships with Design Patterns
  • 本地全文:下载
  • 作者:Fehmi Jaafar ; Yann-Gaël Guéhéneuc ; Sylvie Hamel
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2013
  • 卷号:59
  • 期号:0
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要: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.
国家哲学社会科学文献中心版权所有