A Multiple Phases Approach for Design Patterns Recovery Based on Structural and Method Signature Features
Design patterns describe both structure, behavior of classes and their relationships. They can improve software documentation, speed up the development process and enable large-scale reuse of software architectures. This article presents a multiple levels detection approach (MLDA) to recover design...
Saved in:
Published in | International journal of software innovation Vol. 6; no. 3; pp. 36 - 52 |
---|---|
Main Authors | , , |
Format | Journal Article |
Language | English |
Published |
Mount Pleasant
IGI Global
01.07.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Design patterns describe both structure, behavior of classes and their relationships. They can improve software documentation, speed up the development process and enable large-scale reuse of software architectures. This article presents a multiple levels detection approach (MLDA) to recover design pattern instances from Java source code. MLDA is able to recover design pattern instances based on a generated class level representation of a subject system. Specifically, MLDA presents what is the so-called Structural Search Model (SSM) which incrementally builds the structure of each design pattern based on the generated source code model. Moreover, MLDA uses a rule-based approach to match the method signatures of the candidate design instances to that of the subject system. As the experiment results illustrate, MLDA is able to recover 23 design patterns with reasonable detection accuracy. |
---|---|
Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 14 |
ISSN: | 2166-7160 2166-7179 |
DOI: | 10.4018/IJSI.2018070103 |