Mining instances of structural design patterns from class diagrams based on sub-patterns

1Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

In order to improve the quality of a software system and reuse expert experience in software system design, design patterns have been extensively applied in the software industry. Mining design pattern instances from source codes can assist the understanding of the systems. In this paper, we propose eight sub-patterns based on common structural features of structural design patterns and their variants. We introduce two kinds of graph, of which one represents the system design and the other describes the sub-patterns. Our approach first selects the candidate classes in UML class diagrams to form the sub-graphs of the system graph, which are then checked isomorphic to the sub-pattern graph or not. These isomorphic sub-graphs are regarded as corresponding to instances of the sub-patterns. After that, we combine some relevant sub-patterns and compare the collectives with structural feature models. For these matched ones, we then apply behavioral analysis to obtain the final pattern instances. The results of the experiments demonstrate that our approach obtains better precision than the existing approaches. © 2013 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Yu, D., Liu, Z., & Ge, J. (2013). Mining instances of structural design patterns from class diagrams based on sub-patterns. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7925 LNCS, pp. 255–266). https://doi.org/10.1007/978-3-642-38977-1_17

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free