Recommending automated extract method refactorings
Ano de defesa: | 2014 |
---|---|
Autor(a) principal: | |
Orientador(a): | |
Banca de defesa: | |
Tipo de documento: | Dissertação |
Tipo de acesso: | Acesso aberto |
Idioma: | por |
Instituição de defesa: |
Universidade Federal de Minas Gerais
UFMG |
Programa de Pós-Graduação: |
Não Informado pela instituição
|
Departamento: |
Não Informado pela instituição
|
País: |
Não Informado pela instituição
|
Palavras-chave em Português: | |
Link de acesso: | http://hdl.handle.net/1843/ESBF-9P9MJ9 |
Resumo: | Extract Method is a key refactoring for improving program comprehension and maintainability. However, recent empirical research shows that the refactoring tools designed to automate this refactoring are often underused. To tackle this issue, we propose a novel approach to identify and rank Extract Method opportunities that are directly automated by IDE-based refactoring tools. JExtract, the tool we built to implement our approach, recommends the extraction of code fragments into new methods that encapsulate structural dependencies, based on the design principle of separation of concerns. Our evaluation shows that JExtract is more effective (w.r.t. recall and precision) than current state-of-the-art tools. |