Can undergraduates script their own refactorings?

  • Authors:
  • Jongwook Kim;Don Batory;Danny Dig

  • Affiliations:
  • University of Texas at Austin, Austin, USA;University of Texas at Austin, Austin, USA;Oregon State University, Corvallis, USA

  • Venue:
  • Proceedings of the 2013 ACM workshop on Workshop on refactoring tools
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a status report on a project to build a refactoring engine whose primary goal is to allow undergraduate students to write classical and neo-classical refactorings (pull-up, class partitioning) and design patterns (visitor, framework) as parameterized refactoring scripts in Java. We explain the first step of our work that creates a reflection-like interface to expose the structure of an Eclipse JDT application as Java objects; methods of these objects are refactorings. Doing so hides the complexity of JDT refactoring code and tools, so that refactoring scripts can be written as compact Java methods. We present preliminary performance results of scripting JDT refactorings and sketch the next steps of our work.