A Structure-Driven Process of Automated Refactoring to Design Patterns

Anna Derezińska


Design patterns can be introduced into an existing code by a code re-structuring. It is counted to one of goals of code refactoring. This paper presents a process that automates this kind of refactoring. The approach is based on a structural code analysis aimed at design pattern relevance. The process consists of three main phases: code analysis, determination of a refactoring range, and realization of code restructuring. The latter is a complex code2code transfor-mation, which comprises a series of code refactoring steps. A decision about a range of a design pattern application is taken by a user or can be automated. In both cases, it is supported by a software relevance metric. A framework for the whole process has been implemented as an extension of Eclipse. Code refactor-ing to exemplary design patterns can be performed in a prototype tool for Java programs.
Author Anna Derezińska II
Anna Derezińska,,
- The Institute of Computer Science
Publication size in sheets0.5
Book Świątek Jerzy, Borzemski Leszek, Wilimowska Zofia (eds.): Information Systems Architecture and Technology: Proceedings of 38th International Conference on Information Systems Architecture and Technology – ISAT 2017. Part II, Advances in Intelligent Systems and Computing, vol. 656, 2018, Springer International Publishing, ISBN 978-3-319-67228-1, [978-3-319-67229-8], 376 p., DOI:10.1007/978-3-319-67229-8
Keywords in EnglishCode Refactoring·Design Patterns·Eclipse
URL http://www.springer.com/gp/book/9783319672281?wt_mc=ThirdParty.SpringerLink.3.EPR653.About_eBook
projectDevelopment of new algorithms in the areas of software and computer architecture, artificial intelligence and information systems and computer graphics . Project leader: Arabas Jarosław, , Phone: +48 22 234 7432, start date 15-04-2016, end date 30-11-2017, II/2016/DS/1, Completed
WEiTI Działalność statutowa
Languageen angielski
ADerezDPRefa_ISAT2017_FN.pdf 405.05 KB
Score (nominal)0
Citation count*0
Share Share

Get link to the record

* presented citation count is obtained through Internet information analysis and it is close to the number calculated by the Publish or Perish system.