ICSM2008BEIJING An Empirical Study of the Relationships between Design Pattern Roles and Class Change Proneness Massimiliano DiPenta - University of Sannio Luigi Cerulo - University of Sannio Yann-Gaël Guéhéneuc - Université de Montréal Giuliano Antoniol - École Polytechnique de Montréal ICSM2008BEIJING
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
ICSM2008BEIJING
An Empirical Study of the Relationships between
Design Pattern Roles and Class Change Proneness
Massimiliano DiPenta - University of SannioLuigi Cerulo - University of SannioYann-Gaël Guéhéneuc - Université de MontréalGiuliano Antoniol - École Polytechnique de Montréal
ICSM2008BEIJING
ICSM2008BEIJING
Outline
IntroductionWhat is a design pattern role
Research questionsThe aim of the work
Data extraction processHow we extract the dataset
ResultsWhat we observed
ICSM2008BEIJING
Design Pattern Role, What Is It?
Class A
Design pattern
Class B Class C Class D
Role c Role b
Role a Composite patternComponent
CompositeLeaf
ICSM2008BEIJING
Class A
Observer pattern
Class C Class D
Concrete observerConcrete subject
Subject
Observer
Class B
Design Pattern Role, What Is It?
ICSM2008BEIJING
In Real Systems…
ArgoUML
ICSM2008BEIJING
DeMINA– Ptidej Tool Suite
A Multi-layered Framework for Design Pattern Identification[Y.G. Guéhéneuc and G. Antoniol, to appear in the September/October 2008 issue of TSE]
Able to detect roles in 12 DP:Abstract Factories, Adapters, Commands,