Recommending automated extract method refactorings

@inproceedings{Silva2014RecommendingAE,
  title={Recommending automated extract method refactorings},
  author={Danilo Silva and Ricardo Terra and Marco Tulio Valente},
  booktitle={ICPC},
  year={2014}
}
Extract Method is a key refactoring for improving program comprehension. However, recent empirical research shows that refactoring tools designed to automate Extract Methods are often underused. To tackle this issue, we propose a novel approach to identify and rank Extract Method refactoring opportunities that are directly automated by IDE-based refactoring tools. Our approach aims to recommend new methods that hide structural dependencies that are rarely used by the remaining statements in the… CONTINUE READING

Similar Papers

Figures, Tables, Results, and Topics from this paper.

Key Quantitative Results

  • We also evaluated our approach in a sample of 81 extract method opportunities generated for JUnit and JHotDraw, achieving a precision of 48% (JUnit) and 38% (JHotDraw).None Extract Method is a key refactoring for improving program comprehension.
  • We also evaluated our approach in a sample of 81 extract method opportunities generated for JUnit and JHotDraw, achieving a precision of 48% (JUnit) and 38% (JHotDraw).
  • On the other hand, since we generate a massive number of recommendations, our overall precision for the whole system is less than 20%.

Explore Further: Topics Discussed in This Paper

Citations

Publications citing this paper.
SHOWING 1-10 OF 39 CITATIONS

A log-linear probabilistic model for prioritizing extract method refactorings

  • 2017 3rd IEEE International Conference on Computer and Communications (ICCC)
  • 2017
VIEW 15 EXCERPTS
CITES BACKGROUND & METHODS
HIGHLY INFLUENCED

[Journal First] The Scent of a Smell: An Extensive Comparison Between Textual and Structural Smells

  • 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE)
  • 2018
VIEW 5 EXCERPTS
CITES METHODS
HIGHLY INFLUENCED

A Lightweight Remodularization Process Based on Structural Similarity

  • 2016 X Brazilian Symposium on Software Components, Architectures and Reuse (SBCARS)
  • 2016
VIEW 4 EXCERPTS
CITES BACKGROUND
HIGHLY INFLUENCED

Do Design Metrics Capture Developers Perception of Quality? An Empirical Study on Self-Affirmed Refactoring Activities

Eman Abdullah AlOmar, Mohamed Wiem Mkaouer, Ali Ouni, Marouane Kessentini
  • ArXiv
  • 2019
VIEW 1 EXCERPT