Analysing Anti-patterns Static Relationships with Design Patterns
DOI:
https://doi.org/10.14279/tuj.eceasst.59.930Abstract
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.Downloads
Additional Files
Published
2014-04-15
How to Cite
[1]
F. Jaafar, Y.-G. Guéhéneuc, S. Hamel, and foutse khomh, “Analysing Anti-patterns Static Relationships with Design Patterns”, eceasst, vol. 59, Apr. 2014.
Issue
Section
Articles