dc.contributorPiveta, Eduardo Kessler
dc.contributorhttp://lattes.cnpq.br/8687196768910831
dc.contributorFontoura, Lisandra Manzoni
dc.contributorhttp://lattes.cnpq.br/8979575031016933
dc.contributorPimenta, Marcelo Soares
dc.contributorhttp://lattes.cnpq.br/2202679279260042
dc.creatorPauli, Guinther de Bitencourt
dc.date.accessioned2015-03-31
dc.date.available2015-03-31
dc.date.created2015-03-31
dc.date.issued2014-08-27
dc.identifierPAULI, 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.identifierhttp://repositorio.ufsm.br/handle/1/5443
dc.description.abstractIt 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.publisherUniversidade Federal de Santa Maria
dc.publisherBR
dc.publisherCiência da Computação
dc.publisherUFSM
dc.publisherPrograma de Pós-Graduação em Informática
dc.rightsAcesso Aberto
dc.subjectPadrões de projeto
dc.subjectRefatoração
dc.subjectRefatoração para padrões
dc.subjectDesign patterns
dc.subjectRefactoring
dc.subjectRefactoring to patterns
dc.titleBusca por oportunidades de refatoração para aplicação de padrões de projeto
dc.typeDissertação


Este ítem pertenece a la siguiente institución