全部 标题 作者
关键词 摘要

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

查看量下载量

相关文章

更多...

Patterns Mining from Java Source Code

Keywords: Design Patterns , Pattern Mining , Program Comprehension , Reverse Engineering

Full-Text   Cite this paper   Add to My Lib

Abstract:

One of the most repeatable and time consuming tasks in the softwaredevelopment process is trying to analyze and understand the technicalimplementation and design of an existing program source code. Designpatterns encapsulate solutions to common object oriented design problems which make them an aid to understand different design decisions taken by software designers in existing software. This paper presents a new, fully automated patterns mining approach. The new approach is based on redescribing design patterns from a reverse engineering point of view. We claim that a design pattern description has a great impact on the accuracy of a design patterns mining tool. Our approach is capable of detecting a variety of design patterns’ implementations based on the proposed pattern description template. This paper also describes our tool, DPM, that implements the new pattern description template based on a model transformation approach. DPM is using graph matching and Constrain Satisfaction Problem (CSP) search algorithms to detect patterns’ instances. DPM has been tested against benchmark applications, including JUnit and Java AWT. Comparison to other existing pattern detection tools proven that DPM is capable of detecting more pattern instances with better accuracy.

Full-Text

comments powered by Disqus

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133