SOCRATES : Sistema Orientado a objetos para CaRActerização de refaToraçõES / Object oriented system for characterization of refactorings

AUTOR(ES)
DATA DE PUBLICAÇÃO

2006

RESUMO

Refactoring is the activity of modifying a computer program s source code without changing its external behavior. In other words, it consists of changing a software system s structure without affecting its functionalities. The changes are done in order to let the code more understandable for humans that might work on it. In this sense, its goal is to lower maintenance costs. Nevertheless, this activity is complex and error prone since it is usually carried out manually and is dependent on the maintainer s abilities and on his/her obedience to coding standards. The points of the software where refactorings should be applied are called refactoring opportunities. Building automatic systems to detect refactoring opportunities requires the implementation of environments which include source code analyzers and the treatment of rules to detect related patterns and standards. This work introduces SOCRATES - Sistema Orientado a objetos para CaRacterização de refaToraçõES (Object Oriented System for Characterization of Refactorings) - its main purpose is to automatically detect points to be refactored in the software, i.e., refactoring opportunities. To achieve this objective, SOCRATES is built upon a lightweight architecture. This architecture is based on open source tools and requires few additional coding. The additional coding was done to make the tools work together so that refactoring opportunities searcher algorithms could effectively work. The present version of SOCRATES identifies the obsolete parameter refactoring opportunity and shows that the architecture fundamentals used are valid

ASSUNTO(S)

java (linguagem de programação de computador) inteligencia artificial design patterns artificial inteligence java (computer program language) padrões de projeto

Documentos Relacionados