DocumentCode
3188963
Title
Run-time discovery of Java design patterns
Author
Miao, Kang ; Yu, Xiao ; Jiang, Siyuan ; Zhao, Ji
Author_Institution
Shanghai Key Lab. of Trustworthy Comput., East China Normal Univ., Shanghai, China
fYear
2011
fDate
8-10 Aug. 2011
Firstpage
3329
Lastpage
3332
Abstract
Design patterns are widely used in design of software product in practice. To understand and discover the design patterns used in source code, we develop a run-time approach to explore the patterns from Java source code. To capture the inherent relations among patterns, we present a relational calculus to specify the patterns in a precise way. This calculus can capture the relations such as inheritance, creation, reference etc. among objects and classes. On the other hand, we use a dynamic way to construct the object diagram from source code. Thus, we transform the pattern discovery problem into the SAT one on the model we construct. With constraint solver (like SAT solver), we can decide whether the patterns regulated by the relational calculus exist in the given Java source code. The corresponding tool has been implemented and the preliminary experiments show that our approach is effective.
Keywords
Java; software engineering; Java design pattern; Java source code; SAT solver; constraint solver; object diagram; pattern discovery problem; relational calculus; run-time discovery; software product design; Analytical models; Calculus; Java; Production facilities; Software; Software engineering; Virtual machining; JAVA virtual machine; design pattern; property checking; relational calculus;
fLanguage
English
Publisher
ieee
Conference_Titel
Artificial Intelligence, Management Science and Electronic Commerce (AIMSEC), 2011 2nd International Conference on
Conference_Location
Deng Leng
Print_ISBN
978-1-4577-0535-9
Type
conf
DOI
10.1109/AIMSEC.2011.6011385
Filename
6011385
Link To Document