dc.contributor | Piveta, Eduardo Kessler | |
dc.contributor | http://lattes.cnpq.br/8687196768910831 | |
dc.contributor | Fontoura, Lisandra Manzoni | |
dc.contributor | http://lattes.cnpq.br/8979575031016933 | |
dc.contributor | Pimenta, Marcelo Soares | |
dc.contributor | http://lattes.cnpq.br/2202679279260042 | |
dc.creator | Pauli, Guinther de Bitencourt | |
dc.date.accessioned | 2015-03-31 | |
dc.date.available | 2015-03-31 | |
dc.date.created | 2015-03-31 | |
dc.date.issued | 2014-08-27 | |
dc.identifier | PAULI, Guinther de Bitencourt. SEARCHING FOR REFACTORING OPPORTUNITIES TO APPLY DESIGN PATTERNS. 2014. 98 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Santa Maria, Santa Maria, 2014. | |
dc.identifier | http://repositorio.ufsm.br/handle/1/5443 | |
dc.description.abstract | It is difficult to maintain and to adapt poorly written code presenting shortcomings in its structure. Refactoring techniques are used to improve the source code and the structure of applications, making them better and easier to modify. Design patterns are reusable solutions used in similar problems in object-oriented systems, so there is no need to recreate the solutions. Applying design patterns in the context of refactoring in a corrective way becomes a desired activity in the life cycle of a specific software system. However, for medium and large-scale projects, the manual examination of artifacts to find problems and opportunities to apply a design pattern is a hard task. In this context, we present a set of metric-based heuristic functions to detect where a design pattern can be applied in a given project, more specifically, the Strategy, Factory Method, Template Method, Creation Method and Chain Constructors patterns. To evaluate the heuristic functions and its results we have also built a tool to show the results. This tool can examine source code traversing ASTs (Abstract Syntax Trees), searching for opportunities to apply the patterns, indicating the exact location in the source code where the pattern is suggested, also showing some evidences used in the detection. | |
dc.publisher | Universidade Federal de Santa Maria | |
dc.publisher | BR | |
dc.publisher | Ciência da Computação | |
dc.publisher | UFSM | |
dc.publisher | Programa de Pós-Graduação em Informática | |
dc.rights | Acesso Aberto | |
dc.subject | Padrões de projeto | |
dc.subject | Refatoração | |
dc.subject | Refatoração para padrões | |
dc.subject | Design patterns | |
dc.subject | Refactoring | |
dc.subject | Refactoring to patterns | |
dc.title | Busca por oportunidades de refatoração para aplicação de padrões de projeto | |
dc.type | Dissertação | |