Playing roles in design patterns: an empirical descriptive and analytic study

Foutse Khomh, Yann-Gaël Guéhéneuc, Giuliano Antoniol

Rapport technique (2009)

Accéder à ce document
Disponible
Libre accès au texte intégral dans PolyPublie
Version officielle de l'éditeur
Texte Texte • 761kB • Tous droits réservés

Résumé

This work presents a descriptive and analytic study of classes playing zero, one, or two roles in six different design patterns (and combinations thereof ). First, we answer three research questions showing that (1) playing roles in design patterns is not a all-or-nothing characteristic of classes and that there are significant differences among the (2) internal and (3) external characteristics of classes playing zero, one, or two roles. Second, we revisit a previous work on design patterns and changeability and show that its results were, in a great part, due to classes playing two roles. Third, we exemplify the use of the study results to provide a ranking of the occurrences of the design patterns identified in a program. The ranking allows developers to balance precision and recall as they see fit.

Organismes subventionnaires:
Égide Lavoisier, CRSNG/NSERC, Fondation canadienne pour l'innovation
Adresse URL de PolyPublie:
Numéro du rapport:
EPM-RT-2009-03
OAI:
oai:publications.polymtl.ca:2643
ORCID
Date du dépôt:
06 oct. 2017 13:41
Dernière modification:
14 oct. 2026 10:40
Citer en APA 7:
Khomh, F., Guéhéneuc, Y.-G., & Antoniol, G. (2009). Playing roles in design patterns: an empirical descriptive and analytic study. (Rapport technique n° EPM-RT-2009-03). https://publications.polymtl.ca/2643/

Statistiques

Total des téléchargements à partir de PolyPublie

Téléchargements par année

Provenance des téléchargements

Actions réservées au personnel

Afficher document
Afficher document