Identification of Behavioral and Creational Design Patterns through Dynamic Analysis. Ng, J. K. Master's thesis, Universit� de Montr�al, July, 2008.
Paper abstract bibtex The use of design patterns is a simple and elegant way to solve problems when designing object-oriented software systems because it leads to well-structured designs. However, after application, design patterns are lost in the source code, and are thus of little help during program comprehension and subsequent maintenance. In previous work, the structure and organization among classes were the predominant source of data used for the identification of occurrences of design patterns. Yet, the responsibility of each participating object at runtime should not be neglected, as two types of design patterns, behavioral and creational, are mainly concerned with the assignment of responsibilities and the collaborations among objects at runtime. This thesis proposes a metamodel and algorithms to identify automatically behavioral and creational design patterns in the source code. We use metamodelling to describe design patterns and software systems in Java, and dynamic analysis to capture the behavior of the systems at the moment of execution. The proposed metamodel allows the representation of collaborations among the participants that take part in the execution of a system (messages) and their properties (conditions under which a message is executed, repetition of a message). Using this metamodel, the problem of behavioral and creational pattern identification can be translated into an explanation-based constraint satisfaction problem. Solving such kind of problem leads to exact and approximate occurrences of a design pattern.
@MASTERSTHESIS{Ng08-MSc,
AUTHOR = {Janice Ka-Yee Ng},
SCHOOL = {Universit� de Montr�al},
TITLE = {Identification of Behavioral and Creational Design
Patterns through Dynamic Analysis},
YEAR = {2008},
OPTADDRESS = {},
MONTH = {July},
OPTNOTE = {},
OPTTYPE = {},
URL = {http://www-etud.iro.umontreal.ca/~ptidej/yann-gael/Work/Publications/Documents/Thesis+of+Janice+Ka-Yee+Ng.doc.pdf},
ABSTRACT = {The use of design patterns is a simple and elegant way
to solve problems when designing object-oriented software systems
because it leads to well-structured designs. However, after
application, design patterns are lost in the source code, and are
thus of little help during program comprehension and subsequent
maintenance. In previous work, the structure and organization among
classes were the predominant source of data used for the
identification of occurrences of design patterns. Yet, the
responsibility of each participating object at runtime should not be
neglected, as two types of design patterns, behavioral and
creational, are mainly concerned with the assignment of
responsibilities and the collaborations among objects at runtime.
This thesis proposes a metamodel and algorithms to identify
automatically behavioral and creational design patterns in the source
code. We use metamodelling to describe design patterns and software
systems in Java{}, and dynamic analysis to capture the behavior of
the systems at the moment of execution. The proposed metamodel allows
the representation of collaborations among the participants that take
part in the execution of a system (messages) and their properties
(conditions under which a message is executed, repetition of a
message). Using this metamodel, the problem of behavioral and
creational pattern identification can be translated into an
explanation-based constraint satisfaction problem. Solving such kind
of problem leads to exact and approximate occurrences of a design
pattern.}
}
Downloads: 0
{"_id":"kHwpkesuh6eoeCB6k","bibbaseid":"ng-identificationofbehavioralandcreationaldesignpatternsthroughdynamicanalysis-2008","downloads":0,"creationDate":"2018-02-22T19:07:02.990Z","title":"Identification of Behavioral and Creational Design Patterns through Dynamic Analysis","author_short":["Ng, J. K."],"year":2008,"bibtype":"mastersthesis","biburl":"http://ptidej.polymtl.ca/yann-gael/Work/Publications/Biblio/complete-bibliography.bib?","bibdata":{"bibtype":"mastersthesis","type":"mastersthesis","author":[{"firstnames":["Janice","Ka-Yee"],"propositions":[],"lastnames":["Ng"],"suffixes":[]}],"school":"Universit� de Montr�al","title":"Identification of Behavioral and Creational Design Patterns through Dynamic Analysis","year":"2008","optaddress":"","month":"July","optnote":"","opttype":"","url":"http://www-etud.iro.umontreal.ca/~ptidej/yann-gael/Work/Publications/Documents/Thesis+of+Janice+Ka-Yee+Ng.doc.pdf","abstract":"The use of design patterns is a simple and elegant way to solve problems when designing object-oriented software systems because it leads to well-structured designs. However, after application, design patterns are lost in the source code, and are thus of little help during program comprehension and subsequent maintenance. In previous work, the structure and organization among classes were the predominant source of data used for the identification of occurrences of design patterns. Yet, the responsibility of each participating object at runtime should not be neglected, as two types of design patterns, behavioral and creational, are mainly concerned with the assignment of responsibilities and the collaborations among objects at runtime. This thesis proposes a metamodel and algorithms to identify automatically behavioral and creational design patterns in the source code. We use metamodelling to describe design patterns and software systems in Java, and dynamic analysis to capture the behavior of the systems at the moment of execution. The proposed metamodel allows the representation of collaborations among the participants that take part in the execution of a system (messages) and their properties (conditions under which a message is executed, repetition of a message). Using this metamodel, the problem of behavioral and creational pattern identification can be translated into an explanation-based constraint satisfaction problem. Solving such kind of problem leads to exact and approximate occurrences of a design pattern.","bibtex":"@MASTERSTHESIS{Ng08-MSc,\r\n AUTHOR = {Janice Ka-Yee Ng},\r\n SCHOOL = {Universit� de Montr�al},\r\n TITLE = {Identification of Behavioral and Creational Design \r\n Patterns through Dynamic Analysis},\r\n YEAR = {2008},\r\n OPTADDRESS = {},\r\n MONTH = {July},\r\n OPTNOTE = {},\r\n OPTTYPE = {},\r\n URL = {http://www-etud.iro.umontreal.ca/~ptidej/yann-gael/Work/Publications/Documents/Thesis+of+Janice+Ka-Yee+Ng.doc.pdf},\r\n ABSTRACT = {The use of design patterns is a simple and elegant way \r\n to solve problems when designing object-oriented software systems \r\n because it leads to well-structured designs. However, after \r\n application, design patterns are lost in the source code, and are \r\n thus of little help during program comprehension and subsequent \r\n maintenance. In previous work, the structure and organization among \r\n classes were the predominant source of data used for the \r\n identification of occurrences of design patterns. Yet, the \r\n responsibility of each participating object at runtime should not be \r\n neglected, as two types of design patterns, behavioral and \r\n creational, are mainly concerned with the assignment of \r\n responsibilities and the collaborations among objects at runtime. \r\n This thesis proposes a metamodel and algorithms to identify \r\n automatically behavioral and creational design patterns in the source \r\n code. We use metamodelling to describe design patterns and software \r\n systems in Java{}, and dynamic analysis to capture the behavior of \r\n the systems at the moment of execution. The proposed metamodel allows \r\n the representation of collaborations among the participants that take \r\n part in the execution of a system (messages) and their properties \r\n (conditions under which a message is executed, repetition of a \r\n message). Using this metamodel, the problem of behavioral and \r\n creational pattern identification can be translated into an \r\n explanation-based constraint satisfaction problem. Solving such kind \r\n of problem leads to exact and approximate occurrences of a design \r\n pattern.}\r\n}\r\n\r\n","author_short":["Ng, J. K."],"key":"Ng08-MSc","id":"Ng08-MSc","bibbaseid":"ng-identificationofbehavioralandcreationaldesignpatternsthroughdynamicanalysis-2008","role":"author","urls":{"Paper":"http://www-etud.iro.umontreal.ca/~ptidej/yann-gael/Work/Publications/Documents/Thesis+of+Janice+Ka-Yee+Ng.doc.pdf"},"downloads":0},"search_terms":["identification","behavioral","creational","design","patterns","through","dynamic","analysis","ng"],"keywords":[],"authorIDs":[],"dataSources":["ascnA6qYXirdFSqqy"]}