[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Inferring design patterns using the ReP graph

By: Tushar Sharma, Dharanipragada Janakiram

Abstract

Periodic refactoring of a large source code often becomes a necessity especially for long-lived projects. In order to increase maintainability and extensibility of such projects, design pattern based refactoring can be seen as an emerging alternative. Manual inspection of source code to find candidate spots where patterns can be introduced is time consuming. Therefore automated tools can help in identifying candidate spots where patterns can be introduced. The level of source code abstraction plays an important role for building such tools. We propose a new abstraction for object oriented source code that is named as “Refactoring Pattern (ReP) Graph” to realize an effective design pattern based refactoring tool. The ReP graph abstracts the source code information thereby making the process of design pattern inference easier. The proposed tool identifies candidate spots in a given source code to introduce design patterns.

Keywords

Design pattern, Design pattern inference

Cite as:

Tushar Sharma, Dharanipragada Janakiram, “Inferring design patterns using the ReP graph”, Journal of Object Technology, Volume 9, no. 5 (September 2010), pp. 95-110, doi:10.5381/jot.2010.9.5.a5.

PDF | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact