全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

Research on detecting and validating design pattern instances from source code
源代码中设计模式实例的抽取及验证方法研究

Keywords: design pattern,reverse engineering,multiplicity analysis,dynamic analysis
设计模式
,逆向工程,多重性分析,动态分析

Full-Text   Cite this paper   Add to My Lib

Abstract:

Identifying design patterns from source code is one of the most promising methods for improving software maintainability, reusing experience and facilitating software refactoring. This paper presented an approach that combined static and dynamic analysis on detecting design patterns from java source code and illustrated the static structural analysis phase of identifying pattern candidates. Especially, to improve the detecting precision, the approach executed multiplicity analysis of object creation to validate creational pattern candidates and dynamic analysis to validate behavior pattern candidates. After the validation of behavior candidates, the approach distinguished those instances belonged to patterns which had similar structures but different behaviors successfully. Finally, this paper implemented a tool of extracting design pattern from java source code and the experiment results of applying it on an open source software showed the feasibility and availability of the approach.

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133