A REFACTORING ARCHITECTURE FOR MEASURING AND IDENTIFYING SPOTS OF DESIGN PATTERNS INSERTION IN SOURCE CODE
Categorias Artigo em Conferência
This work presents an architecture for detecting insertion spots of design patterns in an object-oriented source code. The proposed architecture contains a Service that implements Detection Methods (DMS) present in the literature such as identification of precursors, prolog rules and facts, among others. The DMS notifies the Metrics Service (MS) which patterns can be used. The evaluation of the application of the patterns undertaken by the MS is performed by means of quality metrics such as maintainability, flexibility, and so forth. The MS notifies the Client App (CA) of the advantages and disadvantages of using the eligible patterns. The CA interacts with the user to retrieve decisions about which changes to perform in source code according to the design pattern real benefit and notifies the Applier Service (AS), that applies the patterns in the source code. The difference between the proposed architecture and the literature is that it allows a thorough interaction with
the user and it creates an extendable environment to cover several pattern detection/insertion methods. The architecture allows automated support to users engaged in the refactoring process based on design patterns.
Artigo Completo. Publicado no 13th International Conference on Software Technologies (ICSOFT). 2018.
Link acessado 210 vezes
Projetos relacionados
ARQUITETURA INTEGRADA DE REFATORAÇÃO DE CÓDIGO-FONTE BASEADA EM PADRÕES DE PROJETO
Este projeto de pesquisa tem como finalidade propor uma arquitetura para detecção e inserção de pontos padrões de projeto e metapadrões em código-fonte orientado a objetos usando interação com o usuário, métricas de software, agentes e métodos da literatura capaz de identificar os possíveis padrões que podem ser usados.