RefactorHub: A Commit Annotator for Refactoring

Ryo Kuramoto, Motoshi Saeki, Shinpei Hayashi
3/22/2021
cs.SE

Official code: salab/RefactorHub (8 stars, Kotlin, MIT, last commit 2025-10-17).

Abstract

It is necessary to gather real refactoring instances while conducting empirical studies on refactoring. However, existing refactoring detection approaches are insufficient in terms of their accuracy and coverage.

Show full abstract

Reducing the manual effort of curating refactoring data is challenging in terms of obtaining various refactoring data accurately. This paper proposes a tool named RefactorHub, which supports users to manually annotate potential refactoring-related commits obtained from existing refactoring detection approaches to make their refactoring information more accurate and complete with rich details. In the proposed approach, the parameters of each refactoring operation are defined as a meaningful set of code elements in the versions before or after refactoring. RefactorHub provides interfaces and supporting features to annotate each parameter, such as the automated filling of dependent parameters, thereby avoiding wrong or uncertain selections. A preliminary user study showed that RefactorHub reduced annotation effort and improved the degree of agreement among users. Source code and demo video are available at https://github.com/salab/RefactorHub

View on arXivView PDF

Code Implementations(1)

salab/RefactorHubOfficial100%
MIT

A Commit Annotator for Refactoring

82Kotlin, VueSep 15, 20191 years agoMIT

Similar Papers

Cite this paper

@article{kuramoto2021refactorhub,
  title  = {RefactorHub: A Commit Annotator for Refactoring},
  author = {Ryo Kuramoto and Motoshi Saeki and Shinpei Hayashi},
  year   = {2021},
  eprint = {2103.11563},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.11563}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.11563.svg)](https://codeofpaper.com/paper/2103.11563)

Discussion